tower-stream

0.1.0 • Public • Published

Tower Stream

Installation

node.js:

$ npm install tower-stream

browser:

$ component install tower/stream

Example

var stream = require('tower-stream');
 
stream('word-counter')
  .on('init', function(s){
 
  })
  .on('execute', function(s, fn){
 
  })
  .on('close', function(s, fn){
 
  });

Testing

Install testem:

$ npm install -g testem

Run tests:

$ testem

Then, open all the browsers you want to test by going to the outputted url defaulted to http://localhost:7357

Tests will run on any open browser linked to the stated url and your current Node environment.

Contributing

Before you send a pull request, make sure your code meets the style guidelines at https://github.com/tower/style-guide and all tests pass.

Licence

MIT

Dependencies (4)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i tower-stream

    Weekly Downloads

    8

    Version

    0.1.0

    License

    none

    Last publish

    Collaborators

    • viatropos