1.0.2 • Published 4 years ago
findinjson v1.0.2
findinjson
command line tool to find a element piped in json
/tmp
{
"document": {
"children": [
{
"name": "marcell"
},
{
"name": "cruz"
}
]
}
}
cat tmp | findinjson -k "document" | findinjson -k "children"
// [{ name: marcell}, { name: cruz }]
Instalation
npm i -g findinjson