prettyjson
Advanced tools
Comparing version 0.5.0 to 0.6.0
@@ -0,1 +1,6 @@ | ||
### 0.6.0 — *June 29, 2012* | ||
* Update dependencies to support Node.js v0.8 | ||
* Adding ability to use environmental variables | ||
### 0.5.0 — *June 24, 2012* | ||
@@ -2,0 +7,0 @@ |
@@ -5,3 +5,3 @@ { | ||
"description": "Package for formatting JSON data in a coloured YAML-style, perfect for CLI output", | ||
"version": "0.5.0", | ||
"version": "0.6.0", | ||
"homepage": "http://rafeca.com/prettyjson", | ||
@@ -26,3 +26,3 @@ "keywords": [ | ||
"engines": { | ||
"node": ">= 0.6.0 =< 0.7.12" | ||
"node": ">= 0.6.0 < 0.9.0" | ||
}, | ||
@@ -33,9 +33,9 @@ "dependencies": { | ||
"devDependencies": { | ||
"releasetools": "0.2.0", | ||
"releasetools": "0.3.0", | ||
"step": "0.0.5", | ||
"mocha": "1.2.0", | ||
"mocha": "1.2.2", | ||
"should": "0.6.3", | ||
"jake": "0.3.3", | ||
"jake": "0.3.7", | ||
"jshint": "0.7.1" | ||
} | ||
} | ||
} |
@@ -43,2 +43,12 @@ # prettyjson [![Build Status](https://secure.travis-ci.org/rafeca/prettyjson.png)](http://travis-ci.org/rafeca/prettyjson) | ||
### Customizing colors via command line | ||
Now it's possible to customize the colors of the output via environment variables, thanks to @bahamas10: | ||
```bash | ||
$ PRETTYJSON_KEYS=red PRETTYJSON_DASH=blue bin/prettyjson package.json | ||
``` | ||
The available options are `PRETTYJSON_KEYS`, `PRETTYJSON_DASH` and `PRETTYJSON_INDENT`. | ||
## Using it (from Node.js) | ||
@@ -45,0 +55,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
1379499
115
0