disk-producer

0.1.0 • Public • Published

disk-producer

buildstatus

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

Package Sidebar

Install

npm i disk-producer

Weekly Downloads

1

Version

0.1.0

License

MIT

Last publish

Collaborators

  • jcrugzz