1.0.5 • Published 3 years ago
pec-core v1.0.5
pec-core
This is a sub-package of pec.js.
The core package contains core functions for pec.js packages.
Please read the documentation 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.