This package has been deprecated
No longer maintained
websocket-promise1.0.1 • Public • Published
WebSocket-Promise is an extremely lightweight Promise wrapper for native HTML5 WebSockets written in JS. It provides an easy to use API on both the Browser and Server Side.
WebSocket-Promise internally uses Le-Emitter for the Browser-Sided event emitting part, You can replace it with an EventEmitter of your choice.
var WebSocketP =var Server = port: 8090Server
var Connection = "ws://localhost:8090"Connection
enum JobType = Broadcast Reply Requesttype Job =
This project is licensed under the terms of MIT License. See the License file for more info.