json-prettify

1.2.0 • Public • Published

Pretty-Print JSON

The opposite of json-minify; For all the times you want to add readable whitespace.

{"foo":"bar"}

becomes

{
    "foo": "bar"
}

Usage

json-prettify /path/to/data.json

curl -s http://foobar3000.com/echo/echo.json | json-prettify

wget -qO- http://foobar3000.com/echo/echo.json | json-prettify

Installation

npm install -g json-prettify

Readme

Keywords

none

Package Sidebar

Install

npm i json-prettify

Weekly Downloads

4

Version

1.2.0

License

none

Last publish

Collaborators

  • coolaj86