x/polkadot/x-ws/README.md
A cross-environment WebSocket.
Install it via yarn add @polkadot/x-ws
yarn add @polkadot/x-ws
import { WebSocket } from 'https://deno.land/x/polkadot@0.0.9/x-ws/mod.ts'; ... const ws = new WebSocket('wss://example.com');