JSPM

web3-utils

1.8.2-rc.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1335902
  • Score
    100M100P100Q188504F
  • License LGPL-3.0

Collection of utility functions used in web3.js.

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

NPM Package

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-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.