0.1.0 • Published 12 years ago

tower-stream v0.1.0

Weekly downloads
11
License
-
Repository
-
Last release
12 years ago

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