JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1051
  • Score
    100M100P100Q90400F
  • License Apache-2.0 OR MIT

Miniature Bitswap implementation, remote read only.

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

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