jsonic-cli
v1.1.0
Published
simple shell command to call jsonic
Downloads
2
Readme
jsonic-cli
simple shell command to call jsonic
Install
$ npm i -g jsonic-cli
Examples
$ echo '[{a:b}]' | jsonic --json
[
{
"a": "b"
}
]
$ echo '[{a:b}]' | jsonic --compact
[{"a":"b"}]
$ echo '[{a:b}]' | jsonic --jsonic
[{a:b}]
$ echo '[{a:b}]' | jsonic --console
[ { a: 'b' } ]
Default is --console style, which is probably color-coded when output is a tty.
Note
I'm not associated with the author of jsonic. I just wanted a cli for it.