0.1.0 • Published 10 years ago

disk-producer v0.1.0

Weekly downloads
1
License
MIT
Repository
-
Last release
10 years ago

disk-producer

build
status

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);
})