New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

node-jq

Package Overview
Dependencies
Maintainers
1
Versions
91
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-jq

jq in nodejs

  • 0.0.4
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
72K
increased by2.95%
Maintainers
1
Weekly downloads
 
Created
Source

# node-jq js-standard-style

jq is a lightweight and flexible command-line JSON processor.

Work in progress...

Install

Need to have jq installed.

npm install atom-jq --save

Usage

import { run } from 'node-jq'
// or
const run = require('node-jq').run

const filter = '. | map(select(.foo > 10))'
const jsonPath = path.join(__dirname, 'path', 'to', 'json')

run(filter, jsonPath)
  .then((output) => {
    // something with the output
  })
  .catch((err) => {
    // something with the error
  })

License

MIT

Keywords

FAQs

Package last updated on 13 Jun 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc