groq-cli
groq-cli copied to clipboard
Run GROQ in your command line
At https://www.sanity.io/blog/we-re-open-sourcing-groq-a-query-language-for-json-documents we see the query ```bash $ groq '*[gender == "female" && "physics" in prizes[].category]{firstname, surname}' \ --url http://api.nobelprize.org/v1/laureate.json \ --pretty --primary laureates ``` resulting in ```json [ {...
Would be nice to be able to just pass in a filename and enter a REPL mode to experiment with the syntax fast.
Seeing the below warning. ```` (node:27236) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 end listeners added. Use emitter.setMaxListeners() to inc rease limit [...] ```` ``` irena $ wc -l migration/ndjson/employees.ndjson...
[](https://renovatebot.com) Welcome to [Renovate](https://togithub.com/renovatebot/renovate)! This is an onboarding PR to help you understand and configure settings before regular Pull Requests begin. 🚦 To activate Renovate, merge this Pull Request....
When using `-n` CLI flag, the following error is thrown: `TypeError: ndjson is not a function` This regression likely happened after upgrading `ndjson` package from version `1.x.x` to version `2.x.x`,...
This issue lists Renovate updates and detected dependencies. Read the [Dependency Dashboard](https://docs.renovatebot.com/key-concepts/dashboard/) docs to learn more. --- Using a [curated preset](https://redirect.github.com/sanity-io/renovate-config#readme) maintained by Sanity: The Content Operating System --- ##...
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [get-stdin](https://togithub.com/sindresorhus/get-stdin) | [`^8.0.0` -> `^9.0.0`](https://renovatebot.com/diffs/npm/get-stdin/8.0.0/9.0.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/)...
Fixes #17 Was broken by https://github.com/sanity-io/groq-cli/commit/e5e7e57b1eaa768f9c7457d7b26d101f685966fb upgrading the major of `ndjson` without updating the API.
[](https://renovatebot.com) This PR contains the following updates: | Update | Change | |---|---| | lockFileMaintenance | All locks refreshed | 🔧 This Pull Request updates lock files to use...