New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ipfs-bitswap

Package Overview
Dependencies
Maintainers
2
Versions
115
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ipfs-bitswap

Node.js implementation of the Bitswap data exchange protocol used by IPFS

  • 0.4.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2.9K
decreased by-37.69%
Maintainers
2
Weekly downloads
 
Created
Source

ipfs-bitswap

Coverage Status Travis CI Circle CI Dependency Status js-standard-style

Node.js implementation of the Bitswap 'data exchange' protocol used by IPFS

Installation

npm

> npm i ipfs-bitswap

Use in Node.js

const bitswap = require('ipfs-bitswap')

Use in a browser with browserify, webpack or any other bundler

The code published to npm that gets loaded on require is in fact a ES5 transpiled version with the right shims added. This means that you can require it and use with your favourite bundler without having to adjust asset management process.

const bitswap = require('ipfs-bitswap')

Use in a browser using a script tag

Loading this module through a script tag will make the IpfsBitswap object available in the global namespace.

<script src="https://npmcdn.com/ipfs-bitswap/dist/index.min.js"></script>
<!-- OR -->
<script src="https://npmcdn.com/ipfs-bitswap/dist/index.js"></script>

For the documentation see API.md.

Keywords

FAQs

Package last updated on 06 Jun 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc