miniswap
TypeScript icon, indicating that this package has built-in type declarations

3.0.0 • Public • Published

Miniswap

Build JavaScript Style Guide

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

Readme

Keywords

Package Sidebar

Install

npm i miniswap

Weekly Downloads

11

Version

3.0.0

License

Apache-2.0 OR MIT

Unpacked Size

83.1 kB

Total Files

13

Last publish

Collaborators

  • alanshaw