web3-utils

Collection of utility functions used in web3.js.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
web3-utils
1.9.015 hours ago7 years agoMinified + gzip package size for web3-utils in KB

Readme

web3-utils
!NPM Packagenpm-imagenpm-url
This 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 Yarn

Using 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 the types folder.