Socket
Socket
Sign inDemoInstall

prettyjson

Package Overview
Dependencies
1
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.5.0 to 0.6.0

5

History.md

@@ -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 @@

12

package.json

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc