webtorrent

v1.9.3
Streaming torrent client
bittorrent bittorrent client download mad science p2p peer-to-peer peers streaming swarm and 6 more...

size

npm run size-js && npm run size-disc

test

standard && npm run test-node && npm run test-browser

build

npm run build-js && npm run build-js-worker && npm run build-chromeapp

size-js

npm run build && cat webtorrent.min.js | gzip | wc -c

build-js

browserify --standalone WebTorrent . | minify --mangle=false > webtorrent.min.js

size-disc

browserify --full-paths . | discify --open

test-node

tape test/*.js test/node/*.js

preversion

npm run build && npm run update-authors

test-browser

airtap --concurrency 1 -- test/*.js test/browser/*.js

build-js-debug

browserify --standalone WebTorrent . > webtorrent.debug.js

prepublishOnly

npm run build && npm run update-authors

update-authors

./scripts/update-authors.sh

build-chromeapp

browserify --browser-field=chromeapp --standalone WebTorrent . | minify --mangle=false > webtorrent.chromeapp.js

build-js-worker

browserify ./lib/worker.js | minify --mangle=false > sw.min.js

test-browser-local

airtap --preset local -- test/*.js test/browser/*.js

build-chromeapp-debug

browserify --browser-field=chromeapp --standalone WebTorrent . > webtorrent.chromeapp.js

build-js-worker-debug

browserify ./lib/worker.js > sw.debug.js

Metadata

  • MIT
  • >=14
  • WebTorrent LLC
  • released 11/18/2022

Downloads