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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.0
    10
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.0
    10
  • 0.1.0pre
    1

Package Sidebar

Install

npm i tower-stream

Weekly Downloads

11

Version

0.1.0

License

none

Last publish

Collaborators

  • viatropos