@polkadot/x-ws
TypeScript icon, indicating that this package has built-in type declarations

13.2.3 • Public • Published

@polkadot/x-ws

A cross-environment WebSocket.

Install it via yarn add @polkadot/x-ws

import { WebSocket } from '@polkadot/x-ws';

...
const ws = new WebSocket('wss://example.com');

Readme

Keywords

none

Package Sidebar

Install

npm i @polkadot/x-ws

Weekly Downloads

78,154

Version

13.2.3

License

Apache-2.0

Unpacked Size

19.1 kB

Total Files

24

Last publish

Collaborators

  • polkadotjs
  • jacogr