promplate/partial-json-parser-js

Parse partial JSON generated by LLM

37
/ 100
Emerging

When building applications that stream responses from Large Language Models (LLMs), you often need structured data like JSON instead of plain text. This tool lets you parse incomplete JSON as it arrives, providing usable data even before the LLM finishes generating its full response. It's designed for frontend or backend developers working with streaming LLM outputs in JavaScript environments.

222 stars. No commits in the last 6 months.

Use this if you are building an application that needs to display or process structured data from an LLM response in real-time, even when the JSON output is still being generated.

Not ideal if your application only processes complete JSON objects after an LLM has finished its entire response, or if you are not working in a JavaScript environment.

LLM application development real-time data parsing streaming data processing web development backend development
Stale 6m No Package No Dependents
Maintenance 2 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 9 / 25

How are scores calculated?

Stars

222

Forks

8

Language

TypeScript

License

MIT

Last pushed

Aug 04, 2025

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/prompt-engineering/promplate/partial-json-parser-js"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.