Skip to content
A stream which spits out objects at intervals you prefer. (cribbed heavily from @hackygolucky)
JavaScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib
test
.npmignore
LICENSE-MIT
README.md
grunt.js
package.json

README.md

junk-stream

Generates streams of junk objects.

Getting Started

Install the module with: npm install junk-stream

var junk_stream = require('junk-stream');

var junk_tube = junk_stream.junk_stream(1000, {
  key: Number
  , val: String
});

junk_tube.on('data', console.log);

setTimeout(function () {
  junk_tube.destroy();
}, 10000);

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using grunt.

Release History

0.1.0 - Initial release.

License

Copyright (c) 2013 Justin Abrahms
Licensed under the MIT license.

Something went wrong with that request. Please try again.