zod-from-json-schema
Version:
Creates Zod types from JSON Schema at runtime
56 lines (55 loc) • 1.41 kB
JSON
{
"name": "zod-from-json-schema",
"version": "0.5.2",
"description": "Creates Zod types from JSON Schema at runtime",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js",
"default": "./dist/index.js"
}
},
"files": [
"dist"
],
"scripts": {
"build": "npm run clean && tsc -d --emitDeclarationOnly --outDir dist && node build.js",
"test": "vitest run --coverage",
"prepublishOnly": "npm run build",
"clean": "rm -rf dist"
},
"author": "Mark Probst <mark.probst@gmail.com>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/glideapps/zod-from-json-schema.git"
},
"dependencies": {
"zod": "^4.0.17"
},
"devDependencies": {
"@types/node": "^24.3.0",
"@vitest/coverage-v8": "^3.0.9",
"esbuild": "^0.25.2",
"typescript": "^5.8.3",
"vitest": "^3.0.9"
},
"vitest": {
"coverage": {
"exclude": [
"build.js"
]
}
},
"keywords": [
"zod",
"json-schema",
"validation",
"typescript",
"schema"
]
}