Skip to content

A WebSocket transport library for node and browsers

License

Notifications You must be signed in to change notification settings

droplit/universal-ws

Repository files navigation

NPM NPM

node

universal-ws

An Isomorphic transport layer library for both node and browsers. Built on ws and native browser WebSocket implementations.

Features

In addition to standard websocket features, universal-ws provides:

  • Server-to-Client Heartbeat
  • Request-Response bidirectionally
  • Connection authentication

Getting started

This library is comprised of a client and server module:

Testing

run all tests

npm test

To run browser tests, install optional dependencies

Unit tests

npm run unit-test

System tests

npm run system-test

Browser tests

npm install nightwatch chromedriver -G
npm run browser-test

About

A WebSocket transport library for node and browsers

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published