# platon-web3-core

> Web3 core tools for sub packages. This is an internal package.

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

## Install

```sh
npm install platon-web3-core
pnpm add platon-web3-core
yarn add platon-web3-core
bun add platon-web3-core
```

## 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 | 1.2.4 |
| Published | 2021-12-28 |
| First published | 2021-12-28 |
| Weekly downloads | 0 |
| License | LGPL-3.0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=8.0.0 |
| Dependencies | 6 |
| Unpacked size | 17.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 19908 |
| Maintainers | rileyge |

## Links

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

## Dependencies (6)

- [@types/node](https://npm.io/package/@types/node.md) ^12.6.1
- [@types/bn.js](https://npm.io/package/@types/bn.js.md) ^4.11.4
- [platon-web3-utils](https://npm.io/package/platon-web3-utils.md) 1.2.5
- [platon-web3-core-method](https://npm.io/package/platon-web3-core-method.md) 1.2.4
- [platon-web3-core-helpers](https://npm.io/package/platon-web3-core-helpers.md) 1.2.4
- [platon-web3-core-requestmanager](https://npm.io/package/platon-web3-core-requestmanager.md) 1.2.4

## Recent versions

- 1.2.4 (latest) — 2021-12-28
- 1.2.7-beta.1 (beta) — 2021-12-29
- 1.2.7-beta.0 — 2021-12-29

## README

# web3-core

This is a sub package of [web3.js][repo]

The core package contains core functions for [web3.js][repo] packages.
Please read the [documentation][docs] for more.

## Installation

### Node.js

```bash
npm install web3-core
```

## Usage

```js
// in node.js
var core = require('web3-core');

var CoolLib = function CoolLib() {

    // sets _requestmanager and adds basic functions
    core.packageInit(this, arguments);

};


CoolLib.providers;
CoolLib.givenProvider;
CoolLib.setProvider();
CoolLib.BatchRequest();
CoolLib.extend();
...
```

[docs]: http://web3js.readthedocs.io/en/1.0/
[repo]: https://github.com/ethereum/web3.js

## 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/platon-web3-core · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
