Skip to content

WebSockets server that mimics the Node.js `net` module API, yielding duplex streams instead of the 'onmessage/send' WebSockets API. Compatible with simple-websocket (https://github.com/feross/simple-websocket)

License

Notifications You must be signed in to change notification settings

daviddias/simple-websocket-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simple-websocket-server

Build Status Dependency Status js-standard-style

WebSockets server that mimics the Node.js net module API, yielding duplex streams instead of the 'onmessage/send' WebSockets API. Compatible with simple-websocket (https://github.com/feross/simple-websocket)

features

  • goes really well with simple-websocket
  • supports text and binary data
  • node.js duplex stream interface

Usage

Install

> npm install simple-websocket-server

Usage Example

API

About

WebSockets server that mimics the Node.js `net` module API, yielding duplex streams instead of the 'onmessage/send' WebSockets API. Compatible with simple-websocket (https://github.com/feross/simple-websocket)

Resources

License

Stars

Watchers

Forks

Packages

No packages published