# won-web3-utils

> Collection of utility functions used in web3.js.

Latest version **1.0.1-beta.36** (published 2018-09-29) · LGPL-3.0 license · 0 weekly downloads

## Install

```sh
npm install won-web3-utils
pnpm add won-web3-utils
yarn add won-web3-utils
bun add won-web3-utils
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1-beta.36 |
| Published | 2018-09-29 |
| First published | 2018-09-29 |
| Weekly downloads | 0 |
| License | LGPL-3.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 7 |
| Unpacked size | 33.4 KB |
| Known vulnerabilities | 0 (+3 in 2 direct dependencies) |
| Install scripts | no |
| Maintainers | wonnpm |

## Links

- npm: https://www.npmjs.com/package/won-web3-utils
- Repository: https://github.com/worldopennetwork/web3.js/tree/master/packages/won-web3-utils
- npm.io page: https://npm.io/package/won-web3-utils

## Dependencies (7)

- [utf8](https://npm.io/package/utf8.md) 2.1.1
- [bn.js](https://npm.io/package/bn.js.md) 4.11.6
- [won-lib](https://npm.io/package/won-lib.md) 0.1.27
- [randomhex](https://npm.io/package/randomhex.md) 0.1.5
- [underscore](https://npm.io/package/underscore.md) 1.8.3
- [wonjs-unit](https://npm.io/package/wonjs-unit.md) 0.1.7
- [number-to-bn](https://npm.io/package/number-to-bn.md) 1.7.0

## Recent versions

- 1.0.1-beta.36 (latest) — 2018-09-29
- 1.0.0-beta.36 — 2018-09-29

## README

# won-web3-utils

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 won-web3-utils
```

### In the Browser

Build running the following in the [web3.js][repo] repository:

```bash
npm run-script build-all
```

Then include `dist/web3-utils.js` in your html file.
This will expose the `WonWeb3Utils` object on the window object.


## Usage

```js
// in node.js
var Web3Utils = require('Wonweb3-utils');
console.log(Web3Utils);
{
    sha3: function(){},
    soliditySha3: function(){},
    isAddress: function(){},
    ...
}
```

---
_Source: https://npm.io/package/won-web3-utils · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
