Trying out colyseus schema. Specifically for colyseus/schema#115
npm install
npm start
Try changing private doDecode = true;
to true or false and change which of the tests you want to run.
server.arrayTest();
// server.filterTest();
// server.mapTest();
Note that depending on the value of doDecode
the results are different meaning that the colyseus schema state isn't recreated faithfully after serialization/deserialization.