# memory-producer

> Emits average memory of your node process at a particular ttl as a readable stream

Latest version **0.1.1** (published 2014-01-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install memory-producer
pnpm add memory-producer
yarn add memory-producer
bun add memory-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.1 |
| Published | 2014-01-18 |
| First published | 2014-01-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | 0.10.x |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Jarrett Cruger |
| Maintainers | jcrugzz |

## Links

- npm: https://www.npmjs.com/package/memory-producer
- Repository: https://github.com/jcrugzz/memory-producer
- Issues: https://github.com/jcrugzz/memory-producer/issues
- npm.io page: https://npm.io/package/memory-producer

## Dependencies (1)

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

## Recent versions

- 0.1.1 (latest) — 2014-01-18
- 0.1.0 — 2014-01-18

## README

# memory-producer

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

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

## example

```js
var Memory = require('memory');

//
// Emits a free and used memory event every 5 seconds
// with the process.memoryUsage() data for each data.meta
//
var memory = new Memory({ ttl: 5000 })

memory.on('data', function (data) {
  console.dir(data);
})
```
[producer]: https://github.com/jcrugzz/producer
[godot]: https://github.com/nodejitsu/godot

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