UNPKG

ai-json-fixer

Version:

A simple JSON parser designed to handle malformed JSON from Large Language Models

68 lines (67 loc) 1.95 kB
{ "name": "ai-json-fixer", "version": "0.2.0", "description": "A simple JSON parser designed to handle malformed JSON from Large Language Models", "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { "build": "tsc", "dev": "tsx watch src/index.ts", "test": "vitest run", "test:watch": "vitest --watch", "test:coverage": "vitest --coverage", "lint": "eslint src test --ext .ts", "format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"", "typecheck": "tsc --noEmit", "benchmark": "tsx benchmarks/run.ts", "prepublishOnly": "npm run build && npm run test && npm run lint", "version": "npm run format && git add -A src", "postversion": "git push && git push --tags", "release": "standard-version", "release:patch": "npm run release -- --release-as patch", "release:minor": "npm run release -- --release-as minor", "release:major": "npm run release -- --release-as major" }, "keywords": [ "json", "parser", "llm", "gpt", "claude", "streaming", "error-recovery" ], "author": "Arthur Takeda", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/aotakeda/ai-json-fixer.git" }, "bugs": { "url": "https://github.com/aotakeda/ai-json-fixer/issues" }, "homepage": "https://github.com/aotakeda/ai-json-fixer#readme", "files": [ "dist", "README.md", "LICENSE" ], "engines": { "node": ">=14.0.0" }, "devDependencies": { "@eslint/js": "^9.29.0", "@types/node": "^24.0.3", "@typescript-eslint/eslint-plugin": "^8.34.1", "@typescript-eslint/parser": "^8.34.1", "@vitest/coverage-v8": "^3.2.4", "eslint": "^9.29.0", "eslint-config-prettier": "^10.1.5", "eslint-plugin-prettier": "^5.5.0", "prettier": "^3.5.3", "standard-version": "^9.5.0", "tsx": "^4.20.3", "typescript": "^5.8.3", "vitest": "^3.2.4" } }