node-free

1.0.0 • Public • Published

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

Package Sidebar

Install

npm i node-free

Weekly Downloads

192

Version

1.0.0

License

MIT

Last publish

Collaborators

  • sydcanem