tower-program

0.1.0 • Public • Published

Tower Program

Installation

node.js:

$ npm install tower-program

browser:

$ component install tower/program

Example

var program = require('tower-program');
 
program('count-words')
  .input('words') // or `type`
    .attr('name')
  .output('count', 'integer');
 
var counter = program('count-words').init();
counter.output('count').on('data', function(count){
  console.log(count);
});
counter.input('words').send({ name: 'hello' });

Notes

Licence

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i tower-program

Weekly Downloads

0

Version

0.1.0

License

none

Last publish

Collaborators

  • viatropos