Skip to content

simpleledger/bigjq

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bigjq

A node-jq plugin to enable big arguments

why?

When using the node-jq library it fails if the input is too large.

It would be ideal if the original node-jq repository implemented this feature but it doesn't look like it's going to happen any time soon.

how?

jq has an option to accept stdin as input, and this doesn't have a limit.

This library makes use of that feature and creates an abstraction on top of node-jq.

installation

npm install --save fountainhead-bigjq

You don't need to install node-jq separately because it's automatically installed as a dependency when you install this library.

usage

const jq = require('fountainhead-bigjq')
jq.run(filter, data)
.then(function(result) {
  console.log("result = ", result)
})
.catch(function(e) {
  console.log("error = ", e)
})

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 92.2%
  • Shell 7.8%