1.0.2 • Published 2 years ago
nv-cli-json-search v1.0.2
nv-cli-json-search
- nv-cli-json-search
- cli-tool ,search big-json
- its simplified version of json-cfg-cli
install
- npm install nv-cli-json-search -g
usage
Usage: nv_cli_jsrch [options]
Options:
-i, --input input file
-k, --kptrns key match patterns
-v, --vptrn value match pattern
-o, --or OR mode ,default AND
-h, --help usage
example
nv-cli-json-search# cat package.json
{
"dependencies": {
"nv-array-match": "^1.0.0",
"nv-cli-basic": "^1.0.8",
"nv-file-reader": "^1.0.7",
"nvjson": "^1.3.1"
},
"name": "nv-cli-json-search",
"description": "",
"version": "1.0.1",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"bin": {
"nv_cli_jsrch": "cli.js"
},
"author": "",
"license": "ISC"
}
nv-cli-json-search#
nv-cli-json-search# nv_cli_jsrch -i package.json -k dep nv -v 8
[ 'dependencies', 'nv-cli-basic' ]
'"^1.0.8"'
nv-cli-json-search#
LICENSE
- ISC
1.0.2
2 years ago