pec-core
v1.0.5
Published
Web3 core tools for sub-packages. This is an internal package.
Downloads
1
Readme
pec-core
[![NPM Package][npm-image]][npm-url] [![Dependency Status][deps-image]][deps-url] [![Dev Dependency Status][deps-dev-image]][deps-dev-url]
This is a sub-package of [pec.js][repo].
The core package contains core functions for [pec.js][repo] packages.
Please read the [documentation][docs] for more.
Installation
Node.js
npm install pec-core
Usage
const core = require('pec-core');
const CoolLib = function CoolLib() {
// sets _requestmanager and adds basic functions
core.packageInit(this, arguments);
};
CoolLib.providers;
CoolLib.givenProvider;
CoolLib.setProvider();
CoolLib.BatchRequest();
CoolLib.extend();
...
Types
All the TypeScript typings are placed in the types
folder.