{"library":"websocket-as-promised","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"3.0.1","tags":["javascript","websocket","websockets","ws","promise","promise-api","promises","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install websocket-as-promised","imports":["import WebSocketAsPromised from 'websocket-as-promised'","import WebSocketAsPromised from 'websocket-as-promised'","import WebSocketAsPromised from 'websocket-as-promised'"]},{"cmd":"yarn add websocket-as-promised","imports":[]},{"cmd":"pnpm add websocket-as-promised","imports":[]}],"homepage":"https://github.com/vitalets/websocket-as-promised#readme","github":"git://github.com/vitalets/websocket-as-promised","docs":null,"changelog":null,"pypi":null,"npm":"websocket-as-promised","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}