simple-websocket-server
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)
Last updated 10 years ago by daviddias .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install simple-websocket-server 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.1.4                                ...           latest (10 years ago)

3 Versions

  • 0.1.4                                ...           10 years ago
  • 0.1.3                                ...           10 years ago
  • 0.1.1                                ...           10 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
  • ws ^1.1.0
Dev Dependencies (5)
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |