bytes-cli
v3.0.2
Published
Convert bytes to a human readable string: 1337 → 1.34 kB
Downloads
4
Maintainers
Readme
bytes-cli
Convert bytes to a human readable string:
1337
→1.31kB
Useful for displaying file sizes for humans.
Install
$ npm install --global bytes-cli
Usage
$ bytes --help
Usage
$ bytes <number>
$ echo <number> | bytes
Example
$ bytes 1337
1.31kB
Example
$ bytes 1.31kB
1341
Related
- bytes.js - API for this module
License
MIT © Jih-Chi Lee