Package Exports
- web3-utils
- web3-utils/lib/index.js
- web3-utils/lib/utils
- web3-utils/lib/utils.js
- web3-utils/src
- web3-utils/src/index.js
- web3-utils/src/soliditySha3
- web3-utils/src/soliditySha3.js
- web3-utils/src/utils
- web3-utils/src/utils.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 (web3-utils) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
web3-utils
This is a sub-package of web3.js.
This contains useful utility functions for Dapp developers.
Please read the documentation for more.
Installation
You can install the package either using NPM or using Yarn
Using NPM
npm install web3-utilsUsing Yarn
yarn add web3-utilsUsage
const Web3Utils = require('web3-utils');
console.log(Web3Utils);
{
sha3: function(){},
soliditySha3: function(){},
isAddress: function(){},
...
}Types
All the TypeScript typings are placed in the types folder.