json-parse-cli
parse JSON file more easily
Last updated a year ago by akccakcctw .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install json-parse-cli 
SYNC missed versions from official npm registry.

json-parse-cli

NPM-downloads LICENSE

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

Current Tags

  • 0.3.0                                ...           latest (a year ago)

5 Versions

  • 0.3.0                                ...           a year ago
  • 0.2.2                                ...           a year ago
  • 0.2.1 [deprecated]           ...           a year ago
  • 0.2.0                                ...           a year ago
  • 0.1.0                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (3)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |