@abyrd9/zod-form-data
Version:
Type-safe Zod v4 utilities to flatten and unflatten data, parse FormData, and collect schema-aligned errors.
61 lines (60 loc) • 1.55 kB
JSON
{
"name": "@abyrd9/zod-form-data",
"version": "2.1.1",
"description": "Type-safe Zod v4 utilities to flatten and unflatten data, parse FormData, and collect schema-aligned errors.",
"license": "MIT",
"keywords": [
"zod",
"form",
"validation",
"typescript",
"forms",
"utilities"
],
"type": "module",
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
}
},
"files": [
"dist",
"README.md"
],
"devDependencies": {
"@happy-dom/global-registrator": "^18.0.1",
"@types/bun": "latest",
"vitest": "^3.2.4",
"zod": "^4.1.11"
},
"peerDependencies": {
"typescript": "^5.0.0",
"zod": "^3.25.0 || ^4.0.0"
},
"peerDependenciesMeta": {
"typescript": {
"optional": false
},
"zod": {
"optional": false
}
},
"scripts": {
"build": "bun run build:js && bun run build:types",
"build:js": "bun build ./index.ts --outdir ./dist --target node --format esm",
"build:types": "bunx tsc --emitDeclarationOnly --declaration --outDir ./dist",
"test": "bun test",
"test:watch": "bun test --watch",
"update": "npx npm-check-updates -u",
"prepublishOnly": "bun run build",
"publish:patch": "npm version patch && bun publish",
"publish:minor": "npm version minor && bun publish",
"publish:major": "npm version major && bun publish"
},
"sideEffects": false,
"dependencies": {}
}