UNPKG

use-idb-store

Version:

A React state hook that syncs state to IndexedDB for persistent, offline-friendly, and large-scale data storage.

59 lines (58 loc) 1.57 kB
{ "name": "use-idb-store", "version": "1.2.2", "description": "A React state hook that syncs state to IndexedDB for persistent, offline-friendly, and large-scale data storage.", "main": "dist/index.cjs.js", "module": "dist/index.esm.js", "types": "dist/types/index.d.ts", "files": [ "dist" ], "scripts": { "build": "rollup -c", "dev": "rollup -c -w", "clean": "rimraf dist", "prepare": "npm run clean && npm run build", "test": "echo \"Error: no test specified\" && exit 1", "dev:playground": "cd examples/playground && npm i && npm run dev", "dev:all": "npm run dev & npm run dev:playground" }, "peerDependencies": { "react": "^18.0.0" }, "repository": { "type": "git", "url": "git+https://github.com/rajtoshranjan/use-idb-store.git" }, "keywords": [ "react", "indexeddb", "idb", "typescript", "react-state", "use-idb", "offline storage", "local persistence", "react hook storage" ], "author": { "name": "Rajtosh Ranjan", "url": "https://github.com/rajtoshranjan" }, "license": "MIT", "bugs": { "url": "https://github.com/rajtoshranjan/use-idb-store/issues" }, "homepage": "https://use-idb-store.rajtoshranjan.dev", "sideEffects": false, "devDependencies": { "@rollup/plugin-commonjs": "^28.0.3", "@rollup/plugin-node-resolve": "^16.0.1", "@rollup/plugin-typescript": "^12.1.2", "@types/react": "^19.1.4", "rimraf": "^4.4.1", "rollup": "^4.40.2", "tslib": "^2.8.1", "typescript": "^5.8.3" } }