diff options
| author | Arman <[email protected]> | 2018-08-02 16:50:59 -0700 |
|---|---|---|
| committer | Arman <[email protected]> | 2018-08-02 16:50:59 -0700 |
| commit | 7d5a0696ccc642db0d14aae8677ecada40bf85d1 (patch) | |
| tree | 1bbbcf2f4c4a3a733326ac2401375f8d891cb2f1 /node_modules/pretty-bytes/readme.md | |
| parent | dialog box for adding items (diff) | |
| download | launcher-7d5a0696ccc642db0d14aae8677ecada40bf85d1.tar.xz launcher-7d5a0696ccc642db0d14aae8677ecada40bf85d1.zip | |
inital commit
Diffstat (limited to 'node_modules/pretty-bytes/readme.md')
| -rw-r--r-- | node_modules/pretty-bytes/readme.md | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/node_modules/pretty-bytes/readme.md b/node_modules/pretty-bytes/readme.md deleted file mode 100644 index bb94861..0000000 --- a/node_modules/pretty-bytes/readme.md +++ /dev/null @@ -1,60 +0,0 @@ -# pretty-bytes [](https://travis-ci.org/sindresorhus/pretty-bytes) - -> Convert bytes to a human readable string: `1337` → `1.34 kB` - -Useful for displaying file sizes for humans. - -- - -*Note that it uses base-10 (eg. kilobyte). -[Read about the difference between kilobyte and kibibyte.](http://pacoup.com/2009/05/26/kb-kb-kib-whats-up-with-that/)* - - -## Install - -``` -$ npm install --save pretty-bytes -``` - -``` -$ bower install --save pretty-bytes -``` - -``` -$ component install sindresorhus/pretty-bytes -``` - - -## Usage - -```js -prettyBytes(1337); -//=> '1.34 kB' - -prettyBytes(100); -//=> '100 B' -``` - - -## CLI - -``` -$ npm install --global pretty-bytes -``` - -``` -$ pretty-bytes --help - - Usage - $ pretty-bytes <number> - $ echo <number> | pretty-bytes - - Example - $ pretty-bytes 1337 - 1.34 kB -``` - - -## License - -MIT © [Sindre Sorhus](http://sindresorhus.com) |