Socket
Socket
Sign inDemoInstall

web3-utils

Package Overview
Dependencies
Maintainers
1
Versions
453
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

web3-utils - npm Package Compare versions

Comparing version 0.0.1 to 1.0.0-beta.8

src/bloomFilter.js

45

package.json
{
"name": "web3-utils",
"version": "0.0.1",
"description": "Utilities for happier web3.js experience",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/uzyn/web3-utils.git"
},
"keywords": [
"web3",
"web3.js",
"web3js",
"ethereum",
"eth",
"etc",
"ether",
"dapp",
"decentralized",
"app",
"decentralization"
],
"author": "U-Zyn Chua <chua@uzyn.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/uzyn/web3-utils/issues"
},
"homepage": "https://github.com/uzyn/web3-utils#readme"
"name": "web3-utils",
"version": "1.0.0-beta.8",
"description": "Collection of utility functions used in web3.js.",
"repository": "https://github.com/ethereum/web3.js/tree/master/packages/web3-utils",
"license": "LGPL-3.0",
"main": "src/index.js",
"dependencies": {
"bn.js": "4.11.6",
"eth-lib": "0.1.23",
"ethjs-unit": "0.1.6",
"number-to-bn": "1.7.0",
"randomhex": "0.1.5",
"underscore": "1.8.3",
"utf8": "2.1.1"
}
}
# web3-utils
Additional utilities for happier Ethereum web3.js experience [WIP]
This is a sub package of [web3.js][repo]
This contains useful utility functions for Dapp developers.
Please read the [documentation][docs] for more.
## Installation
### Node.js
```bash
npm install web3-utils
```
### In the Browser
Build using the [web3.js][repo] repository and include `dist/web3-utils.js` in your html file.
This will expose the `Web3Utils` object on the window object.
## Usage
```js
// in node.js
var Web3Utils = require('web3-utils');
console.log(Web3Utils);
{
sha3: function(){},
soliditySha3: function(){},
isAddress: function(){},
...
}
```
[docs]: http://web3js.readthedocs.io/en/1.0/
[repo]: https://github.com/ethereum/web3.js
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc