oml

0.2.1 • Public • Published

OML Client for Node.js

NPM version Build Status

% npm install oml

An OML (client) module for node.js

Project status:

  • Expected to work

Not yet:

  • Completely stable APIs
  • Comprehensive tests
  • Measured test coverage
  • Comprehensive documentation
  • Known to be used in production (if anyone is using it in production, do let me know)

API

var oml = require('oml');
 
// Initialise module first
//
oml.init({appName: 'myApp'});
 
// Creating a measurement point called 'foo' 
// which will report the voltage of a specific generator
//
var m1 = oml.mp('foo', [['generator', oml.T.string], ['voltage', oml.T.int32]]);
 
// Send a measurement
//
m1('gen1', 221);
 

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i oml

Weekly Downloads

5

Version

0.2.1

License

none

Last publish

Collaborators

  • max.ott