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

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i node-free

      Weekly Downloads

      80

      Version

      1.0.0

      License

      MIT

      Last publish

      Collaborators

      • sydcanem