4.0.0-alpha.1 • Published 2 years ago

@jamo/web3-utils v4.0.0-alpha.1

Weekly downloads
-
License
LGPL-3.0
Repository
github
Last release
2 years ago

web3-utils

ES Version Node Version NPM Package Dependency Status Dev Dependency Status

This is a sub-package of web3.js.

web3-utils This contains useful utility functions for Dapp developers.

Get it from the NPM Registry
yarn add web3-utils

Usage

const Web3Utils = require('web3-utils');
console.log(Web3Utils);
{
    sha3: function(){},
    soliditySha3: function(){},
    isAddress: function(){},
    ...
}

Getting Started

Prerequisites

Package.json Scripts

ScriptDescription
cleanUses rimraf to remove dist/
buildUses tsc to build package and dependent packages
lintUses eslint to lint package
lint:fixUses eslint to check and fix any warnings
formatUses prettier to format the code
testUses jest to run unit tests
test:integrationUses jest to run tests under /test/integration
test:unitUses jest to run tests under /test/unit