Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

extract-json

maxcbc26MIT0.2.0

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

json, extract, extract-json, get-json, parse

readme

extract-json Build Status Known Vulnerabilities

NPM
NPM

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