raminfo

0.0.1 • Public • Published

raminfo

Build Status Coverage Status Dependency Status Development Dependency Status

Simple tool to dump memory info and log about it.


Dependencies

Install

npm install raminfo

API

 
var raminfo = require('raminfo');
 
raminfo.set({
  
  // Used so we can do some benchmarks
  gc: global.gc,
 
  // Where to dump the memory information
  dumpDir: __dirname + './raminfoDump',
 
  // Log when dumping a file
  logDumpFile: false
});
 
 
// Dump a memory info file
raminfo.dump();
 
// Log about memory infomation
raminfo.log();
 
// Get a JSON object containing readable memory information
raminfo.getInfo();
 

Readme

Keywords

none

Package Sidebar

Install

npm i raminfo

Weekly Downloads

1

Version

0.0.1

License

none

Last publish

Collaborators

  • opensoars