1.0.4 • Published 1 year ago
universal-ws-client v1.0.4
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';