partial-json
Advanced tools
Comparing version 0.1.2 to 0.1.3
{ | ||
"name": "partial-json", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "Parse partial JSON generated by LLM", | ||
@@ -11,7 +11,13 @@ "keywords": [ | ||
], | ||
"homepage": "https://promplate.dev", | ||
"homepage": "https://promplate.dev/partial-json-parser", | ||
"repository": "https://github.com/promplate/partial-json-parser-js", | ||
"license": "MIT", | ||
"author": "Muspi Merol <me@promplate.dev>", | ||
"type": "module", | ||
"exports": { | ||
".": { | ||
"import": "./dist/index.mjs", | ||
"require": "./dist/index.cjs", | ||
"types": "./dist/index.d.ts" | ||
} | ||
}, | ||
"main": "./dist/index.cjs", | ||
@@ -23,2 +29,10 @@ "module": "./dist/index.mjs", | ||
], | ||
"scripts": { | ||
"build": "tsc && (npm run build:cjs & npm run build:esm)", | ||
"build:cjs": "esbuild src/index.ts --sourcemap=external --minify --keep-names --bundle --format=cjs --outfile=dist/index.cjs", | ||
"build:esm": "esbuild src/index.ts --sourcemap=external --minify --keep-names --bundle --format=esm --outfile=dist/index.mjs", | ||
"coverage": "vitest run --coverage", | ||
"test": "vitest", | ||
"test:ui": "vitest --ui" | ||
}, | ||
"devDependencies": { | ||
@@ -30,11 +44,3 @@ "@vitest/coverage-v8": "^0.34.6", | ||
"vitest": "^0.34.6" | ||
}, | ||
"scripts": { | ||
"build": "tsc && (npm run build:cjs & npm run build:esm)", | ||
"build:cjs": "esbuild src/index.ts --sourcemap=external --minify --bundle --format=cjs --outfile=dist/index.cjs", | ||
"build:esm": "esbuild src/index.ts --sourcemap=external --minify --bundle --format=esm --outfile=dist/index.mjs", | ||
"coverage": "vitest run --coverage", | ||
"test": "vitest", | ||
"test:ui": "vitest --ui" | ||
} | ||
} | ||
} |
@@ -7,3 +7,3 @@ # Partial JSON Parser | ||
Here comes `partial-json`, a lightweight and customizable library for parsing partial JSON strings. | ||
Here comes `partial-json`, a lightweight and customizable library for parsing partial JSON strings. Here is a [demo](https://promplate.dev/partial-json-parser). | ||
@@ -10,0 +10,0 @@ (Note that there is [a Python implementation](https://github.com/promplate/partial-json-parser) too) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
50980
13
306
No