Notorious Public Menace

    memory

    0.0.3 • Public • Published

    memory

    Node.js module to grab your current memory usage in various formats

    Why? Pretty common helper function, easier to just require() than /lib/ it over & over

    $ npm install memory

    Example (basic)

    var memory = require("memory");
     
    var mb = memory();
    console.log("Memory usage: ", mb);

    Example (with options)

    var memory = require("memory");
     
    var mb = memory(4, true);
    console.log("Memory usage: ", mb);

    Keywords

    none

    Install

    npm i memory

    DownloadsWeekly Downloads

    259

    Version

    0.0.3

    License

    none

    Last publish

    Collaborators

    • edwardhotchkiss