json-from-llm v0.2.0
json-from-llm 0.2.0
Adds the first CLI release for pipeline-friendly JSON extraction from LLM output.
Highlights
json-from-llmbinary reads stdin and prints normalized JSON to stdout.--expect object|array|anychooses the top-level JSON type users want.--no-repairsupports strict extraction without trailing-comma repair.- README now includes copy-paste CLI and
npxexamples plus exit codes.
Verification
npm run typechecknpm test— 26 tests passednpm run lintnpm run buildnpm pack --dry-runnpm publish --dry-run- Built CLI e2e via
node dist/cli.js - Packed install e2e via local tarball and
npx json-from-llm - Published install e2e via
npm exec --package json-from-llm@0.2.0 -- json-from-llm
npm: https://www.npmjs.com/package/json-from-llm/v/0.2.0
PR: #11
Issue: #10