1.1.1 • Published 7 years ago

prettyj v1.1.1

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

Pipe JSON to prettyj on the command line to receive formatted JSON to stdout.

Setup

npm install -g prettyj

Examples

echo example

echo '{"foo": "bar"}' | prettyj

{
    "foo": "bar"
}

cat example

cat filename.json | prettyj    

curl example

curl http://example.com/filename.json | prettyj

Testing

There is only one test case and it's rather sloppy.

Since prettyj has < 20 lines of code and no dependencies you might just see for yourself.

1.1.1

7 years ago

1.1.0

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago