UNPKG

@mdus/use-localstorage-hook

Version:

React hook to manage localStorage state with sync, reactivity, and cross-tab updates.

47 lines (46 loc) 1.03 kB
{ "name": "@mdus/use-localstorage-hook", "version": "2.0.1", "type": "module", "main": "dist/index.js", "module": "dist/index.js", "exports": { ".": { "import": "./dist/index.js", "require": "./dist/index.js" } }, "files": [ "dist" ], "description": "React hook to manage localStorage state with sync, reactivity, and cross-tab updates.", "keywords": [ "react", "react-hook", "localStorage", "storage", "custom-hook", "useLocalStorage", "browser-storage", "frontend-utility", "react-abstractions" ], "author": "Md Umar Siddique", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/umarSiddique010/use-localstorage-hook.git" }, "scripts": { "build": "rollup -c" }, "peerDependencies": { "react": ">=17.0.0" }, "devDependencies": { "@rollup/plugin-commonjs": "^28.0.6", "@rollup/plugin-node-resolve": "^16.0.1", "@rollup/plugin-terser": "^0.4.3", "rollup": "^2.79.2" } }