jsonl-ndjson-log-search

Installation
SKILL.md

JSON Lines & NDJSON Log Search

Gronify's -s / --stream / --jsonl mode streams JSON Lines (NDJSON) one record at a time and flattens each non-blank line as json[0], json[1], ... under json = [] (matching gron -s and fastgron -s). Memory stays flat regardless of record count, and -m / --limit stop reading early.

Check CLI availability and --jsonl support

-s, --stream, and --jsonl require Gronify 1.4.0 or newer (1.3.2 and older exit 1 with error: unknown option '-s'). Always check first:

command -v gronify && gronify flatten --help | grep -e --jsonl
  • If gronify is missing, use npx gronify ... or ask the user before running npm install -g gronify or brew install 1solomonwakhungu/tap/gronify.
  • If the installed release does not list --jsonl, ask the user before updating (npm install -g gronify@latest) or fall back to jq -c 'select(...)' app.jsonl / rg on that file.

Explore a JSONL / NDJSON file safely

Always pass --no-color and cap output before printing:

Installs
1
First Seen
1 day ago