For the moment I have found one can "hack" it using something like:
const Storage = require("dom-storage");
global.WebSocket = require("uws");
global.window = global;
global.localStorage = new Storage(null, { strict: true });
But it has many problems, like populating the global namespace.
If this is still not good enough, one may prefer to create colyseus.js/server and use that inside node. I don't believe it should be required a new package to make a node integration, mostly because a lot of the code should be the same.