UNPKG

miniswap

Version:

Miniature Bitswap implementation, remote read only.

49 lines (48 loc) 1.47 kB
{ "name": "miniswap", "version": "4.0.1", "description": "Miniature Bitswap implementation, remote read only.", "main": "index.js", "type": "module", "scripts": { "test": "ava --verbose", "gen": "npm run gen:proto && npm run gen:proto-types", "gen:proto": "pbjs -t static-module -w es6 -r miniswap --force-number --no-verify --no-delimited --no-create --no-beautify --no-defaults --lint eslint-disable -o gen/message.js message.proto", "gen:proto-types": "pbts -o gen/message.d.ts gen/message.js" }, "keywords": [ "bitswap", "ipfs" ], "author": "Alan Shaw", "license": "Apache-2.0 OR MIT", "dependencies": { "@libp2p/interface": "^2.1.3", "it-length-prefixed": "^9.1.0", "it-pipe": "^3.0.1", "multiformats": "^13.3.0", "protobufjs": "^7.4.0", "streaming-iterables": "^8.0.1", "varint": "^6.0.0" }, "devDependencies": { "@chainsafe/libp2p-noise": "^16.0.0", "@chainsafe/libp2p-yamux": "^7.0.1", "@libp2p/websockets": "^9.0.8", "@multiformats/blake2": "^2.0.2", "@multiformats/multiaddr": "^12.1.2", "ava": "^6.1.3", "blockstore-core": "^5.0.2", "ipfs-bitswap": "^20.0.2", "libp2p": "^2.1.8" }, "types": "./index.d.ts", "repository": { "type": "git", "url": "git+https://github.com/alanshaw/miniswap.git" }, "bugs": { "url": "https://github.com/alanshaw/miniswap/issues" }, "homepage": "https://github.com/alanshaw/miniswap#readme" }