Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 534 Bytes

readme.md

File metadata and controls

30 lines (19 loc) · 534 Bytes

Free utility in Node

Get OS memory stats in OSX and Linux.

Install with

npm install node-free

Usage

var memory = require('node-free');

memory.total(); // total memory in bytes
memory.used(); // used memory in bytes
memory.free(); // free memory in bytes

Prettify output with bytes

Tested with

  • OSX
  • Centos 6 and 7

License

npm