Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript. Learn more »

memory-producer

0.1.1 • Public • Published

memory-producer

buildstatus

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

example

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

Keywords

none

install

npm i memory-producer

Downloadsweekly downloads

2

version

0.1.1

license

none

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability