web3-utils
!NPM Packagenpm-imagenpm-urlThis is a sub-package of web3.jsrepo.
This contains useful utility functions for Dapp developers.
Please read the documentationdocs for more.
Installation
You can install the package either using NPM or using YarnUsing NPM
npm install web3-utils
Using Yarn
yarn add web3-utils
Usage
const Web3Utils = require('web3-utils');
console.log(Web3Utils);
{
sha3: function(){},
soliditySha3: function(){},
isAddress: function(){},
...
}
Types
All the TypeScript typings are placed in thetypes
folder.