# @polkadot/x-ws

A cross-environment WebSocket.

Install it via `yarn add @polkadot/x-ws`

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

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