o3-dapi-ont
v0.4.0
Published
Ontology Plugin for o3-dapi
Downloads
40
Readme
o3-dapi-ont
Ontology Plugin for o3-dapi
Requires o3-dapi-core to operate.
Usage
<script src="https://cdn.jsdelivr.net/npm/o3-dapi-ont/lib/o3-dapi-ont.min.js"></script>
window.o3dapiOnt
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));