I’m curious what it would take to make y-websocket support the nodejs runtime environment.
Currently, when I try to create a new WebsocketProvider in node, it fails with “ReferenceError: window is not defined”, and indeed, it looks like there is a reference to window which makes it browser-only at the moment.
There appears to be an old version of y-websockets-client that supported node.
How difficult would it be to make y-websocket support it as well?