0.1.0 • Published 10 years ago
disk-producer v0.1.0
disk-producer
A readable stream based off of producer
that emits
a godot
event object on each ttl.
example
var Disk = require('disk-producer');
// You can pass in a percent option of where it will change the state of the
// event to 'error' from 'ok'
var disk = new Disk({ ttl: 5000, percent: 90 });
disk.on('data', function (data) {
console.dir(data);
})
0.1.0
10 years ago