|
|
hace 2 años | |
|---|---|---|
| .. | ||
| lib | hace 2 años | |
| src | hace 2 años | |
| LICENSE | hace 2 años | |
| README.md | hace 2 años | |
| package.json | hace 2 años | |
This is a sub-package of web3.js.
web3-utils This contains useful utility functions for Dapp developers.
You can install the package either using NPM or using Yarn
npm install web3-utils
yarn add web3-utils
const Web3Utils = require('web3-utils');
console.log(Web3Utils);
{
sha3: function(){},
soliditySha3: function(){},
isAddress: function(){},
...
}
| Script | Description |
|---|---|
| clean | Uses rimraf to remove dist/ |
| build | Uses tsc to build package and dependent packages |
| lint | Uses eslint to lint package |
| lint:fix | Uses eslint to check and fix any warnings |
| format | Uses prettier to format the code |
| test | Uses jest to run unit tests |
| test:integration | Uses jest to run tests under /test/integration |
| test:unit | Uses jest to run tests under /test/unit |