node-datachannel

v0.9.2
libdatachannel node bindings
libdatachannel webrtc p2p peer-to-peer datachannel data channel websocket

lint

eslint lib/**/* test/**/*

test

NODE_OPTIONS=--experimental-vm-modules jest

build

cmake-js build

clean

cmake-js clean

install

prebuild-install -r napi || (npm install --ignore-scripts --production=false && npm run _prebuild)

wpt-test

node test/wpt.js

_prebuild

prebuild -r napi --backend cmake-js

test-types

tsc

build:debug

cmake-js build -D

install-nice

npm run clean && npm install --ignore-scripts --production=false && cmake-js build --CDUSE_NICE=1

prepublishOnly

cp lib/index.d.ts lib/index.d.cts && cp polyfill/index.d.ts polyfill/index.d.cts && rollup lib/index.js --file lib/index.cjs --format cjs && rollup polyfill/index.js --file polyfill/index.cjs --format cjs

install-gnu-tls

npm run clean && npm install --ignore-scripts --production=false && cmake-js build --CDUSE_GNUTLS=1

Metadata

  • MPL 2.0
  • >=16.0.0
  • Unknown
  • released 6/22/2024

Downloads

Maintainers