UNPKG

zod-enum-forge

Version:

Tiny helpers to extend Zod enums for open-set/iterative classification workflows.

55 lines (54 loc) 1.21 kB
{ "name": "zod-enum-forge", "version": "0.3.2", "description": "Tiny helpers to extend Zod enums for open-set/iterative classification workflows.", "type": "module", "main": "./dist/index.cjs", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.mjs", "require": "./dist/index.cjs" } }, "files": [ "dist", "README.md", "LICENSE" ], "sideEffects": false, "scripts": { "build": "tsup src/index.ts --format esm,cjs --dts --clean", "dev": "tsup src/index.ts --format esm,cjs --dts --watch", "prepublishOnly": "npm run build", "test": "vitest" }, "repository": { "type": "git", "url": "https://github.com/itsp-kybernetes/zod-enum-forge.git" }, "keywords": [ "zod", "enum", "taxonomy", "open-set", "llm", "structured-output" ], "author": "Twoje Imię", "license": "FreeBSD-2-Clause", "engines": { "node": ">=16" }, "peerDependencies": { "zod": "^3.25.0 || ^4.0.0" }, "devDependencies": { "tsup": "^8.0.0", "typescript": "^5.0.0", "vitest": "^3.2.4", "zod": "^4.0.0" } }