1.0.4 • Published 2 years ago

universal-ws-client v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Uses the native WebSocket client code in a browser and the ws package client on Node.js, enabling isomorphic applications to use WebSockets. Keeps your browser build slim, by not including any of the Node WebSocket implementation.

Installation

npm install --save universal-ws-client

Usage

import WebSocket from 'universal-ws-client';
1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago