web3-bzz
This is a sub-package of web3.js.
This is the swarm package.
Please read the documentation for more.
Installation
You can install the package either using NPM or using Yarn
Using NPM
npm install web3-bzz
Using Yarn
yarn add web3-bzz
Usage
const Web3Bzz = require('web3-bzz');
const bzz = new Web3Bzz('http://swarm-gateways.net');
Types
All the TypeScript typings are placed in the types
folder.