websocket-as-promised
JSON →A WebSocket client library providing a Promise-based API for connecting, disconnecting, and messaging with servers. Version 3.0.1 is the latest stable release. It supports both browser and Node.js environments with ESM and CommonJS modules. Key differentiators include built-in TypeScript types, support for raw, JSON, and binary data, and a request/response pattern. The library is actively maintained and requires a global Promise constructor or polyfill for older environments.
Resources
packagewebsocket-as-promised ↗
API endpoints
full doc /v1/registry/websocket-as-promised