extract-json
Version:
A command line tool to get a property from a JSON file
33 lines (22 loc) • 900 B
Markdown
# extract-json [](https://travis-ci.org/maxcbc/extract-json) [](https://snyk.io/test/github/maxcbc/extract-json)
[](https://nodei.co/npm/extract-json/)
[](https://nodei.co/npm/extract-json/)
## Description
A simple tool to get the value of a property out of a json and output it to shell.
## Installation
`npm i -g extract-json`
## Usage
```
Usage: extract-json <filename> [properties...]
Description: Outputs a property from a JSON file
Options:
-h, --help output usage information
-V, --version output the version number
```
## Automated tests
Tested on below node versions:
- 4.x
- 5.x
- 6.x
- 7.x
- latest