{"_id":"@rehooks/local-storage","_rev":"2832403","name":"@rehooks/local-storage","description":"React hook for local-storage","dist-tags":{"latest":"2.4.4"},"maintainers":[{"name":"fouad","email":"fm@fouad.co"},{"name":"hanford","email":"jackhanford@gmail.com"},{"name":"iamsolankiamit","email":"amit.fash@gmail.com"},{"name":"jmoxey","email":"jakemoxey@gmail.com"},{"name":"mathdroid","email":"muhammad.mustadi@gmail.com"},{"name":"thejameskyle","email":"me@thejameskyle.com"}],"time":{"modified":"2022-09-06T15:16:48.000Z","created":"2018-10-25T22:37:31.067Z","2.4.4":"2022-01-01T14:48:42.008Z","2.4.3":"2021-09-07T04:40:33.697Z","2.4.1":"2021-04-21T10:36:46.731Z","2.4.0":"2020-04-30T13:10:55.663Z","2.3.0":"2020-03-21T08:41:29.039Z","2.2.3":"2020-03-04T14:48:49.150Z","2.2.2":"2020-02-20T09:16:24.782Z","2.2.1":"2020-02-20T09:09:27.470Z","2.2.0":"2020-02-20T09:07:41.128Z","2.1.1":"2019-12-10T12:13:50.100Z","2.1.0":"2019-12-09T04:14:10.743Z","1.7.0":"2019-10-21T08:50:43.557Z","1.6.0":"2019-06-18T13:09:38.848Z","1.5.1":"2019-06-18T05:50:39.899Z","1.4.0":"2019-04-06T08:40:37.678Z","1.3.0":"2019-04-04T11:20:37.596Z","1.2.0":"2019-04-03T09:09:39.949Z","1.1.0":"2019-04-01T13:27:08.448Z","1.0.3":"2019-02-27T06:27:39.743Z","1.0.2":"2018-11-05T08:05:12.178Z","1.0.0":"2018-10-25T22:37:31.067Z"},"users":{},"author":{"name":"Amit Solanki","email":"amit.fash@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/rehooks/local-storage.git"},"versions":{"2.4.4":{"name":"@rehooks/local-storage","version":"2.4.4","description":"React hook for local-storage","main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"tsc","build:types":"tsc --emitDeclarationOnly","docs":"typedoc --out docs src && touch docs/.nojekyll","prepublishOnly":"npm run build","test":"jest --verbose","test:watch":"jest --verbose --watch","example":"npm run build && parcel example/example.html"},"repository":{"type":"git","url":"git+https://github.com/rehooks/local-storage.git"},"author":{"name":"Amit Solanki","email":"amit.fash@gmail.com"},"contributors":[{"name":"Joseph Harrison-Lim"}],"license":"MIT","publishConfig":{"access":"public"},"keywords":["react","hooks","local-storage","sync"],"peerDependencies":{"react":">=16.8.0"},"devDependencies":{"@babel/preset-env":"^7.4.5","@babel/preset-typescript":"^7.3.3","@testing-library/react":"^10.2.1","@testing-library/react-hooks":"^3.3.0","@types/jest":"^24.0.13","@types/react":"^16.8.19","all-contributors-cli":"^6.11.2","babel-jest":"^26.0.1","browser-env":"^3.2.6","jest":"^26.0.1","parcel":"^2.0.0-beta.2","react":"^16.13.1","react-dom":"^16.13.1","react-test-renderer":"^16.13.1","ts-jest":"^26.1.0","typedoc":"^0.17.7","typescript":"^3.9.5"},"gitHead":"db301e64d3db82f75775bdb477ca42feb5e3e49b","bugs":{"url":"https://github.com/rehooks/local-storage/issues"},"homepage":"https://github.com/rehooks/local-storage#readme","_id":"@rehooks/local-storage@2.4.4","_nodeVersion":"12.22.7","_npmVersion":"6.14.15","dist":{"shasum":"ccf40f60c2dcbab86dc88f9e3ea898d1fb8bea2d","size":13338,"noattachment":false,"key":"/@rehooks/local-storage/-/@rehooks/local-storage-2.4.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rehooks/local-storage/download/@rehooks/local-storage-2.4.4.tgz"},"_npmUser":{"name":"iamsolankiamit","email":"amit.fash@gmail.com"},"directories":{},"maintainers":[{"name":"fouad","email":"fm@fouad.co"},{"name":"hanford","email":"jackhanford@gmail.com"},{"name":"iamsolankiamit","email":"amit.fash@gmail.com"},{"name":"jmoxey","email":"jakemoxey@gmail.com"},{"name":"mathdroid","email":"muhammad.mustadi@gmail.com"},{"name":"thejameskyle","email":"me@thejameskyle.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/local-storage_2.4.4_1641048521820_0.8525147947076823"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-01-01T14:48:55.798Z","publish_time":1641048522008,"_cnpm_publish_time":1641048522008},"2.4.3":{"name":"@rehooks/local-storage","version":"2.4.3","description":"React hook for local-storage","main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"tsc","build:types":"tsc --emitDeclarationOnly","docs":"typedoc --out docs src && touch docs/.nojekyll","prepublishOnly":"npm run build","test":"jest --verbose","test:watch":"jest --verbose --watch","example":"npm run build && parcel example/example.html"},"repository":{"type":"git","url":"git+https://github.com/rehooks/local-storage.git"},"author":{"name":"Amit Solanki","email":"amit.fash@gmail.com"},"contributors":[{"name":"Joseph Harrison-Lim"}],"license":"MIT","publishConfig":{"access":"public"},"keywords":["react","hooks","local-storage","sync"],"peerDependencies":{"react":">=16.8.0"},"devDependencies":{"@babel/preset-env":"^7.4.5","@babel/preset-typescript":"^7.3.3","@testing-library/react":"^10.2.1","@testing-library/react-hooks":"^3.3.0","@types/jest":"^24.0.13","@types/react":"^16.8.19","all-contributors-cli":"^6.11.2","babel-jest":"^26.0.1","browser-env":"^3.2.6","jest":"^26.0.1","parcel":"^2.0.0-beta.2","react":"^16.13.1","react-dom":"^16.13.1","react-test-renderer":"^16.13.1","ts-jest":"^26.1.0","typedoc":"^0.17.7","typescript":"^3.9.5"},"gitHead":"05ede107f70c890c17a92d4e3292bb9d377d355a","bugs":{"url":"https://github.com/rehooks/local-storage/issues"},"homepage":"https://github.com/rehooks/local-storage#readme","_id":"@rehooks/local-storage@2.4.3","_nodeVersion":"14.16.1","_npmVersion":"7.19.1","dist":{"shasum":"51176b823dac0aa6cfa2220acdca613e370319c1","size":11522,"noattachment":false,"key":"/@rehooks/local-storage/-/@rehooks/local-storage-2.4.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rehooks/local-storage/download/@rehooks/local-storage-2.4.3.tgz"},"_npmUser":{"name":"iamsolankiamit","email":"amit.fash@gmail.com"},"directories":{},"maintainers":[{"name":"fouad","email":"fm@fouad.co"},{"name":"hanford","email":"jackhanford@gmail.com"},{"name":"iamsolankiamit","email":"amit.fash@gmail.com"},{"name":"jmoxey","email":"jakemoxey@gmail.com"},{"name":"mathdroid","email":"muhammad.mustadi@gmail.com"},{"name":"thejameskyle","email":"me@thejameskyle.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/local-storage_2.4.3_1630989633566_0.12065447782405658"},"_hasShrinkwrap":false,"publish_time":1630989633697,"_cnpm_publish_time":1630989633697,"_cnpmcore_publish_time":"2021-12-16T13:41:38.172Z"},"2.4.1":{"name":"@rehooks/local-storage","version":"2.4.1","description":"React hook for local-storage","main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"tsc","build:types":"tsc --emitDeclarationOnly","docs":"typedoc --out docs src && touch docs/.nojekyll","prepublishOnly":"npm run build","test":"jest --verbose","test:watch":"jest --verbose --watch","example":"npm run build && parcel example/example.html"},"repository":{"type":"git","url":"git+https://github.com/rehooks/local-storage.git"},"author":{"name":"Amit Solanki","email":"amit.fash@gmail.com"},"contributors":[{"name":"Joseph Harrison-Lim"}],"license":"MIT","publishConfig":{"access":"public"},"keywords":["react","hooks","local-storage","sync"],"peerDependencies":{"react":">=16.8.0"},"devDependencies":{"@babel/preset-env":"^7.4.5","@babel/preset-typescript":"^7.3.3","@testing-library/react":"^10.2.1","@testing-library/react-hooks":"^3.3.0","@types/jest":"^24.0.13","@types/react":"^16.8.19","all-contributors-cli":"^6.11.2","babel-jest":"^26.0.1","browser-env":"^3.2.6","jest":"^26.0.1","parcel":"^2.0.0-beta.2","react":"^16.13.1","react-dom":"^16.13.1","react-test-renderer":"^16.13.1","ts-jest":"^26.1.0","typedoc":"^0.17.7","typescript":"^3.9.5"},"gitHead":"793316957d7466f254e47a157509594f5c27dc26","bugs":{"url":"https://github.com/rehooks/local-storage/issues"},"homepage":"https://github.com/rehooks/local-storage#readme","_id":"@rehooks/local-storage@2.4.1","_nodeVersion":"12.18.3","_npmVersion":"7.10.0","dist":{"shasum":"a35bf8ea03d8bf2202029a7b5885ed2806a3594b","size":11171,"noattachment":false,"key":"/@rehooks/local-storage/-/@rehooks/local-storage-2.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rehooks/local-storage/download/@rehooks/local-storage-2.4.1.tgz"},"_npmUser":{"name":"iamsolankiamit","email":"amit.fash@gmail.com"},"directories":{},"maintainers":[{"name":"fouad","email":"fm@fouad.co"},{"name":"hanford","email":"jackhanford@gmail.com"},{"name":"iamsolankiamit","email":"amit.fash@gmail.com"},{"name":"jmoxey","email":"jakemoxey@gmail.com"},{"name":"mathdroid","email":"muhammad.mustadi@gmail.com"},{"name":"thejameskyle","email":"me@thejameskyle.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/local-storage_2.4.1_1619001406404_0.28049899059428096"},"_hasShrinkwrap":false,"publish_time":1619001406731,"_cnpm_publish_time":1619001406731,"_cnpmcore_publish_time":"2021-12-16T13:41:38.542Z"},"2.4.0":{"name":"@rehooks/local-storage","version":"2.4.0","description":"React hook for local-storage","main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"tsc","build:types":"tsc --emitDeclarationOnly","docs":"typedoc --out docs src && touch docs/.nojekyll","prepublishOnly":"npm run build","test":"jest --verbose","test:watch":"jest --verbose --watch","example":"npm run build && parcel example/example.html"},"repository":{"type":"git","url":"git+https://github.com/rehooks/local-storage.git"},"author":{"name":"Amit Solanki","email":"amit.fash@gmail.com"},"contributors":[{"name":"Joseph Harrison-Lim"}],"license":"MIT","publishConfig":{"access":"public"},"keywords":["react","hooks","local-storage","sync"],"peerDependencies":{"react":"*"},"devDependencies":{"@babel/preset-env":"^7.4.5","@babel/preset-typescript":"^7.3.3","@testing-library/react":"^8.0.1","@types/jest":"^24.0.13","@types/react":"^16.8.19","all-contributors-cli":"^6.11.2","babel-jest":"^24.8.0","browser-env":"^3.2.6","jest":"^24.8.0","parcel":"^1.12.4","react":"^16.8.6","react-dom":"^16.8.6","react-hooks-testing-library":"^0.5.1","react-test-renderer":"^16.8.6","ts-jest":"^24.0.2","typedoc":"^0.15.3","typescript":"^3.5.1"},"gitHead":"c1ecaa540759a55fd44faa40f8aea92cc86a96e9","bugs":{"url":"https://github.com/rehooks/local-storage/issues"},"homepage":"https://github.com/rehooks/local-storage#readme","_id":"@rehooks/local-storage@2.4.0","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","dist":{"shasum":"fb884b2b657cad5f77aa6ab60bb3532f0e0725d2","size":7895,"noattachment":false,"key":"/@rehooks/local-storage/-/@rehooks/local-storage-2.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rehooks/local-storage/download/@rehooks/local-storage-2.4.0.tgz"},"maintainers":[{"name":"fouad","email":"fm@fouad.co"},{"name":"hanford","email":"jackhanford@gmail.com"},{"name":"iamsolankiamit","email":"amit.fash@gmail.com"},{"name":"jmoxey","email":"jakemoxey@gmail.com"},{"name":"mathdroid","email":"muhammad.mustadi@gmail.com"},{"name":"thejameskyle","email":"me@thejameskyle.com"}],"_npmUser":{"name":"iamsolankiamit","email":"amit.fash@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/local-storage_2.4.0_1588252255548_0.5676113934145366"},"_hasShrinkwrap":false,"publish_time":1588252255663,"_cnpm_publish_time":1588252255663,"_cnpmcore_publish_time":"2021-12-16T13:41:38.804Z"},"2.3.0":{"name":"@rehooks/local-storage","version":"2.3.0","description":"React hook for local-storage","main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"tsc","build:types":"tsc --emitDeclarationOnly","docs":"typedoc --out docs src && touch docs/.nojekyll","test":"jest --verbose","test:watch":"jest --verbose --watch","example":"npm run build && parcel example/example.html"},"repository":{"type":"git","url":"git+https://github.com/rehooks/local-storage.git"},"author":{"name":"Amit Solanki","email":"amit.fash@gmail.com"},"contributors":[{"name":"Joseph Harrison-Lim"}],"license":"MIT","publishConfig":{"access":"public"},"keywords":["react","hooks","local-storage","sync"],"peerDependencies":{"react":"*"},"devDependencies":{"@babel/preset-env":"^7.4.5","@babel/preset-typescript":"^7.3.3","@testing-library/react":"^8.0.1","@types/jest":"^24.0.13","@types/react":"^16.8.19","all-contributors-cli":"^6.11.2","babel-jest":"^24.8.0","browser-env":"^3.2.6","jest":"^24.8.0","parcel":"^1.12.4","react":"^16.8.6","react-dom":"^16.8.6","react-hooks-testing-library":"^0.5.1","react-test-renderer":"^16.8.6","ts-jest":"^24.0.2","typedoc":"^0.15.3","typescript":"^3.5.1"},"gitHead":"455b7820bdb276df3b682a6bc9fd96b48b44a129","bugs":{"url":"https://github.com/rehooks/local-storage/issues"},"homepage":"https://github.com/rehooks/local-storage#readme","_id":"@rehooks/local-storage@2.3.0","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","dist":{"shasum":"e2b90a93d3be70e7b7d69a5748abbcfa94261713","size":7987,"noattachment":false,"key":"/@rehooks/local-storage/-/@rehooks/local-storage-2.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rehooks/local-storage/download/@rehooks/local-storage-2.3.0.tgz"},"maintainers":[{"name":"fouad","email":"fm@fouad.co"},{"name":"hanford","email":"jackhanford@gmail.com"},{"name":"iamsolankiamit","email":"amit.fash@gmail.com"},{"name":"jmoxey","email":"jakemoxey@gmail.com"},{"name":"mathdroid","email":"muhammad.mustadi@gmail.com"},{"name":"thejameskyle","email":"me@thejameskyle.com"}],"_npmUser":{"name":"iamsolankiamit","email":"amit.fash@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/local-storage_2.3.0_1584780088913_0.09246521994812595"},"_hasShrinkwrap":false,"publish_time":1584780089039,"_cnpm_publish_time":1584780089039,"_cnpmcore_publish_time":"2021-12-16T13:41:39.026Z"},"2.2.3":{"name":"@rehooks/local-storage","version":"2.2.3","description":"React hook for local-storage","main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"tsc","build:types":"tsc --emitDeclarationOnly","docs":"typedoc --out docs src && touch docs/.nojekyll","test":"jest --verbose","test:watch":"jest --verbose --watch","example":"npm run build && parcel example/example.html"},"repository":{"type":"git","url":"git+https://github.com/rehooks/local-storage.git"},"author":{"name":"Amit Solanki","email":"amit.fash@gmail.com"},"contributors":[{"name":"Joseph Harrison-Lim"}],"license":"MIT","publishConfig":{"access":"public"},"keywords":["react","hooks","local-storage","sync"],"peerDependencies":{"react":"*"},"devDependencies":{"@babel/preset-env":"^7.4.5","@babel/preset-typescript":"^7.3.3","@testing-library/react":"^8.0.1","@types/jest":"^24.0.13","@types/react":"^16.8.19","all-contributors-cli":"^6.11.2","babel-jest":"^24.8.0","browser-env":"^3.2.6","jest":"^24.8.0","parcel":"^1.12.4","react":"^16.8.6","react-dom":"^16.8.6","react-hooks-testing-library":"^0.5.1","react-test-renderer":"^16.8.6","ts-jest":"^24.0.2","typedoc":"^0.15.3","typescript":"^3.5.1"},"gitHead":"59f268739ba5ef578709842d31cacf61722d4ac6","bugs":{"url":"https://github.com/rehooks/local-storage/issues"},"homepage":"https://github.com/rehooks/local-storage#readme","_id":"@rehooks/local-storage@2.2.3","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","dist":{"shasum":"bfae58512a6690d8bbf80e5383be349b35415b36","size":7928,"noattachment":false,"key":"/@rehooks/local-storage/-/@rehooks/local-storage-2.2.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rehooks/local-storage/download/@rehooks/local-storage-2.2.3.tgz"},"maintainers":[{"name":"fouad","email":"fm@fouad.co"},{"name":"hanford","email":"jackhanford@gmail.com"},{"name":"iamsolankiamit","email":"amit.fash@gmail.com"},{"name":"jmoxey","email":"jakemoxey@gmail.com"},{"name":"mathdroid","email":"muhammad.mustadi@gmail.com"},{"name":"thejameskyle","email":"me@thejameskyle.com"}],"_npmUser":{"name":"iamsolankiamit","email":"amit.fash@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/local-storage_2.2.3_1583333329027_0.8623015851782121"},"_hasShrinkwrap":false,"publish_time":1583333329150,"_cnpm_publish_time":1583333329150,"_cnpmcore_publish_time":"2021-12-16T13:41:39.267Z"},"2.2.2":{"name":"@rehooks/local-storage","version":"2.2.2","description":"React hook for local-storage","main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"tsc","build:types":"tsc --emitDeclarationOnly","docs":"typedoc --out docs src && touch docs/.nojekyll","test":"jest --verbose","test:watch":"jest --verbose --watch","example":"npm run build && parcel example/example.html"},"repository":{"type":"git","url":"git+https://github.com/rehooks/local-storage.git"},"author":{"name":"Amit Solanki","email":"amit.fash@gmail.com"},"contributors":[{"name":"Joseph Harrison-Lim"}],"license":"MIT","publishConfig":{"access":"public"},"keywords":["react","hooks","local-storage","sync"],"peerDependencies":{"react":"*"},"devDependencies":{"@babel/preset-env":"^7.4.5","@babel/preset-typescript":"^7.3.3","@testing-library/react":"^8.0.1","@types/jest":"^24.0.13","@types/react":"^16.8.19","all-contributors-cli":"^6.11.2","babel-jest":"^24.8.0","browser-env":"^3.2.6","jest":"^24.8.0","parcel":"^1.12.4","react":"^16.8.6","react-dom":"^16.8.6","react-hooks-testing-library":"^0.5.1","react-test-renderer":"^16.8.6","ts-jest":"^24.0.2","typedoc":"^0.15.3","typescript":"^3.5.1"},"gitHead":"9919d253390f679a19968877b87a6822eed0bd13","bugs":{"url":"https://github.com/rehooks/local-storage/issues"},"homepage":"https://github.com/rehooks/local-storage#readme","_id":"@rehooks/local-storage@2.2.2","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","dist":{"shasum":"9e7c998838b513fc378a527db218e0a6d797c387","size":7927,"noattachment":false,"key":"/@rehooks/local-storage/-/@rehooks/local-storage-2.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rehooks/local-storage/download/@rehooks/local-storage-2.2.2.tgz"},"maintainers":[{"name":"fouad","email":"fm@fouad.co"},{"name":"hanford","email":"jackhanford@gmail.com"},{"name":"iamsolankiamit","email":"amit.fash@gmail.com"},{"name":"jmoxey","email":"jakemoxey@gmail.com"},{"name":"mathdroid","email":"muhammad.mustadi@gmail.com"},{"name":"thejameskyle","email":"me@thejameskyle.com"}],"_npmUser":{"name":"iamsolankiamit","email":"amit.fash@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/local-storage_2.2.2_1582190184641_0.3952827428825032"},"_hasShrinkwrap":false,"publish_time":1582190184782,"_cnpm_publish_time":1582190184782,"_cnpmcore_publish_time":"2021-12-16T13:41:39.510Z"},"2.2.1":{"name":"@rehooks/local-storage","version":"2.2.1","description":"React hook for local-storage","main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"tsc","build:types":"tsc --emitDeclarationOnly","docs":"typedoc --out docs src && touch docs/.nojekyll","test":"jest --verbose","test:watch":"jest --verbose --watch","example":"npm run build && parcel example/example.html"},"repository":{"type":"git","url":"git+https://github.com/rehooks/local-storage.git"},"author":{"name":"Amit Solanki","email":"amit.fash@gmail.com"},"contributors":[{"name":"Joseph Harrison-Lim"}],"license":"MIT","publishConfig":{"access":"public"},"keywords":["react","hooks","local-storage","sync"],"peerDependencies":{"react":"*"},"devDependencies":{"@babel/preset-env":"^7.4.5","@babel/preset-typescript":"^7.3.3","@testing-library/react":"^8.0.1","@types/jest":"^24.0.13","@types/react":"^16.8.19","all-contributors-cli":"^6.11.2","babel-jest":"^24.8.0","browser-env":"^3.2.6","jest":"^24.8.0","parcel":"^1.12.4","react":"^16.8.6","react-dom":"^16.8.6","react-hooks-testing-library":"^0.5.1","react-test-renderer":"^16.8.6","ts-jest":"^24.0.2","typedoc":"^0.15.3","typescript":"^3.5.1"},"gitHead":"a571978425b66c0d17514ff5c465f8b570907c0f","bugs":{"url":"https://github.com/rehooks/local-storage/issues"},"homepage":"https://github.com/rehooks/local-storage#readme","_id":"@rehooks/local-storage@2.2.1","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","dist":{"shasum":"71891c676d5f68730c5fbbd11265c51c93d17f51","size":7928,"noattachment":false,"key":"/@rehooks/local-storage/-/@rehooks/local-storage-2.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rehooks/local-storage/download/@rehooks/local-storage-2.2.1.tgz"},"maintainers":[{"name":"fouad","email":"fm@fouad.co"},{"name":"hanford","email":"jackhanford@gmail.com"},{"name":"iamsolankiamit","email":"amit.fash@gmail.com"},{"name":"jmoxey","email":"jakemoxey@gmail.com"},{"name":"mathdroid","email":"muhammad.mustadi@gmail.com"},{"name":"thejameskyle","email":"me@thejameskyle.com"}],"_npmUser":{"name":"iamsolankiamit","email":"amit.fash@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/local-storage_2.2.1_1582189767312_0.9214955526469588"},"_hasShrinkwrap":false,"publish_time":1582189767470,"_cnpm_publish_time":1582189767470,"_cnpmcore_publish_time":"2021-12-16T13:41:39.743Z"},"2.2.0":{"name":"@rehooks/local-storage","version":"2.2.0","description":"React hook for local-storage","main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"tsc","build:types":"tsc --emitDeclarationOnly","docs":"typedoc --out docs src && touch docs/.nojekyll","test":"jest --verbose","test:watch":"jest --verbose --watch","example":"npm run build && parcel example/example.html"},"repository":{"type":"git","url":"git+https://github.com/rehooks/local-storage.git"},"author":{"name":"Amit Solanki","email":"amit.fash@gmail.com"},"contributors":[{"name":"Joseph Harrison-Lim"}],"license":"MIT","publishConfig":{"access":"public"},"keywords":["react","hooks","local-storage","sync"],"peerDependencies":{"react":"*"},"devDependencies":{"@babel/preset-env":"^7.4.5","@babel/preset-typescript":"^7.3.3","@testing-library/react":"^8.0.1","@types/jest":"^24.0.13","@types/react":"^16.8.19","all-contributors-cli":"^6.11.2","babel-jest":"^24.8.0","browser-env":"^3.2.6","jest":"^24.8.0","parcel":"^1.12.4","react":"^16.8.6","react-dom":"^16.8.6","react-hooks-testing-library":"^0.5.1","react-test-renderer":"^16.8.6","ts-jest":"^24.0.2","typedoc":"^0.15.3","typescript":"^3.5.1"},"gitHead":"f76c0658f94fc7db9186f1848c80413e68c324d1","bugs":{"url":"https://github.com/rehooks/local-storage/issues"},"homepage":"https://github.com/rehooks/local-storage#readme","_id":"@rehooks/local-storage@2.2.0","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","dist":{"shasum":"09733620f97b6c94e78f3ab7b5f190c7751239e8","size":7929,"noattachment":false,"key":"/@rehooks/local-storage/-/@rehooks/local-storage-2.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rehooks/local-storage/download/@rehooks/local-storage-2.2.0.tgz"},"maintainers":[{"name":"fouad","email":"fm@fouad.co"},{"name":"hanford","email":"jackhanford@gmail.com"},{"name":"iamsolankiamit","email":"amit.fash@gmail.com"},{"name":"jmoxey","email":"jakemoxey@gmail.com"},{"name":"mathdroid","email":"muhammad.mustadi@gmail.com"},{"name":"thejameskyle","email":"me@thejameskyle.com"}],"_npmUser":{"name":"iamsolankiamit","email":"amit.fash@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/local-storage_2.2.0_1582189661034_0.11171749983548995"},"_hasShrinkwrap":false,"publish_time":1582189661128,"_cnpm_publish_time":1582189661128,"_cnpmcore_publish_time":"2021-12-16T13:41:39.984Z"},"2.1.1":{"name":"@rehooks/local-storage","version":"2.1.1","description":"React hook for local-storage","main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"tsc","build:types":"tsc --emitDeclarationOnly","docs":"typedoc --out docs src && touch docs/.nojekyll","test":"jest --verbose","example":"npm run build && parcel example/example.html"},"repository":{"type":"git","url":"git+https://github.com/rehooks/local-storage.git"},"author":{"name":"Amit Solanki","email":"amit.fash@gmail.com"},"contributors":[{"name":"Joseph Harrison-Lim"}],"license":"MIT","publishConfig":{"access":"public"},"keywords":["react","hooks","local-storage","sync"],"peerDependencies":{"react":"*"},"devDependencies":{"@babel/preset-env":"^7.4.5","@babel/preset-typescript":"^7.3.3","@testing-library/react":"^8.0.1","@types/jest":"^24.0.13","@types/react":"^16.8.19","all-contributors-cli":"^6.11.2","babel-jest":"^24.8.0","browser-env":"^3.2.6","jest":"^24.8.0","parcel":"^1.12.4","react":"^16.8.6","react-dom":"^16.8.6","react-hooks-testing-library":"^0.5.1","react-test-renderer":"^16.8.6","ts-jest":"^24.0.2","typedoc":"^0.15.3","typescript":"^3.5.1"},"gitHead":"3382d22bfbeba9351d9faa71e8009bd408eaee69","bugs":{"url":"https://github.com/rehooks/local-storage/issues"},"homepage":"https://github.com/rehooks/local-storage#readme","_id":"@rehooks/local-storage@2.1.1","_nodeVersion":"8.16.2","_npmVersion":"6.12.0","dist":{"shasum":"e9d9a36a17308667f2aee9b01cbec9a29d53d341","size":7779,"noattachment":false,"key":"/@rehooks/local-storage/-/@rehooks/local-storage-2.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rehooks/local-storage/download/@rehooks/local-storage-2.1.1.tgz"},"maintainers":[{"name":"fouad","email":"fm@fouad.co"},{"name":"hanford","email":"jackhanford@gmail.com"},{"name":"iamsolankiamit","email":"amit.fash@gmail.com"},{"name":"jmoxey","email":"jakemoxey@gmail.com"},{"name":"mathdroid","email":"muhammad.mustadi@gmail.com"},{"name":"thejameskyle","email":"me@thejameskyle.com"}],"_npmUser":{"name":"iamsolankiamit","email":"amit.fash@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/local-storage_2.1.1_1575980029815_0.6393694390289908"},"_hasShrinkwrap":false,"publish_time":1575980030100,"_cnpm_publish_time":1575980030100,"_cnpmcore_publish_time":"2021-12-16T13:41:40.201Z"},"2.1.0":{"name":"@rehooks/local-storage","version":"2.1.0","description":"React hook for local-storage","main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"tsc","build:types":"tsc --emitDeclarationOnly","docs":"typedoc --out docs src && touch docs/.nojekyll","test":"jest --verbose","example":"npm run build && parcel example/example.html"},"repository":{"type":"git","url":"https://github.com/rehooks/local-storage.git"},"author":{"name":"Amit Solanki","email":"amit.fash@gmail.com"},"contributors":[{"name":"Joseph Harrison-Lim"}],"license":"MIT","publishConfig":{"access":"public"},"keywords":["react","hooks","local-storage","sync"],"peerDependencies":{"react":"*"},"devDependencies":{"@babel/preset-env":"^7.4.5","@babel/preset-typescript":"^7.3.3","@testing-library/react":"^8.0.1","@types/jest":"^24.0.13","@types/react":"^16.8.19","babel-jest":"^24.8.0","browser-env":"^3.2.6","jest":"^24.8.0","parcel":"^1.12.4","react":"^16.8.6","react-dom":"^16.8.6","react-hooks-testing-library":"^0.5.1","react-test-renderer":"^16.8.6","ts-jest":"^24.0.2","typedoc":"^0.15.3","typescript":"^3.5.1"},"licenseText":"Copyright (c) 2018-present LocalStorage\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@rehooks/local-storage@2.1.0","dist":{"shasum":"597a82e485bad0f34012840a71c90ef6f65cd093","size":9064,"noattachment":false,"key":"/@rehooks/local-storage/-/@rehooks/local-storage-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rehooks/local-storage/download/@rehooks/local-storage-2.1.0.tgz"},"maintainers":[{"name":"fouad","email":"fm@fouad.co"},{"name":"hanford","email":"jackhanford@gmail.com"},{"name":"iamsolankiamit","email":"amit.fash@gmail.com"},{"name":"jmoxey","email":"jakemoxey@gmail.com"},{"name":"mathdroid","email":"muhammad.mustadi@gmail.com"},{"name":"thejameskyle","email":"me@thejameskyle.com"}],"_npmUser":{"name":"iamsolankiamit","email":"amit.fash@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/local-storage_2.1.0_1575864850520_0.834287398768222"},"_hasShrinkwrap":false,"publish_time":1575864850743,"_cnpm_publish_time":1575864850743,"_cnpmcore_publish_time":"2021-12-16T13:41:40.433Z"},"1.7.0":{"name":"@rehooks/local-storage","version":"1.7.0","description":"React hook for local-storage","main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"tsc","build:types":"tsc --emitDeclarationOnly","docs":"typedoc --out docs src && touch docs/.nojekyll","test":"jest --verbose","example":"npm run build && parcel example/example.html"},"repository":{"type":"git","url":"https://github.com/rehooks/local-storage.git"},"author":{"name":"Amit Solanki","email":"amit.fash@gmail.com"},"contributors":[{"name":"Joseph Harrison-Lim"}],"license":"MIT","publishConfig":{"access":"public"},"keywords":["react","hooks","local-storage","sync"],"peerDependencies":{"react":"*"},"devDependencies":{"@babel/preset-env":"^7.4.5","@babel/preset-typescript":"^7.3.3","@testing-library/react":"^8.0.1","@types/jest":"^24.0.13","@types/react":"^16.8.19","babel-jest":"^24.8.0","browser-env":"^3.2.6","jest":"^24.8.0","parcel":"^1.12.3","react":"^16.8.6","react-dom":"^16.8.6","react-hooks-testing-library":"^0.5.1","react-test-renderer":"^16.8.6","ts-jest":"^24.0.2","typedoc":"^0.14.2","typescript":"^3.5.1"},"licenseText":"Copyright (c) 2018-present LocalStorage\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@rehooks/local-storage@1.7.0","dist":{"shasum":"f6351b61254e07288d0dcfce9aea5602e09b134b","size":8646,"noattachment":false,"key":"/@rehooks/local-storage/-/@rehooks/local-storage-1.7.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rehooks/local-storage/download/@rehooks/local-storage-1.7.0.tgz"},"maintainers":[{"name":"fouad","email":"fm@fouad.co"},{"name":"hanford","email":"jackhanford@gmail.com"},{"name":"iamsolankiamit","email":"amit.fash@gmail.com"},{"name":"jmoxey","email":"jakemoxey@gmail.com"},{"name":"mathdroid","email":"muhammad.mustadi@gmail.com"},{"name":"thejameskyle","email":"me@thejameskyle.com"}],"_npmUser":{"name":"iamsolankiamit","email":"amit.fash@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/local-storage_1.7.0_1571647843468_0.3782146915037359"},"_hasShrinkwrap":false,"publish_time":1571647843557,"_cnpm_publish_time":1571647843557,"_cnpmcore_publish_time":"2021-12-16T13:41:40.699Z"},"1.6.0":{"name":"@rehooks/local-storage","version":"1.6.0","description":"React hook for local-storage","main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"tsc","build:types":"tsc --emitDeclarationOnly","docs":"typedoc --out docs src && touch docs/.nojekyll","test":"jest --verbose","example":"npm run build && parcel example/example.html"},"repository":{"type":"git","url":"https://github.com/rehooks/local-storage.git"},"author":{"name":"Amit Solanki","email":"amit.fash@gmail.com"},"contributors":[{"name":"Joseph Harrison-Lim"}],"license":"MIT","publishConfig":{"access":"public"},"keywords":["react","hooks","local-storage","sync"],"peerDependencies":{"react":"*"},"devDependencies":{"@babel/preset-env":"^7.4.5","@babel/preset-typescript":"^7.3.3","@testing-library/react":"^8.0.1","@types/jest":"^24.0.13","@types/react":"^16.8.19","babel-jest":"^24.8.0","browser-env":"^3.2.6","jest":"^24.8.0","parcel":"^1.12.3","react":"^16.8.6","react-dom":"^16.8.6","react-hooks-testing-library":"^0.5.1","react-test-renderer":"^16.8.6","ts-jest":"^24.0.2","typedoc":"^0.14.2","typescript":"^3.5.1"},"licenseText":"Copyright (c) 2018-present LocalStorage\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@rehooks/local-storage@1.6.0","dist":{"shasum":"34970959426bbf67845d0c60359f6016623ac468","size":8394,"noattachment":false,"key":"/@rehooks/local-storage/-/@rehooks/local-storage-1.6.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rehooks/local-storage/download/@rehooks/local-storage-1.6.0.tgz"},"maintainers":[{"name":"fouad","email":"fm@fouad.co"},{"name":"hanford","email":"jackhanford@gmail.com"},{"name":"iamsolankiamit","email":"amit.fash@gmail.com"},{"name":"jmoxey","email":"jakemoxey@gmail.com"},{"name":"mathdroid","email":"muhammad.mustadi@gmail.com"},{"name":"thejameskyle","email":"me@thejameskyle.com"}],"_npmUser":{"name":"iamsolankiamit","email":"amit.fash@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/local-storage_1.6.0_1560863378687_0.1688260119268843"},"_hasShrinkwrap":false,"publish_time":1560863378848,"_cnpm_publish_time":1560863378848,"_cnpmcore_publish_time":"2021-12-16T13:41:40.949Z"},"1.5.1":{"name":"@rehooks/local-storage","version":"1.5.1","description":"React hook for local-storage","main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"tsc","build:types":"tsc --emitDeclarationOnly","docs":"typedoc --out docs","test":"jest --verbose","example":"npm run build && parcel example/example.html"},"repository":{"type":"git","url":"https://github.com/rehooks/local-storage.git"},"author":{"name":"Amit Solanki","email":"amit.fash@gmail.com"},"contributors":[{"name":"Joseph Harrison-Lim"}],"license":"MIT","publishConfig":{"access":"public"},"keywords":["react","hooks","local-storage","sync"],"peerDependencies":{"react":"*"},"devDependencies":{"@babel/preset-env":"^7.4.5","@babel/preset-typescript":"^7.3.3","@testing-library/react":"^8.0.1","@types/jest":"^24.0.13","@types/react":"^16.8.19","babel-jest":"^24.8.0","browser-env":"^3.2.6","jest":"^24.8.0","parcel":"^1.12.3","react":"^16.8.6","react-dom":"^16.8.6","react-hooks-testing-library":"^0.5.1","react-test-renderer":"^16.8.6","ts-jest":"^24.0.2","typedoc":"^0.14.2","typescript":"^3.5.1"},"licenseText":"Copyright (c) 2018-present LocalStorage\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@rehooks/local-storage@1.5.1","dist":{"shasum":"935ed42c156f9cfdf40c373261cd0fda56436843","size":7591,"noattachment":false,"key":"/@rehooks/local-storage/-/@rehooks/local-storage-1.5.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rehooks/local-storage/download/@rehooks/local-storage-1.5.1.tgz"},"maintainers":[{"name":"fouad","email":"fm@fouad.co"},{"name":"hanford","email":"jackhanford@gmail.com"},{"name":"iamsolankiamit","email":"amit.fash@gmail.com"},{"name":"jmoxey","email":"jakemoxey@gmail.com"},{"name":"mathdroid","email":"muhammad.mustadi@gmail.com"},{"name":"thejameskyle","email":"me@thejameskyle.com"}],"_npmUser":{"name":"iamsolankiamit","email":"amit.fash@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/local-storage_1.5.1_1560837039687_0.4424602363702739"},"_hasShrinkwrap":false,"publish_time":1560837039899,"_cnpm_publish_time":1560837039899,"_cnpmcore_publish_time":"2021-12-16T13:41:41.210Z"},"1.4.0":{"name":"@rehooks/local-storage","version":"1.4.0","description":"React hook for local-storage","main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"tsc","build:types":"tsc --emitDeclarationOnly","docs":"typedoc --out docs","test":"jest test","example":"npm run build && parcel example/example.html"},"repository":{"type":"git","url":"https://github.com/rehooks/local-storage.git"},"author":{"name":"Amit Solanki","email":"amit.fash@gmail.com"},"contributors":[{"name":"Joseph Harrison-Lim"}],"license":"MIT","publishConfig":{"access":"public"},"keywords":["react","hooks","local-storage","sync"],"dependencies":{"react":"^16.8.6"},"devDependencies":{"@babel/preset-env":"^7.4.2","@babel/preset-typescript":"^7.3.3","@types/jest":"^24.0.11","@types/react":"^16.8.10","babel-jest":"^24.5.0","browser-env":"^3.2.6","jest":"^24.5.0","parcel":"^1.12.3","react-dom":"^16.8.6","react-hooks-testing-library":"^0.3.8","react-testing-library":"^6.0.3","ts-jest":"^24.0.1","typedoc":"^0.14.2","typescript":"^3.4.1"},"licenseText":"Copyright (c) 2018-present LocalStorage\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@rehooks/local-storage@1.4.0","dist":{"shasum":"7f5127732525b3f385f1c5417f9c40452ead5b9a","size":5432,"noattachment":false,"key":"/@rehooks/local-storage/-/@rehooks/local-storage-1.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rehooks/local-storage/download/@rehooks/local-storage-1.4.0.tgz"},"maintainers":[{"name":"fouad","email":"fm@fouad.co"},{"name":"hanford","email":"jackhanford@gmail.com"},{"name":"iamsolankiamit","email":"amit.fash@gmail.com"},{"name":"jmoxey","email":"jakemoxey@gmail.com"},{"name":"mathdroid","email":"muhammad.mustadi@gmail.com"},{"name":"thejameskyle","email":"me@thejameskyle.com"}],"_npmUser":{"name":"iamsolankiamit","email":"amit.fash@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/local-storage_1.4.0_1554540037479_0.14754902421768912"},"_hasShrinkwrap":false,"publish_time":1554540037678,"_cnpm_publish_time":1554540037678,"_cnpmcore_publish_time":"2021-12-16T13:41:41.425Z"},"1.3.0":{"name":"@rehooks/local-storage","version":"1.3.0","description":"React hook for local-storage","main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"tsc","build:types":"tsc --emitDeclarationOnly","docs":"typedoc --out docs","test":"jest test","example":"npm run build && parcel example/example.html"},"repository":{"type":"git","url":"https://github.com/rehooks/local-storage.git"},"author":{"name":"Amit Solanki","email":"amit.fash@gmail.com"},"contributors":[{"name":"Joseph Harrison-Lim"}],"license":"MIT","publishConfig":{"access":"public"},"keywords":["react","hooks","local-storage","sync"],"dependencies":{"react":"^16.8.6"},"devDependencies":{"@babel/preset-env":"^7.4.2","@babel/preset-typescript":"^7.3.3","@types/jest":"^24.0.11","@types/react":"^16.8.10","babel-jest":"^24.5.0","browser-env":"^3.2.6","jest":"^24.5.0","parcel":"^1.12.3","react-dom":"^16.8.6","react-hooks-testing-library":"^0.3.8","react-testing-library":"^6.0.3","ts-jest":"^24.0.1","typedoc":"^0.14.2","typescript":"^3.4.1"},"licenseText":"Copyright (c) 2018-present LocalStorage\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@rehooks/local-storage@1.3.0","dist":{"shasum":"b2ae307a7bdfa9626a5c6ee9e9a0de0f87db75ca","size":5346,"noattachment":false,"key":"/@rehooks/local-storage/-/@rehooks/local-storage-1.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rehooks/local-storage/download/@rehooks/local-storage-1.3.0.tgz"},"maintainers":[{"name":"fouad","email":"fm@fouad.co"},{"name":"hanford","email":"jackhanford@gmail.com"},{"name":"iamsolankiamit","email":"amit.fash@gmail.com"},{"name":"jmoxey","email":"jakemoxey@gmail.com"},{"name":"mathdroid","email":"muhammad.mustadi@gmail.com"},{"name":"thejameskyle","email":"me@thejameskyle.com"}],"_npmUser":{"name":"iamsolankiamit","email":"amit.fash@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/local-storage_1.3.0_1554376837447_0.2928024151353261"},"_hasShrinkwrap":false,"publish_time":1554376837596,"_cnpm_publish_time":1554376837596,"_cnpmcore_publish_time":"2021-12-16T13:41:41.700Z"},"1.2.0":{"name":"@rehooks/local-storage","version":"1.2.0","description":"React hook for local-storage","main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"tsc","build:types":"tsc --emitDeclarationOnly","documentation":"typedoc","test":"jest test","example":"npm run build && parcel example/example.html"},"repository":{"type":"git","url":"https://github.com/rehooks/local-storage.git"},"author":{"name":"Amit Solanki","email":"amit.fash@gmail.com"},"contributors":[{"name":"Joseph Harrison-Lim"}],"license":"MIT","publishConfig":{"access":"public"},"keywords":["react","hooks","local-storage","sync"],"dependencies":{"react":"^16.8.6"},"devDependencies":{"@babel/preset-env":"^7.4.2","@babel/preset-typescript":"^7.3.3","@types/jest":"^24.0.11","@types/react":"^16.8.10","babel-jest":"^24.5.0","browser-env":"^3.2.6","jest":"^24.5.0","parcel":"^1.12.3","react-dom":"^16.8.6","react-hooks-testing-library":"^0.3.8","react-testing-library":"^6.0.3","ts-jest":"^24.0.1","typedoc":"^0.14.2","typescript":"^3.4.1"},"licenseText":"Copyright (c) 2018-present LocalStorage\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@rehooks/local-storage@1.2.0","dist":{"shasum":"1352d2681433fbb5cd988812f69617d2e29e9cf8","size":4119,"noattachment":false,"key":"/@rehooks/local-storage/-/@rehooks/local-storage-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rehooks/local-storage/download/@rehooks/local-storage-1.2.0.tgz"},"maintainers":[{"name":"fouad","email":"fm@fouad.co"},{"name":"hanford","email":"jackhanford@gmail.com"},{"name":"iamsolankiamit","email":"amit.fash@gmail.com"},{"name":"jmoxey","email":"jakemoxey@gmail.com"},{"name":"mathdroid","email":"muhammad.mustadi@gmail.com"},{"name":"thejameskyle","email":"me@thejameskyle.com"}],"_npmUser":{"name":"iamsolankiamit","email":"amit.fash@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/local-storage_1.2.0_1554282579811_0.2805760819980341"},"_hasShrinkwrap":false,"publish_time":1554282579949,"_cnpm_publish_time":1554282579949,"_cnpmcore_publish_time":"2021-12-16T13:41:41.939Z"},"1.1.0":{"name":"@rehooks/local-storage","version":"1.1.0","description":"React hook for local-storage","main":"src/index.ts","scripts":{"build":"tsc","build:types":"tsc --emitDeclarationOnly","test":"jest test","example":"npm run build && parcel example/example.html"},"repository":{"type":"git","url":"https://github.com/rehooks/local-storage.git"},"author":{"name":"Amit Solanki","email":"amit.fash@gmail.com"},"contributors":[{"name":"Joseph Harrison-Lim"}],"license":"MIT","publishConfig":{"access":"public"},"keywords":["react","hooks","local-storage","sync"],"dependencies":{"react":"^16.8.6"},"devDependencies":{"@babel/preset-env":"^7.4.2","@babel/preset-typescript":"^7.3.3","@types/jest":"^24.0.11","@types/react":"^16.8.10","babel-jest":"^24.5.0","browser-env":"^3.2.6","jest":"^24.5.0","parcel":"^1.12.3","react-dom":"^16.8.6","react-hooks-testing-library":"^0.3.8","react-testing-library":"^6.0.3","ts-jest":"^24.0.1","typescript":"^3.4.1"},"licenseText":"Copyright (c) 2018-present LocalStorage\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@rehooks/local-storage@1.1.0","dist":{"shasum":"c8d45b711ab9d13c02e3c602d8d5b3d27555eb4c","size":4198,"noattachment":false,"key":"/@rehooks/local-storage/-/@rehooks/local-storage-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rehooks/local-storage/download/@rehooks/local-storage-1.1.0.tgz"},"maintainers":[{"name":"fouad","email":"fm@fouad.co"},{"name":"hanford","email":"jackhanford@gmail.com"},{"name":"iamsolankiamit","email":"amit.fash@gmail.com"},{"name":"jmoxey","email":"jakemoxey@gmail.com"},{"name":"mathdroid","email":"muhammad.mustadi@gmail.com"},{"name":"thejameskyle","email":"me@thejameskyle.com"}],"_npmUser":{"name":"iamsolankiamit","email":"amit.fash@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/local-storage_1.1.0_1554125228245_0.5094629849646357"},"_hasShrinkwrap":false,"publish_time":1554125228448,"_cnpm_publish_time":1554125228448,"_cnpmcore_publish_time":"2021-12-16T13:41:42.291Z"},"1.0.3":{"name":"@rehooks/local-storage","version":"1.0.3","description":"React hook for local-storage","main":"index.js","repository":{"type":"git","url":"git+https://github.com/rehooks/local-storage.git"},"author":{"name":"Amit Solanki","email":"amit.fash@gmail.com"},"license":"MIT","publishConfig":{"access":"public"},"keywords":["react","hooks","local-storage","sync"],"scripts":{"test":"ava test.js","example":"parcel example.html"},"dependencies":{"react":"^16.8.3"},"devDependencies":{"ava":"^0.25.0","browser-env":"^3.2.5","parcel":"^1.10.3","raf":"^3.4.0","react-dom":"^16.8.3","react-test-renderer":"^16.8.3"},"ava":{"require":["./test-setup.js"]},"gitHead":"dcca10383b52ee156b583337eb2968f11592382d","bugs":{"url":"https://github.com/rehooks/local-storage/issues"},"homepage":"https://github.com/rehooks/local-storage#readme","_id":"@rehooks/local-storage@1.0.3","_npmVersion":"6.5.0","_nodeVersion":"8.11.1","_npmUser":{"name":"iamsolankiamit","email":"amit.fash@gmail.com"},"dist":{"shasum":"3e15aa7b4d318b51e4409320d0a0c38e36d1141b","size":1852,"noattachment":false,"key":"/@rehooks/local-storage/-/@rehooks/local-storage-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rehooks/local-storage/download/@rehooks/local-storage-1.0.3.tgz"},"maintainers":[{"name":"fouad","email":"fm@fouad.co"},{"name":"hanford","email":"jackhanford@gmail.com"},{"name":"iamsolankiamit","email":"amit.fash@gmail.com"},{"name":"jmoxey","email":"jakemoxey@gmail.com"},{"name":"mathdroid","email":"muhammad.mustadi@gmail.com"},{"name":"thejameskyle","email":"me@thejameskyle.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/local-storage_1.0.3_1551248859616_0.8976820162722803"},"_hasShrinkwrap":false,"publish_time":1551248859743,"_cnpm_publish_time":1551248859743,"_cnpmcore_publish_time":"2021-12-16T13:41:42.544Z"},"1.0.2":{"name":"@rehooks/local-storage","version":"1.0.2","description":"React hook for local-storage","main":"index.js","repository":{"type":"git","url":"git+https://github.com/rehooks/local-storage.git"},"author":{"name":"Amit Solanki","email":"amit.fash@gmail.com"},"license":"MIT","publishConfig":{"access":"public"},"keywords":["react","hooks","local-storage","sync"],"scripts":{"test":"ava test.js","example":"parcel example.html"},"dependencies":{"react":"^16.7.0-alpha.0"},"devDependencies":{"ava":"^0.25.0","browser-env":"^3.2.5","parcel":"^1.10.3","raf":"^3.4.0","react-dom":"^16.7.0-alpha.0","react-test-renderer":"^16.7.0-alpha.0"},"ava":{"require":["./test-setup.js"]},"gitHead":"dcca10383b52ee156b583337eb2968f11592382d","bugs":{"url":"https://github.com/rehooks/local-storage/issues"},"homepage":"https://github.com/rehooks/local-storage#readme","_id":"@rehooks/local-storage@1.0.2","_npmVersion":"6.4.1","_nodeVersion":"8.11.1","_npmUser":{"name":"iamsolankiamit","email":"amit.fash@gmail.com"},"dist":{"shasum":"37d4d558bb65f371cfa5cdbf8bab721ca4aa3ea8","size":1832,"noattachment":false,"key":"/@rehooks/local-storage/-/@rehooks/local-storage-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rehooks/local-storage/download/@rehooks/local-storage-1.0.2.tgz"},"maintainers":[{"name":"fouad","email":"fm@fouad.co"},{"name":"hanford","email":"jackhanford@gmail.com"},{"name":"iamsolankiamit","email":"amit.fash@gmail.com"},{"name":"jmoxey","email":"jakemoxey@gmail.com"},{"name":"mathdroid","email":"muhammad.mustadi@gmail.com"},{"name":"thejameskyle","email":"me@thejameskyle.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/local-storage_1.0.2_1541405112055_0.3716253769567206"},"_hasShrinkwrap":false,"publish_time":1541405112178,"_cnpm_publish_time":1541405112178,"_cnpmcore_publish_time":"2021-12-16T13:41:42.753Z"},"1.0.0":{"name":"@rehooks/local-storage","version":"1.0.0","description":"React hook for local-storage","main":"index.js","repository":{"type":"git","url":"git+https://github.com/rehooks/local-storage.git"},"author":{"name":"Amit Solanki","email":"amit.fash@gmail.com"},"license":"MIT","publishConfig":{"access":"public"},"keywords":["react","hooks","local-storage","sync"],"scripts":{"test":"ava test.js","example":"parcel example.html"},"dependencies":{"react":"^16.7.0-alpha.0"},"devDependencies":{"ava":"^0.25.0","browser-env":"^3.2.5","parcel":"^1.10.3","raf":"^3.4.0","react-dom":"^16.7.0-alpha.0","react-test-renderer":"^16.7.0-alpha.0"},"ava":{"require":["./test-setup.js"]},"gitHead":"dcca10383b52ee156b583337eb2968f11592382d","bugs":{"url":"https://github.com/rehooks/local-storage/issues"},"homepage":"https://github.com/rehooks/local-storage#readme","_id":"@rehooks/local-storage@1.0.0","_npmVersion":"6.4.1","_nodeVersion":"8.11.1","_npmUser":{"name":"iamsolankiamit","email":"amit.fash@gmail.com"},"dist":{"shasum":"7c011559064905a41b72009341620864ea27c7d4","size":1833,"noattachment":false,"key":"/@rehooks/local-storage/-/@rehooks/local-storage-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@rehooks/local-storage/download/@rehooks/local-storage-1.0.0.tgz"},"maintainers":[{"name":"fouad","email":"fm@fouad.co"},{"name":"hanford","email":"jackhanford@gmail.com"},{"name":"iamsolankiamit","email":"amit.fash@gmail.com"},{"name":"jmoxey","email":"jakemoxey@gmail.com"},{"name":"mathdroid","email":"muhammad.mustadi@gmail.com"},{"name":"thejameskyle","email":"me@thejameskyle.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/local-storage_1.0.0_1540507050949_0.8394471449478298"},"_hasShrinkwrap":false,"publish_time":1540507051067,"_cnpm_publish_time":1540507051067,"_cnpmcore_publish_time":"2021-12-16T13:41:43.003Z"}},"readme":"# @rehooks/local-storage\n<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->\n[![All Contributors](https://img.shields.io/badge/all_contributors-8-orange.svg?style=flat-square)](#contributors-)\n<!-- ALL-CONTRIBUTORS-BADGE:END -->\n\n> React hook for enabling synchronization with local-storage.\n\n[![npm version](https://badge.fury.io/js/%40rehooks%2Flocal-storage.svg)](https://www.npmjs.com/package/@rehooks/local-storage)\n[![npm downloads](https://img.shields.io/npm/dw/@rehooks/local-storage)](https://www.npmjs.com/package/@rehooks/local-storage)\n\nAPI Docs can be found [here](https://rehooks.github.io/local-storage).\n\n## Table of Contents\n\n- [@rehooks/local-storage](#rehookslocal-storage)\n  - [Table of Contents](#table-of-contents)\n  - [Features](#features)\n  - [Install](#install)\n    - [With Yarn](#with-yarn)\n    - [With NPM](#with-npm)\n  - [Usage](#usage)\n    - [Write to Storage](#write-to-storage)\n    - [Read From Storage](#read-from-storage)\n      - [Optionally use a default value](#optionally-use-a-default-value)\n    - [Delete From Storage](#delete-from-storage)\n    - [Using With Context](#using-with-context)\n  - [Full Example](#full-example)\n  - [Contributors ✨](#contributors-)\n\n## Features\n\n- Automatic JSON serialization\n- Synchronization across multiple tabs\n- Provides functions for updating the localStorage and triggering a state update outside of the component\n- Type hinting via TypeScript\n\n## Install\n\n### With Yarn\n\n```sh\nyarn add @rehooks/local-storage\n```\n\n### With NPM\n\n```sh\nnpm i @rehooks/local-storage --save\n```\n\n## Usage\n\n### Write to Storage\n\nThis can be anywhere from within your application.\n\n> Note: Objects that are passed to writeStorage are automatically stringified.\n> This will not work for circular structures.\n\n```jsx\nimport React from 'react';\nimport { writeStorage } from '@rehooks/local-storage';\n\nlet counter = 0;\n\nconst MyButton = () => (\n  <button onClick={_ => writeStorage('i', ++counter)}>\n    Click Me\n  </button>\n);\n\n```\n\n### Read From Storage\n\nThis component will receive updates to itself from local storage.\n\n__Javascript__:\n\n```jsx\nimport React from 'react';\nimport { useLocalStorage } from '@rehooks/local-storage';\n\nfunction MyComponent() {\n  const [counterValue] = useLocalStorage('i'); // send the key to be tracked.\n  return (\n    <div>\n      <h1>{counterValue}</h1>\n    </div>\n  );\n}\n```\n\n__Typescript__:\n\n```tsx\nimport React from 'react';\nimport { useLocalStorage } from '@rehooks/local-storage';\n\nfunction MyComponent() {\n  const [counterValue] = useLocalStorage<number>('i'); // specify a type argument for your type\n  // Note: Since there was no default value provided, this is potentially null.\n  return (\n    <div>\n      <h1>{counterValue}</h1>\n    </div>\n  );\n}\n```\n\n#### Optionally use a default value\n\n> Note: Objects that are passed to useLocalStorage's default parameter will be automatically\n> stringified. This will not work for circular structures.\n\n```jsx\nimport React from 'react';\nimport { useLocalStorage } from '@rehooks/local-storage';\n\nfunction MyComponent() {\n  // Note: The type of user can be inferred from the default value type\n  const [user] = useLocalStorage('user', { name: 'Anakin Skywalker' });\n  return (\n    <div>\n      <h1>{user.name}</h1>\n    </div>\n  );\n}\n```\n\n### Delete From Storage\n\nYou may also delete items from the local storage as well.\n\n```js\nimport { writeStorage, deleteFromStorage } from '@rehooks/local-storage';\n\nwriteStorage('name', 'Homer Simpson'); // Add an item first\n\ndeleteFromStorage('name'); // Deletes the item\n\nconst thisIsNull = localStorage.getItem('name'); // This is indeed null\n```\n\n### Using With Context\n\nIt is advisable to use this hook with context if you want to have a properly \nsynchronized default value. Using `useLocalStorage` in two different components\nwith the same key but different default values can lead to unexpected behaviour.\n\nUsing Context will also prevent components from rendering and setting \ndefault values to the localStorage when you just want them to be deleted from localStorage\n(assuming the context provider also does not re-render).\n\n```jsx\nimport React, { createContext, useContext } from 'react';\nimport { useLocalStorage } from '@rehooks/local-storage';\n\nconst defaultProfile = { name: 'Spongekebob' };\nconst defaultContextValue = [defaultProfile, () => {}, () => {}];\n\nconst ProfileContext = createContext(defaultContextValue);\n\nexport const ProfileProvider = ({ children }) => {\n  const ctxValue = useLocalStorage('profile', defaultProfile);\n  return (\n    <ProfileContext.Provider value={ctxValue}>\n      {children}\n    </ProfileContext.Provider>\n  );\n};\n\nconst useProfile = () => useContext(ProfileContext);\n\nconst App = () => {\n  const [profile] = useProfile();\n  return <h1>{profile && profile.name}</h1>;\n};\n\nexport default () => {\n  return (\n    <ProfileProvider>\n      <App />\n    </ProfileProvider>\n  );\n};\n```\n\n## Full Example\n\nYou may view this example [here on StackBlitz.](https://stackblitz.com/edit/react-vbrkjb?embed=1&file=index.js)\n\n> Note: The writeStorage and deleteFromStorage functions are provided from useLocalStorage as well,\n> and do not require you to specify the key when using them.\n\n```jsx\nimport React, { Fragment } from 'react';\nimport { render } from 'react-dom';\nimport { writeStorage, deleteFromStorage, useLocalStorage } from '@rehooks/local-storage';\n\nconst startingNum = 0;\n\nconst Clicker = () => (\n  <Fragment>\n    <h4>Clicker</h4>\n    <button onClick={_ => {\n      writeStorage('num', localStorage.getItem('num')\n      ? +(localStorage.getItem('num')) + 1\n      : startingNum\n      )\n    }}>\n      Increment From Outside\n    </button>\n    <button onClick={_ => deleteFromStorage('num')}>\n      Delete From Outside\n    </button>\n  </Fragment>\n);\n\nconst IncrememterWithButtons = () => {\n  const [number, setNum, deleteNum] = useLocalStorage('num');\n\n  return (\n    <Fragment>\n      <p>{typeof(number) === 'number' ? number : 'Try incrementing the number!'}</p>\n      <button onClick={_ => setNum(number !== null ? +(number) + 1 : startingNum)}>Increment</button>\n      <button onClick={deleteNum}>Delete</button>\n    </Fragment>\n  );\n};\n\nconst App = () => (\n  <Fragment>\n    <h1> Demo </h1>\n    <IncrememterWithButtons />\n    <Clicker />\n  </Fragment>\n);\n\n// Assuming there is a div in index.html with an ID of 'root'\nrender(<App />, document.getElementById('root'));\n```\n\n## Contributors ✨\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tr>\n    <td align=\"center\"><a href=\"http://solankiamit.com\"><img src=\"https://avatars3.githubusercontent.com/u/3483526?v=4\" width=\"100px;\" alt=\"\"/><br /><sub><b>Amit Solanki</b></sub></a><br /><a href=\"https://github.com/rehooks/local-storage/commits?author=iamsolankiamit\" title=\"Code\">????</a> <a href=\"https://github.com/rehooks/local-storage/commits?author=iamsolankiamit\" title=\"Documentation\">????</a> <a href=\"#ideas-iamsolankiamit\" title=\"Ideas, Planning, & Feedback\">????</a> <a href=\"https://github.com/rehooks/local-storage/pulls?q=is%3Apr+reviewed-by%3Aiamsolankiamit\" title=\"Reviewed Pull Requests\">????</a></td>\n    <td align=\"center\"><a href=\"https://jharrilim.github.io/\"><img src=\"https://avatars1.githubusercontent.com/u/19535809?v=4\" width=\"100px;\" alt=\"\"/><br /><sub><b>Joe</b></sub></a><br /><a href=\"https://github.com/rehooks/local-storage/commits?author=jharrilim\" title=\"Code\">????</a> <a href=\"#example-jharrilim\" title=\"Examples\">????</a> <a href=\"#ideas-jharrilim\" title=\"Ideas, Planning, & Feedback\">????</a> <a href=\"#maintenance-jharrilim\" title=\"Maintenance\">????</a> <a href=\"https://github.com/rehooks/local-storage/pulls?q=is%3Apr+reviewed-by%3Ajharrilim\" title=\"Reviewed Pull Requests\">????</a> <a href=\"https://github.com/rehooks/local-storage/commits?author=jharrilim\" title=\"Tests\">⚠️</a></td>\n    <td align=\"center\"><a href=\"https://github.com/fatihky\"><img src=\"https://avatars0.githubusercontent.com/u/4169772?v=4\" width=\"100px;\" alt=\"\"/><br /><sub><b>Fatih Kaya</b></sub></a><br /><a href=\"https://github.com/rehooks/local-storage/commits?author=fatihky\" title=\"Code\">????</a> <a href=\"https://github.com/rehooks/local-storage/commits?author=fatihky\" title=\"Tests\">⚠️</a> <a href=\"https://github.com/rehooks/local-storage/issues?q=author%3Afatihky\" title=\"Bug reports\">????</a></td>\n    <td align=\"center\"><a href=\"https://hübenthal.no\"><img src=\"https://avatars3.githubusercontent.com/u/404102?v=4\" width=\"100px;\" alt=\"\"/><br /><sub><b>Jarl André Hübenthal</b></sub></a><br /><a href=\"https://github.com/rehooks/local-storage/commits?author=jarlah\" title=\"Code\">????</a> <a href=\"https://github.com/rehooks/local-storage/commits?author=jarlah\" title=\"Tests\">⚠️</a> <a href=\"https://github.com/rehooks/local-storage/issues?q=author%3Ajarlah\" title=\"Bug reports\">????</a></td>\n    <td align=\"center\"><a href=\"https://jamie.build/\"><img src=\"https://avatars0.githubusercontent.com/u/952783?v=4\" width=\"100px;\" alt=\"\"/><br /><sub><b>Jamie Kyle</b></sub></a><br /><a href=\"https://github.com/rehooks/local-storage/commits?author=jamiebuilds\" title=\"Code\">????</a></td>\n    <td align=\"center\"><a href=\"http://devalbo.blogspot.com/\"><img src=\"https://avatars3.githubusercontent.com/u/1653890?v=4\" width=\"100px;\" alt=\"\"/><br /><sub><b>Albert Boehmler</b></sub></a><br /><a href=\"https://github.com/rehooks/local-storage/commits?author=devalbo\" title=\"Code\">????</a> <a href=\"https://github.com/rehooks/local-storage/issues?q=author%3Adevalbo\" title=\"Bug reports\">????</a></td>\n    <td align=\"center\"><a href=\"https://github.com/gmdayley\"><img src=\"https://avatars3.githubusercontent.com/u/647130?v=4\" width=\"100px;\" alt=\"\"/><br /><sub><b>Gabriel Dayley</b></sub></a><br /><a href=\"https://github.com/rehooks/local-storage/commits?author=gmdayley\" title=\"Code\">????</a> <a href=\"https://github.com/rehooks/local-storage/issues?q=author%3Agmdayley\" title=\"Bug reports\">????</a></td>\n  </tr>\n  <tr>\n    <td align=\"center\"><a href=\"https://github.com/mayteio\"><img src=\"https://avatars1.githubusercontent.com/u/43975092?v=4\" width=\"100px;\" alt=\"\"/><br /><sub><b>Harley Alexander</b></sub></a><br /><a href=\"#maintenance-mayteio\" title=\"Maintenance\">????</a> <a href=\"https://github.com/rehooks/local-storage/commits?author=mayteio\" title=\"Code\">????</a> <a href=\"https://github.com/rehooks/local-storage/issues?q=author%3Amayteio\" title=\"Bug reports\">????</a> <a href=\"https://github.com/rehooks/local-storage/commits?author=mayteio\" title=\"Tests\">⚠️</a></td>\n  </tr>\n</table>\n\n<!-- markdownlint-enable -->\n<!-- prettier-ignore-end -->\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!\n","_attachments":{},"homepage":"https://github.com/rehooks/local-storage#readme","bugs":{"url":"https://github.com/rehooks/local-storage/issues"},"license":"MIT"}