pretty-bytes-cli
Convert bytes to a human readable string: 1337 → 1.34 kB
Last updated 4 years ago by sindresorhus .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install pretty-bytes-cli 
SYNC missed versions from official npm registry.

pretty-bytes-cli Build Status

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

License

MIT © Sindre Sorhus

Current Tags

  • 2.0.0                                ...           latest (4 years ago)

2 Versions

  • 2.0.0                                ...           4 years ago
  • 1.0.0                                ...           4 years ago
Maintainers (1)
Downloads
Today 1
This Week 4
This Month 4
Last Day 1
Last Week 2
Last Month 14
Dependencies (3)
Dev Dependencies (3)

Copyright 2014 - 2016 © taobao.org |