JSPM

web3-plugin-example

1.0.7-dev.9023511.0+9023511
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 63
  • Score
    100M100P100Q98344F
  • License LGPL-3.0

Example implementations of Web3.js' 4.x plugin system

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (web3-plugin-example) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    web3.js

    Web3 Plugin Example

    ES Version Node Version NPM Package Downloads

    This is an example of a plugin implementation for web3.js.

    Installation

    You can install the package either using NPM or using Yarn

    Using NPM

    npm install web3-plugin-example

    Using Yarn

    yarn add web3-plugin-example

    Getting Started

    Prerequisites

    Package.json Scripts

    Script Description
    clean Uses rimraf to remove dist/
    build Uses tsc to build package and dependent packages
    lint Uses eslint to lint package
    lint:fix Uses eslint to check and fix any warnings
    format Uses prettier to format the code
    test Uses jest to run unit tests
    test:integration Uses jest to run tests under /test/integration
    test:unit Uses jest to run tests under /test/unit