UNPKG

react-simple-form-hook

Version:

A lightweight, type-safe React form management hook with built-in Zod validation, field-level validation, touched state tracking, async submissions, and advanced form manipulation features

62 lines (61 loc) 1.66 kB
{ "name": "react-simple-form-hook", "version": "2.0.0", "description": "A lightweight, type-safe React form management hook with built-in Zod validation, field-level validation, touched state tracking, async submissions, and advanced form manipulation features", "main": "dist/cjs/index.js", "types": "dist/index.d.ts", "files": [ "dist" ], "module": "dist/esm/index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "build": "rollup -c", "prepublishOnly": "npm run build" }, "keywords": [ "react", "form", "hook", "validation", "zod", "typescript", "form-management", "form-validation", "react-hook", "form-state", "async-validation", "field-validation" ], "author": "Kartik Kesbhat", "license": "ISC", "repository": { "type": "git", "url": "https://github.com/kartikkesbhat-2003/react-simple-form-hook.git" }, "bugs": { "url": "https://github.com/kartikkesbhat-2003/react-simple-form-hook/issues" }, "homepage": "https://github.com/kartikkesbhat-2003/react-simple-form-hook#readme", "type": "module", "devDependencies": { "@rollup/plugin-commonjs": "^29.0.0", "@rollup/plugin-node-resolve": "^16.0.3", "@rollup/plugin-typescript": "^12.3.0", "@types/react": "^19.2.4", "@types/react-dom": "^19.2.3", "react": "^19.2.0", "react-dom": "^19.2.0", "rollup": "^4.53.2", "rollup-plugin-dts": "^6.2.3", "ts-node": "^10.9.2", "tslib": "^2.8.1", "typescript": "^5.9.3" }, "dependencies": { "zod": "^4.1.12" }, "peerDependencies": { "react": ">=16.8.0" } }