simple-websocket [![travis][travis-image]][travis-url] [![npm][npm-image]][npm-url] [![downloads][downloads-image]][downloads-url] [![javascript style guide][standard-image]][standard-url]
[travis-image]: https://img.shields.io/travis/feross/simple-websocket/master.svg
[travis-url]: https://travis-ci.org/feross/simple-websocket
[npm-image]: https://img.shields.io/npm/v/simple-websocket.svg
[npm-url]: https://npmjs.org/package/simple-websocket
[downloads-image]: https://img.shields.io/npm/dm/simple-websocket.svg
[downloads-url]: https://npmjs.org/package/simple-websocket
[standard-image]: https://img.shields.io/badge/code_style-standard-brightgreen.svg
[standard-url]: https://standardjs.com
#### Simple, EventEmitter API for WebSockets

features
-
super simple API for working with WebSockets in the browser
- supports
text and binary data
- node.js
duplex stream interface
- client & server implementations
This package is used by
WebTorrent.
install
``
npm install simple-websocket
`
This package works in the browser with browserify. If
you do not use a bundler, you can use the simplewebsocket.min.js
standalone script
directly in a