UNPKG

@libp2p/mplex

Version:

JavaScript implementation of https://github.com/libp2p/mplex

82 lines (81 loc) 2.2 kB
{ "name": "@libp2p/mplex", "version": "12.0.26", "description": "JavaScript implementation of https://github.com/libp2p/mplex", "license": "Apache-2.0 OR MIT", "homepage": "https://github.com/libp2p/js-libp2p/tree/main/packages/stream-multiplexer-mplex#readme", "repository": { "type": "git", "url": "git+https://github.com/libp2p/js-libp2p.git" }, "bugs": { "url": "https://github.com/libp2p/js-libp2p/issues" }, "publishConfig": { "access": "public", "provenance": true }, "keywords": [ "IPFS", "connection", "duplex", "libp2p", "mplex", "multiplex", "muxer", "stream" ], "type": "module", "types": "./dist/src/index.d.ts", "files": [ "src", "dist", "!dist/test", "!**/*.tsbuildinfo" ], "exports": { ".": { "types": "./dist/src/index.d.ts", "import": "./dist/src/index.js", "module-sync": "./dist/src/index.js" } }, "scripts": { "clean": "aegir clean", "lint": "aegir lint", "dep-check": "aegir dep-check", "doc-check": "aegir doc-check", "build": "aegir build", "benchmark": "node ./node_modules/.bin/benchmark benchmark/send-and-receive.js", "test": "aegir test", "test:chrome": "aegir test -t browser --cov", "test:chrome-webworker": "aegir test -t webworker", "test:firefox": "aegir test -t browser -- --browser firefox", "test:firefox-webworker": "aegir test -t webworker -- --browser firefox", "test:node": "aegir test -t node --cov", "test:electron-main": "aegir test -t electron-main" }, "dependencies": { "@libp2p/interface": "^3.2.5", "@libp2p/utils": "^7.2.4", "it-pushable": "^3.2.3", "uint8-varint": "^3.0.0", "uint8arraylist": "^3.0.2", "uint8arrays": "^6.1.1" }, "devDependencies": { "@libp2p/interface-compliance-tests": "^7.0.26", "@libp2p/logger": "^6.2.10", "aegir": "^48.1.1", "benchmark": "^2.1.4", "it-all": "^3.0.9", "it-drain": "^3.0.10", "it-foreach": "^2.1.4", "it-pair": "^2.0.6", "it-pipe": "^3.0.1", "it-stream-types": "^2.0.2", "p-event": "^7.0.0", "random-int": "^3.0.0" }, "sideEffects": false }