web3-parity
v1.1.1-custom2
Published
This package extends web3 instance to support Parity APIs
Downloads
4
Readme
web3-parity
Parity API support for web3 1.0
Usage
npm install web3-parity
Importing library
You can import the generated bundle to use the whole library generated:
import addParityAPI from 'web3-parity'
Additionally, you can import the transpiled modules from dist/lib
in case you have a modular library:
import something from 'web3-parity/dist/lib/something'
NPM scripts
npm t
: Run test suitenpm start
: Runnpm run build
in watch modenpm run test:watch
: Run test suite in interactive watch modenpm run test:prod
: Run linting and generate coveragenpm run build
: Generate bundles and typings, create docsnpm run lint
: Lints codenpm run commit
: Commit using conventional commit style (husky will tell you to use it if you haven't :wink:)