Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 1.28 KB

README.md

File metadata and controls

35 lines (24 loc) · 1.28 KB

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