Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    prettyusepublic

    prettysize

    print bytes 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 
     

    Keywords

    none

    install

    npm i prettyuse

    Downloadsweekly downloads

    9

    version

    0.0.0

    license

    none

    repository

    github.com

    last publish

    collaborators

    • avatar