llm-json-guard 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +8 -10
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,15 +1,14 @@
1
- # Updated README.md (Final Version)
2
-
3
1
  ````markdown
4
2
  # llm-json-guard
5
3
 
6
4
  Production-safe JSON repair and schema validation for LLM outputs.
7
5
 
8
6
  Large Language Models frequently return malformed JSON containing:
9
- - Missing quotes
10
- - Trailing commas
11
- - Invalid tokens
12
- - Broken object structures
7
+
8
+ - Missing quotes
9
+ - Trailing commas
10
+ - Invalid tokens
11
+ - Broken object structures
13
12
 
14
13
  This package provides a lightweight wrapper around a production-grade JSON repair and validation API, allowing you to sanitize and enforce schema validation in seconds.
15
14
 
@@ -28,8 +27,8 @@ npm install llm-json-guard
28
27
  * Node.js 18+
29
28
  * RapidAPI key
30
29
 
31
- Get your API key here:
32
- [(https://rapidapi.com/scotedflotsincoltd/api/llm-json-sanitizer-schema-guard)](https://rapidapi.com/scotedflotsincoltd/api/llm-json-sanitizer-schema-guard)
30
+ Get your RapidAPI key here:
31
+ [https://rapidapi.com/scotedflotsincoltd/api/llm-json-sanitizer-schema-guard](https://rapidapi.com/scotedflotsincoltd/api/llm-json-sanitizer-schema-guard)
33
32
 
34
33
  ---
35
34
 
@@ -133,5 +132,4 @@ MIT
133
132
 
134
133
  ````
135
134
 
136
- ---
137
-
135
+ ---
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "llm-json-guard",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "Production-safe JSON repair and schema validation for LLM outputs",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",