# disk-producer

> simple godot producer and readable stream that emits an event with the disk % on each interval

Latest version **0.1.0** (published 2014-08-12) · MIT license · 0 weekly downloads

## Install

```sh
npm install disk-producer
pnpm add disk-producer
yarn add disk-producer
bun add disk-producer
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2014-08-12 |
| First published | 2014-08-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Jarrett Cruger |
| Maintainers | jcrugzz |
| Keywords | disk, godot, monitoring, producer, readable, stream |

## Links

- npm: https://www.npmjs.com/package/disk-producer
- npm.io page: https://npm.io/package/disk-producer

## Dependencies (1)

- [producer](https://npm.io/package/producer.md) ~0.1.1

## Alternatives

- [byte-size](https://npm.io/package/byte-size.md) — 2.1M weekly downloads
- [speed-limiter](https://npm.io/package/speed-limiter.md) — 16.0K weekly downloads
- [@powersync/node](https://npm.io/package/@powersync/node.md) — 10.9K weekly downloads
- [@ledgerhq/coin-cardano](https://npm.io/package/@ledgerhq/coin-cardano.md) — 1.0K weekly downloads
- [@jayesol/jayeson.lib.streamfinder](https://npm.io/package/@jayesol/jayeson.lib.streamfinder.md) — 1.0K weekly downloads

## Recent versions

- 0.1.0 (latest) — 2014-08-12

## README

# disk-producer

[![build
status](https://secure.travis-ci.org/jcrugzz/disk-producer.png)](http://travis-ci.org/jcrugzz/disk-producer)

A readable stream based off of [`producer`][producer] that emits
a [`godot`][godot] event object on each ttl.

## example

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

```

[producer]: https://github.com/jcrugzz/producer
[godot]: https://github.com/nodejitsu/godot

---
_Source: https://npm.io/package/disk-producer · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
