/unws

Unified WebSocket API for Node.js, Bun and modern browsers.

Primary LanguageJavaScriptMIT LicenseMIT

unws npm

Unit Test

Unified WebSocket API for Node.js, Bun and modern browsers.

Install

npm i unws

Usage

import { WebSocket } from 'unws'

const ws = new WebSocket('ws://localhost:8080')

Sponsors

License

MIT License © 2023 三咲智子