UNPKG

@libp2p/floodsub

Version:

libp2p-floodsub, also known as pubsub-flood or just dumbsub, this implementation of pubsub focused on delivering an API for Publish/Subscribe, but with no CastTree Forming (it just floods the network).

84 lines (83 loc) 2.41 kB
{ "name": "@libp2p/floodsub", "version": "11.0.21", "description": "libp2p-floodsub, also known as pubsub-flood or just dumbsub, this implementation of pubsub focused on delivering an API for Publish/Subscribe, but with no CastTree Forming (it just floods the network).", "license": "Apache-2.0 OR MIT", "homepage": "https://github.com/libp2p/js-libp2p/tree/main/packages/floodsub#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", "flood", "flooding", "gossip", "libp2p", "pubsub" ], "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", "generate": "protons ./src/message/rpc.proto", "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/crypto": "^5.1.18", "@libp2p/interface": "^3.2.2", "@libp2p/interface-internal": "^3.1.5", "@libp2p/peer-collections": "^7.0.20", "@libp2p/peer-id": "^6.0.9", "@libp2p/utils": "^7.2.1", "it-length-prefixed": "^10.0.1", "main-event": "^1.0.1", "multiformats": "^13.4.1", "p-queue": "^9.0.0", "protons-runtime": "^6.0.1", "uint8arraylist": "^2.4.8", "uint8arrays": "^5.1.0" }, "devDependencies": { "@libp2p/logger": "^6.2.7", "@multiformats/multiaddr": "^13.0.1", "@types/sinon": "^21.0.1", "aegir": "^47.0.22", "delay": "^7.0.0", "p-wait-for": "^6.0.0", "protons": "^8.1.1", "sinon": "^21.0.0", "sinon-ts": "^2.0.0" }, "sideEffects": false }