Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 773 Bytes

README.md

File metadata and controls

30 lines (18 loc) · 773 Bytes

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