websocketstream-ponyfill
v0.1.3
Published
A ponyfill for the WebSocketStream interface and associated types.
Maintainers
Readme
WebSocketStream Ponyfill
An implementation of WebSocketStream
provided as a ponyfill.
import { WebSocketStream } from 'websocketstream-ponyfill';
const { readable, writable } = await new WebSocketStream('ws://localhost:8080').opened;
readable.pipeTo(writable); // Echoes received messagesLicense
MIT
