Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
print memory in bytes for human consumtion
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README.md
index.js
package.json
test.js

README.md

prettyuse

print bytes used for human consumtion

var pretty = require('prettyuse');

var str = pretty();
// rss: 10.3 MB , heapTotal: 6.9 MB , heapUsed: 2.5 MB

str = pretty.size(10000)
// 9.8 kB
Something went wrong with that request. Please try again.