A command-line JSON/string processor that brings JavaScript, Lodash, and the entire npm ecosystem to your shell.
jq.node is a command-line JSON and string processing tool that allows developers to manipulate data using JavaScript and Lodash directly in the shell. It solves the complexity and inconsistency of learning jq's custom language by providing a familiar JavaScript-based interface with access to the entire npm ecosystem.
Developers and sysadmins who frequently work with JSON data in the command line and prefer JavaScript over domain-specific languages like jq.
Developers choose jq.node for its ease of use—no new syntax to learn—and its extensibility through npm modules, making it far more powerful than jq for complex transformations.
jq.node - like jq but WAY MORE powerful (300+ helpers 🔥 & 1.45M modules 😱)
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Uses pure JavaScript expressions instead of jq's custom language, making it instantly accessible to developers already comfortable with JS, as emphasized in the rationale.
Integrates over 300 Lodash FP helpers out of the box, providing a rich, functional toolkit for data manipulation without additional dependencies.
Leverages the entire npm registry via --require, allowing users to import any of 1.45M modules for custom transformations, a unique advantage over jq.
Supports JSON, CSV, and raw string outputs with auto-colorization, enabling versatile data formatting directly in the pipeline.
Significantly slower than jq for processing JSON—benchmarks show 170ms vs 2ms for similar tasks—due to its JavaScript implementation versus jq's C code.
Requires Node.js installation and npm ecosystem access, unlike jq's standalone binary, adding setup complexity and reducing portability in minimal environments.
Lacks some jq features like native JSON streaming support, as noted in the roadmap, which limits its use for real-time data processing.
jq.node is an open-source alternative to the following products: