pretty-bytes-cli
v3.0.0
Published
Convert bytes to a human readable string: 1337 → 1.34 kB
Downloads
1,911
Maintainers
Readme
pretty-bytes-cli
Convert bytes to a human readable string:
1337
→1.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
- pretty-bytes - API for this module