npm.io
1.1.5 • Published 1 year ago

@hazae41/smux

Licence
MIT
Version
1.1.5
Deps
4
Size
77 kB
Vulns
0
Weekly
0

SMUX

Zero-copy SMUX protocol for the web

npm i @hazae41/smux

Node Package

Features

Current features

  • 100% TypeScript and ESM
  • Zero-copy reading and writing
  • Works in the browser
Upcoming features
  • Multiplexing

Usage

import { SmuxDuplex } from "@hazae41/smux"

const smux = new SmuxDuplex({ streamID: 3 })

Keywords