rb VS nq

Compare rb vs nq and see what are their differences.

rb

Turns Ruby into a versatile command line utility (by thisredone)

nq

sed "s/jq .key/nq '({key}) => key'/" (by KelWill)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
rb nq
3 1
1,488 1
- -
0.0 10.0
about 1 year ago about 3 years ago
Ruby JavaScript
MIT License -
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

rb

Posts with mentions or reviews of rb. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-04-26.

nq

Posts with mentions or reviews of nq. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-04-26.
  • Zq: An Easier (and Faster) Alternative to Jq
    36 projects | news.ycombinator.com | 26 Apr 2022
    I like using `jq` to create line-delimited JSON and then using a language I know well (Node) to process it after that point. I find `jq '.[] | select(.location=="Stockholm")'` less readable than something like `nq --filter '({location}) => location === "Stockholm"'` because I'm much more used to Node syntax.

    - https://github.com/thisredone/rb is a widely used ruby version of this idea

    - https://github.com/KelWill/nq#readme is something similar that I wrote for my own use

What are some alternatives?

When comparing rb and nq you can also consider the following projects:

zed - A novel data lake based on super-structured data

ramda-cli - :ram: A CLI tool for processing data with functional pipelines

wsjq - Whitespace interpreter and debugger in jq

nushell - A new type of shell

jp - Command line interface to JMESPath - http://jmespath.org

gron - Make JSON greppable!

jid - json incremental digger

mcfly - Fly through your shell history. Great Scott!

q - q - Run SQL directly on delimited files and multi-file sqlite databases

fx - Terminal JSON viewer & processor