node-jq icon indicating copy to clipboard operation
node-jq copied to clipboard

How to leverage jq option '--slurpfile variable-name filename' from node-jq

Open sharangthorat opened this issue 2 years ago • 1 comments

How do I use jq command line option '--slurpfile variable-name filename' with node-jq? I have a two files where one file stores some configurations which I want to pass and use them in filter while converting from one json to another. I am looking for storing this configuration in another json and then use that as variable.

sharangthorat avatar Sep 06 '23 12:09 sharangthorat

We don't provide this flag on node-jq currently. Feel free to push a PR with this!

davesnx avatar Oct 24 '23 10:10 davesnx