browser-websocket
JSON →browser-websocket is a small wrapper around the native WebSocket API designed to simplify websocket usage in browser and Node.js environments. Version 2.2.0 is the latest stable release, but the package appears dormant with no recent updates. It provides an EventEmitter-like interface (on/emit) for handling WebSocket events, making it similar to socket.io but without the complex protocols. The package aims to offer a drop-in solution for browser websocket communication with a simple API. However, it lacks TypeScript types and has known event-handling pitfalls.
Resources
packagebrowser-websocket ↗
API endpoints
full doc /v1/registry/browser-websocket