Monday 20 November 2017

Lightweight WebSocket wrapper library with socket.io-like event handling, requests, and channels

Are you considering moving to native WebSockets? They work on all modern browsers, after all!This library might be useful if you want some socket.io functionality (i.e. event handling, namespaces, etc.), but you don't want all of the engine.io transports and lots of extra code in your project. This library just wraps a native WebSocket and handles some basic stuff for you: like message passing, event handler stuff, etc.When using this library in conjunction with a library like ws, your real-time web application can be pretty darn lightweight without giving up the nice bare-bones functionality you might find in Socket.io.Check it out! I'd love some feedback. Is it useful? Lame?

Submitted November 20, 2017 at 10:21PM by compwiz737

No comments:

Post a Comment