UNPKG

extract-json

Version:

A command line tool to get a property from a JSON file

33 lines (22 loc) 900 B
# extract-json [![Build Status](https://travis-ci.org/maxcbc/extract-json.svg?branch=master)](https://travis-ci.org/maxcbc/extract-json) [![Known Vulnerabilities](https://snyk.io/test/github/maxcbc/extract-json/badge.svg)](https://snyk.io/test/github/maxcbc/extract-json) [![NPM](https://nodei.co/npm/extract-json.png)](https://nodei.co/npm/extract-json/) [![NPM](https://nodei.co/npm-dl/extract-json.png)](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