node package manager
Easy sharing. Manage teams and permissions with one click. Create a free org »

noise-stream

Noise

Make some NOISE!!!

Example

var ns = require('../noise-stream')
var bytes = 256
var interval = 1000
 
var stream = ns(bytes, interval)
 
stream.on('data', console.log)
stream.resume()

Explaination

noise-stream simply accepts a byte count and interval for it's arguments then returns a ReadableStream emiting random buffer data until paused.