3.0.2 • Published 7 years ago

bytes-cli v3.0.2

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

bytes-cli Build Status

Convert bytes to a human readable string: 13371.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

License

MIT © Jih-Chi Lee