UNPKG

webtorrent

Version:

Streaming torrent client

189 lines (188 loc) 5.49 kB
{ "name": "webtorrent", "description": "Streaming torrent client", "version": "2.8.5", "author": { "name": "WebTorrent LLC", "email": "feross@webtorrent.io", "url": "https://webtorrent.io" }, "type": "module", "browser": { "./lib/conn-pool.js": false, "./lib/utp.cjs": false, "@silentbot1/nat-api": false, "bittorrent-dht": false, "crypto": false, "fs": false, "fs-chunk-store": "fsa-chunk-store", "http": false, "load-ip-set": false, "net": false, "os": false, "ut_pex": false }, "bugs": { "url": "https://github.com/webtorrent/webtorrent/issues" }, "chromeapp": { "./lib/utp.cjs": false, "@silentbot1/nat-api": false, "fs": false, "fs-chunk-store": "memory-chunk-store", "http": "@webtorrent/http-node", "https": "@webtorrent/http-node", "load-ip-set": false, "net": "chrome-net", "os": false }, "dependencies": { "@silentbot1/nat-api": "^0.4.9", "@thaunknown/simple-peer": "^10.0.11", "@webtorrent/http-node": "^1.3.0", "addr-to-ip-port": "^2.0.0", "bitfield": "^4.2.0", "bittorrent-dht": "^11.0.10", "bittorrent-protocol": "^4.1.20", "cache-chunk-store": "^3.2.2", "chunk-store-iterator": "^1.0.4", "cpus": "^1.0.3", "create-torrent": "^6.1.0", "cross-fetch-ponyfill": "^1.0.3", "debug": "^4.4.1", "escape-html": "^1.0.3", "fs-chunk-store": "^5.0.0", "fsa-chunk-store": "^1.3.0", "immediate-chunk-store": "^2.2.0", "join-async-iterator": "^1.1.1", "load-ip-set": "^3.0.1", "lt_donthave": "^2.0.5", "memory-chunk-store": "^1.3.5", "mime": "^3.0.0", "once": "^1.4.0", "parse-torrent": "^11.0.18", "pump": "^3.0.2", "queue-microtask": "^1.2.3", "random-iterate": "^1.0.1", "range-parser": "^1.2.1", "run-parallel": "^1.2.0", "run-parallel-limit": "^1.1.0", "speed-limiter": "^1.0.2", "streamx": "2.22.1", "throughput": "^1.0.2", "torrent-discovery": "^11.0.17", "torrent-piece": "^3.0.2", "uint8-util": "^2.2.5", "unordered-array-remove": "^1.0.2", "ut_metadata": "^4.0.3", "ut_pex": "^4.0.4" }, "devDependencies": { "@babel/core": "7.28.0", "@babel/eslint-parser": "^7.28.0", "@babel/plugin-syntax-import-assertions": "7.27.1", "@babel/preset-env": "7.28.0", "@webtorrent/semantic-release-config": "1.0.10", "airtap": "4.0.4", "airtap-manual": "1.0.0", "airtap-sauce": "1.1.2", "airtap-system": "^0.1.0", "babelify": "10.0.0", "bittorrent-tracker": "11.2.1", "buffer": "^6.0.3", "chrome-net": "^3.3.4", "crypto-browserify": "^3.12.1", "disc": "1.3.3", "eslint": "^8.57.1", "eslint-config-standard": "^17.1.0", "eslint-plugin-import": "^2.31.0", "eslint-plugin-n": "^16.6.2", "eslint-plugin-promise": "^6.6.0", "finalhandler": "2.1.0", "network-address": "1.1.2", "pako": "^2.1.0", "path-esm": "^1.0.0", "querystring": "^0.2.1", "run-series": "1.1.9", "semantic-release": "22.0.12", "serve-static": "2.2.0", "stream-browserify": "^3.0.0", "tap-parser": "^16.0.1", "tap-spec": "^5.0.0", "tape": "^5.9.0", "terser-webpack-plugin": "^5.3.14", "timers-browserify": "^2.0.12", "webpack": "^5.99.5", "webpack-cli": "^6.0.1", "webtorrent-fixtures": "1.7.5" }, "optionalDependencies": { "utp-native": "^2.5.3" }, "engines": { "node": ">=16" }, "funding": [ { "type": "github", "url": "https://github.com/sponsors/feross" }, { "type": "patreon", "url": "https://www.patreon.com/feross" }, { "type": "consulting", "url": "https://feross.org/support" } ], "homepage": "https://webtorrent.io", "keywords": [ "bittorrent", "bittorrent client", "download", "mad science", "p2p", "peer-to-peer", "peers", "streaming", "swarm", "torrent", "web torrent", "webrtc", "webrtc data", "webtorrent" ], "license": "MIT", "main": "index.js", "repository": { "type": "git", "url": "git://github.com/webtorrent/webtorrent.git" }, "scripts": { "build": "npm run build-js && npm run build-js-worker && npm run build-chromeapp", "build-chromeapp": "webpack --config ./scripts/chromeapp.webpack.js", "build-js": "webpack --config ./scripts/browser.webpack.js", "build-js-worker": "webpack --config ./scripts/worker.webpack.js", "prepublishOnly": "npm run build && npm run update-authors", "preversion": "npm run build && npm run update-authors", "size": "npm run size-js && npm run size-disc", "size-disc": "npm run build-js && cat ./dist/webtorrent.min.js | discify --open", "size-js": "npm run build-js && cat ./dist/webtorrent.min.js | gzip | wc -c", "test": "eslint . && npm run test-node && npm run test-browser", "test-browser": "airtap --concurrency 1 --all -- test/*.js test/browser/*.js | tap-spec", "test-browser-local": "airtap --preset local -- test/*.js test/browser/*.js | tap-spec", "test-node": "tape test/*.js test/node/*.js | tap-spec", "test-single": "tape test/node/client-deselect.js | tap-spec", "update-authors": "./scripts/update-authors.sh" }, "renovate": { "extends": [ "github>webtorrent/renovate-config" ], "rangeStrategy": "bump" }, "release": { "extends": "@webtorrent/semantic-release-config" } }