pretty-bytes
Advanced tools
Comparing version 1.0.4 to 2.0.0
{ | ||
"name": "pretty-bytes", | ||
"version": "1.0.4", | ||
"version": "2.0.0", | ||
"description": "Convert bytes to a human readable string: 1337 → 1.34 kB", | ||
"license": "MIT", | ||
"repository": "sindresorhus/pretty-bytes", | ||
"main": "pretty-bytes.js", | ||
"bin": { | ||
"pretty-bytes": "cli.js" | ||
}, | ||
"author": { | ||
"name": "Sindre Sorhus", | ||
"email": "sindresorhus@gmail.com", | ||
"url": "http://sindresorhus.com" | ||
"url": "sindresorhus.com" | ||
}, | ||
"bin": "cli.js", | ||
"engines": { | ||
@@ -23,9 +20,8 @@ "node": ">=0.10.0" | ||
"files": [ | ||
"pretty-bytes.js", | ||
"index.js", | ||
"cli.js" | ||
], | ||
"keywords": [ | ||
"cli-app", | ||
"cli", | ||
"bin", | ||
"browser", | ||
"pretty", | ||
@@ -45,3 +41,4 @@ "bytes", | ||
"get-stdin": "^4.0.1", | ||
"meow": "^3.1.0" | ||
"meow": "^3.1.0", | ||
"number-is-nan": "^1.0.0" | ||
}, | ||
@@ -48,0 +45,0 @@ "devDependencies": { |
@@ -19,14 +19,8 @@ # pretty-bytes [![Build Status](https://travis-ci.org/sindresorhus/pretty-bytes.svg?branch=master)](https://travis-ci.org/sindresorhus/pretty-bytes) | ||
``` | ||
$ bower install --save pretty-bytes | ||
``` | ||
``` | ||
$ component install sindresorhus/pretty-bytes | ||
``` | ||
## Usage | ||
```js | ||
var prettyBytes = require('pretty-bytes'); | ||
prettyBytes(1337); | ||
@@ -33,0 +27,0 @@ //=> '1.34 kB' |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3971
3
49
55
+ Addednumber-is-nan@^1.0.0
+ Addednumber-is-nan@1.0.1(transitive)