# @juicemx/web3-net

> Web3 module to interact with the juice nodes networking properties.

Latest version **3.3.0** (published 2021-09-28) · LGPL-3.0 license · 0 weekly downloads

## Install

```sh
npm install @juicemx/web3-net
pnpm add @juicemx/web3-net
yarn add @juicemx/web3-net
bun add @juicemx/web3-net
```

## Health

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

Positive: has types; no vulnerabilities; popular repo.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 3.3.0 |
| Published | 2021-09-28 |
| First published | 2021-08-31 |
| Weekly downloads | 0 |
| License | LGPL-3.0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=8.0.0 |
| Dependencies | 3 |
| Unpacked size | 6.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 19907 |
| Maintainers | juicemx |

## Links

- npm: https://www.npmjs.com/package/@juicemx/web3-net
- Repository: https://github.com/ethereum/web3.js/tree/1.x/packages/web3-net
- npm.io page: https://npm.io/package/@juicemx/web3-net

## Dependencies (3)

- [@juicemx/web3-core](https://npm.io/package/@juicemx/web3-core.md) 3.3.0
- [@juicemx/web3-utils](https://npm.io/package/@juicemx/web3-utils.md) 3.3.0
- [@juicemx/web3-core-method](https://npm.io/package/@juicemx/web3-core-method.md) 3.3.0

## Recent versions

- 3.3.0 (latest) — 2021-09-28
- 3.1.1 — 2021-08-31

## README

# web3-net

This is a sub package of [web3.js][repo]

This is the net package to be used in other web3.js packages.
Please read the [documentation][docs] for more.

## Installation

### Node.js

```bash
npm install web3-net
```

### In the Browser

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

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

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

## Usage

```js
// in node.js
var Web3Net = require('web3-net');

var net = new Web3Net('ws://localhost:8546');
```

## Types

All the typescript typings are placed in the types folder.

[docs]: http://web3js.readthedocs.io/en/1.0/
[repo]: https://github.com/ethereum/web3.js

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