UNPKG

use-form-auto-save

Version:

A customizable React hook for automatically saving and restoring form data with support for localStorage, sessionStorage, and external APIs.

58 lines (57 loc) 1.46 kB
{ "name": "use-form-auto-save", "version": "1.2.0", "description": "A customizable React hook for automatically saving and restoring form data with support for localStorage, sessionStorage, and external APIs.", "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { "build": "tsc", "prepare": "npm run build", "test": "jest", "start": "parcel index.html" }, "repository": { "type": "git", "url": "https://github.com/damyantjain/use-form-auto-save.git" }, "keywords": [ "react", "hook", "auto-save", "form", "localStorage", "sessionStorage", "api", "react-hook-form" ], "author": "Damyant Jain", "license": "MIT", "bugs": { "url": "https://github.com/damyantjain/use-form-auto-save/issues" }, "homepage": "https://github.com/damyantjain/use-form-auto-save#readme", "files": [ "dist" ], "peerDependencies": { "react": ">=16.8.0", "react-hook-form": ">=7.0.0" }, "devDependencies": { "@testing-library/jest-dom": "^6.6.3", "@testing-library/react": "^16.2.0", "@types/jest": "^29.5.14", "@types/lodash.isequal": "^4.5.8", "@types/react": "^19.0.10", "@types/react-dom": "^19.0.4", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "parcel": "^2.13.3", "process": "^0.11.10", "ts-jest": "^29.2.6", "typescript": "^5.8.2" }, "dependencies": { "lodash.isequal": "^4.5.0" } }