bytes-cli

3.0.2 • Public • Published

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

Package Sidebar

Install

npm i bytes-cli

Weekly Downloads

1

Version

3.0.2

License

MIT

Last publish

Collaborators

  • jihchi