0.4.1 • Published 1 year ago

json-parse-cli v0.4.1

Weekly downloads
1
License
MIT
Repository
github
Last release
1 year ago

json-parse-cli

NPM-downloads LICENSE semantic-release

Parse JSON string in your CLI

Features

Install

$ npm install -g json-parse-cli

Usage

Just type json-parse -h for detail usage.

$ json-parse --help

  Usage:
    $ json-parse [options] <path>

  Options:
    -h --help     Show this screen.
    -v --version  Show version.
    -i --indent   Indent length (only work with --format=json).
    -f --format   Format, object|json|json5 [default: object].

  Examples:
    $ json-parse foo.log
    $ json-parse --format=json foo.log
    $ json-parse --format=json --indent=4 foo.log
    $ cat foo.log | json-parse -f json -i 4
    $ echo '{"name": "akccakcctw"}' | json-parse

Issues

https://github.com/akccakcctw/json-parse-cli/issues

License

MIT © Rex Tsou

0.4.1

1 year ago

0.4.0

4 years ago

0.3.0

6 years ago

0.2.2

6 years ago

0.2.1

6 years ago

0.2.0

6 years ago

0.1.0

6 years ago