Examples
Print the help message
jstr --helpPrint file content (single line)
jstr package.jsonPrint file content (with spaces)
jstr -s 2 package.json # 2 spacesCopy file content
jstr -c package.jsonOmit output fields
jstr -o name,version package.jsonMap output fields
jstr -m '{"name":"foo"}' package.jsonPrint value of key using the callback parser
jstr package.json 'x => x.name'Multi-line parser callback
Asynchronous parser callback
Using ts-belt
Reading from a piped command
Generating a CSV file
Creating a text file using data from the JSON input
Last updated