npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

humem

0.1.1

@hemanth

npmRepoSnykSocket
Downloads:3
$ npm install humem
DailyWeeklyMonthlyYearly

HuMem Build Status

Human Readable real time memory stats.

Install

$ npm install --save humem

Usage

Node.js
var humem = require('humem');

console.log(humem.freemem); // 4 GB
// Open up some app which will eat up some memory.

console.log(humem.freemem); // 2.36 GB

Properties

humem.totalmem -> Returns the total amount of system memory in human readable format.

humem.freemem -> Returns the amount of free system memory in human readable format.

humem.usedmem -> Returns the amount of system memory used in human readbale.format.

License

MIT © Hemanth.HM