Tiny TypeScript CLI wrapper for https://grep.app/api/search with TypeBox-validated responses.
npm i -g grepwrapperThen run:
grepwrapper search --q "QMD"bunx grepwrapper search --q "QMD"bun install
bun run build
npm link
grepwrapper search --q "QMD"grepwrapper search --q "QMD - Query Markup Document"
grepwrapper search --q "QMD" --words --page 2
grepwrapper search --q "QMD" --regexp
grepwrapper search --q "QMD - Query Markup Documen" --caseOutput example:
time=21ms total=2 returned=2
- tobi/qmd:CLAUDE.md (matches=1)
- tobi/qmd:README.md (matches=1)
Workflow: .github/workflows/build-binaries.yml
- Builds standalone binaries for Linux, macOS, and Windows using
bun build --compile - Uploads per-platform artifacts on each run
src/types.ts— TypeBox schemas + TS types for API responsesrc/api.ts— URL builder + fetch + schema validationsrc/cli.ts— command parser and human output