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

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

Current Tags

  • 3.0.2                                ...           latest (3 years ago)

3 Versions

  • 3.0.2                                ...           3 years ago
  • 3.0.1                                ...           3 years ago
  • 3.0.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (4)
Dev Dependencies (3)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |