8000 GitHub - sindresorhus/pretty-bytes-cli: Convert bytes to a human readable string: 1337 → 1.34 kB
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

sindresorhus/pretty-bytes-cli

Repository files navigation

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

About

Convert bytes to a human readable string: 1337 → 1.34 kB

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  
0