dnai-node-plugin
v0.0.1-alpha
Published
Node.JS plugin for DNAI Solution
Downloads
2
Readme
dnai-node-plugin
Node.JS plugin for DNAI solution
Installation
Clone the project
npm install dnai-node-plugin
or
yarn add dnai-node-plugin
Usage
You must launch DNAI Server and CoreDaemon before you can launch the plugin.
Node (es6)
import DNAIProject from 'dnai-node-plugin';
const dnai = new DNAIProject('127.0.0.1', 13300, { verbose: true });
dnai.init(pathToDNAIFile).then((AIArray) => {
console.log(AIArray);
});
Node (es5)
var DNAIProject = require('dnai-node-plugin').default;
var dnai = new DNAIProject('127.0.0.1', 13300, { verbose: true });
dnai.init(pathToDNAIFile).then(function(AIArray) {
console.log(AIArray);
});