use-idb-store
Version:
A React state hook that syncs state to IndexedDB for persistent, offline-friendly, and large-scale data storage.
54 lines (53 loc) • 1.47 kB
JSON
{
"name": "use-idb-store",
"version": "1.1.3",
"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 run dev",
"dev:both": "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",
"typescript",
"react-state"
],
"author": {
"name": "Rajtosh Ranjan",
"url": "https://github.com/rajtoshranjan"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/rajtoshranjan/use-idb-store/issues"
},
"homepage": "https://github.com/rajtoshranjan/use-idb-store#readme",
"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"
}
}