promise-ws
JSON →A promise-based WebSocket implementation for Node.js, version 1.0.0-1. Built on top of the popular ws library, it provides promise-returning methods for common WebSocket operations such as send, ping, and pong, as well as factory methods for creating client and server instances. This package offers a cleaner async/await style compared to ws, which uses callbacks and events. It is maintained as a thin wrapper, inheriting the full ws API while adding promise support. Equivalent to using ws with promisify or wrapping manually, but integrated directly.
Traffic · last 30 days stale · no recent hits
total hits 8
actors 1 distinct systems
last hit 22d ago human
top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇪🇸 Spain · 🇬🇧 United Kingdom
Resources
packagepromise-ws ↗