UNPKG

zod-form-data

Version:

Validation helpers for [zod](https://github.com/colinhacks/zod) specifically for parsing `FormData` or `URLSearchParams`. This is particularly useful when using [Remix](https://github.com/remix-run/remix) and combos well with [remix-validated-form](https:

41 lines (40 loc) 911 B
{ "name": "zod-form-data", "version": "3.0.0", "homepage": "https://github.com/airjp73/rvf/tree/main/packages/zod-form-data", "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "exports": { ".": { "import": "./dist/index.mjs", "require": "./dist/index.js", "types": "./dist/index.d.ts" } }, "license": "MIT", "repository": { "type": "git", "url": "https://github.com/airjp73/rvf", "directory": "packages/zod-form-data" }, "scripts": { "dev": "tsup --watch", "build": "tsup", "prepublishOnly": "npm run build", "typecheck": "tsc --noEmit" }, "dependencies": { "@rvf/set-get": "^7.0.0" }, "peerDependencies": { "zod": ">= 3.25.0" }, "devDependencies": { "@rvf/set-get": "*", "tsconfig": "*", "tsup-config": "*", "typescript": "^5.8.3", "zod": "3.25.42" } }