tangojs-connector-local
v0.4.1
Published
In-memory data model for TangoJS.
Downloads
6
Readme
tangojs-connector-local
In-memory connector for TangoJS.
Quick-start
Install via npm:
npm install tangojs-connector-local
Feed the connector with your data model:
import { LocalConnector } from 'tangojs-connector-local'
let model = {
// ...
}
let connector = new LocalConnector(model)
Configure TangoJS to use this connector:
tangojs.setConnector(conector)
Data model
Data model is a structure that resembles TANGO devices hierarchy.
See the tangojs-connector-local-testmodel.coffee
for a self-explanatory example.