Package Exports
- o3-dapi-neo
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 (o3-dapi-neo) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
o3-dapi-neo
NEO Plugin for o3-dapi
Requires o3-dapi-core to operate.
Usage
<script src="https://cdn.jsdelivr.net/npm/o3-dapi-neo/lib/o3-dapi-neo.min.js"></script>window.o3dapiNeo
npm i --save o3-dapi-neo
or
yarn add o3-dapi-neovar o3dapiNeo = require('o3-dapi-neo');
import o3dapiNeo from 'o3-dapi-neo';Example
import o3dapi from 'o3-dapi-core';
import o3dapiNeo from 'o3-dapi-neo';
o3dapi.initPlugins([o3dapiNeo]);
o3dapi.NEO.getNetworks()
.then(networks => console.log(networks));