Package Exports
- miniswap
- miniswap/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (miniswap) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Miniswap
Miniature Bitswap implementation, remote read only.
Install
npm install miniswap
Usage
import { Miniswap, BITSWAP_PROTOCOL } from 'miniswap'
const miniswap = new Miniswap(blockstore)
libp2p.handle(BITSWAP_PROTOCOL, miniswap.handler)
Contributing
Feel free to join in. All welcome. Open an issue!
License
Dual-licensed under MIT + Apache 2.0