nuxdie/json-like-parse

JavaScript npm module that finds JSON-like text within a string and then parses it on best effort basis

35
/ 100
Emerging

When working with AI and Large Language Models (LLMs), you often ask them for structured information, like JSON. This tool helps JavaScript developers take the AI's response, which might be a mix of text and malformed JSON, and extract the structured data. It takes a string of text from an AI and attempts to give you back valid JavaScript objects.

No commits in the last 6 months. Available on npm.

Use this if you are a JavaScript developer trying to reliably extract structured data from AI-generated text, even when the AI's output isn't perfectly formatted JSON.

Not ideal if you are working with strictly valid JSON data, as a standard JSON parser will be more robust and accurate.

AI-output-parsing LLM-integration JavaScript-development data-extraction API-integration
Stale 6m
Maintenance 0 / 25
Adoption 6 / 25
Maturity 25 / 25
Community 4 / 25

How are scores calculated?

Stars

22

Forks

1

Language

JavaScript

License

MIT

Last pushed

Mar 21, 2023

Commits (30d)

0

Dependencies

1

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/nuxdie/json-like-parse"

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