pretty-bytes-cli

3.0.0 • Public • Published

pretty-bytes-cli

Convert bytes to a human readable string: 13371.34 kB

Useful for displaying file sizes for humans.

Install

npm install --global pretty-bytes-cli

Usage

$ pretty-bytes --help

  Usage
    $ pretty-bytes <number>
    $ echo <number> | pretty-bytes

  Example
    $ pretty-bytes 1337
    1.34 kB

Related

Package Sidebar

Install

npm i pretty-bytes-cli

Weekly Downloads

291

Version

3.0.0

License

MIT

Unpacked Size

3.02 kB

Total Files

4

Last publish

Collaborators

  • sindresorhus