Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
docs
lib
src
test
testNode
.npmignore
README.md
package.json
tsconfig.json
webpack.config.js
yarn.lock

README.md

o3-dapi-ont

Ontology Plugin for o3-dapi

Requires o3-dapi-core to operate.

Usage

In a browser - cdn

<script src="https://cdn.jsdelivr.net/npm/o3-dapi-ont/lib/o3-dapi-ont.min.js"></script>
window.o3dapiOnt

Install via npm npm version

npm i --save o3-dapi-ont

or

yarn add o3-dapi-ont
var o3dapiOnt = require('o3-dapi-ont');

import o3dapiOnt from 'o3-dapi-ont';

Example

import o3dapi from 'o3-dapi-core';
import o3dapiOnt from 'o3-dapi-ont';

o3dapi.initPlugins([o3dapiOnt]);

o3dapi.ONT.getNetworks()
.then(networks => console.log(networks));
You can’t perform that action at this time.