{"_id":"money-clip","_rev":"14-1a680361c37a10138bb1e86279e51e50","name":"money-clip","dist-tags":{"latest":"4.0.0"},"versions":{"1.0.0":{"name":"money-clip","version":"1.0.0","keywords":["PWA","cache","indexeddb"],"author":{"url":"joreteg.com","name":"Henrik Joreteg","email":"henrik@joreteg.com"},"license":"MIT","_id":"money-clip@1.0.0","maintainers":[{"name":"henrikjoreteg","email":"henrik@joreteg.com"}],"homepage":"https://github.com/HenrikJoreteg/money-clip","bugs":{"url":"https://github.com/HenrikJoreteg/money-clip/issues"},"dist":{"shasum":"8e1371ae021ebcbcc2e1d45e2f543d7dd22c7b4f","tarball":"https://registry.npmjs.org/money-clip/-/money-clip-1.0.0.tgz","fileCount":8,"integrity":"sha512-N2Cf4HP4r+QcYIViRlK368FN0xHWxX4s6t8Rw4NjYFb3fFkaZT/Z8FnuZOmW0JFfns5w869Vy7mgZiyFvfW2NA==","signatures":[{"sig":"MEUCICog8sLubWzsMtF54F97ZxMQXpyvV0DmJoDKdyMQ632YAiEA0MiWDA99nOYkt1X+0h9JGZyrK9q7o7PmScKnrYkuvoA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":28968},"main":"dist/money-clip.js","files":["dist"],"module":"dist/money-clip.m.js","source":"src/index.js","gitHead":"fb28321f41ca7a4b8656f16c0091621fa068e0a3","scripts":{"build":"microbundle","prepublish":"npm run build"},"_npmUser":{"name":"henrikjoreteg","email":"henrik@joreteg.com"},"prettier":{"semi":false,"singleQuote":true},"repository":{"url":"git+https://github.com/HenrikJoreteg/money-clip.git","type":"git"},"_npmVersion":"5.6.0","description":"For managing your client side cache. Tiny wrapper over IndexedDB supporting versioning and max age.","directories":{},"_nodeVersion":"8.9.4","dependencies":{"idb-keyval":"2.3.0"},"_hasShrinkwrap":false,"devDependencies":{"microbundle":"0.4.4"},"_npmOperationalInternal":{"tmp":"tmp/money-clip_1.0.0_1520576519508_0.9748185854541156","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"money-clip","version":"2.0.0","keywords":["PWA","cache","indexeddb"],"author":{"url":"joreteg.com","name":"Henrik Joreteg","email":"henrik@joreteg.com"},"license":"MIT","_id":"money-clip@2.0.0","maintainers":[{"name":"henrikjoreteg","email":"henrik@joreteg.com"}],"homepage":"https://github.com/HenrikJoreteg/money-clip","bugs":{"url":"https://github.com/HenrikJoreteg/money-clip/issues"},"dist":{"shasum":"209598e7c7171824a96b1eaa1fe33bf1a7be21b9","tarball":"https://registry.npmjs.org/money-clip/-/money-clip-2.0.0.tgz","fileCount":8,"integrity":"sha512-tPwNu4ZtaCNGo4ERUfFxci44s5yiiaVydt/OnS38FgZNH1pctGDMEgBv9mYr4uOnKvjMyCHjrrtMtJ/z3neJkQ==","signatures":[{"sig":"MEUCIQD5iG3tSWeUd0up17Y7TjUfBqQwDhs+Xm6JKqDiaZWNhQIgBXZFOXlftobQ/sHMGMTCIENG3da08ogRugEohpsu35M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33009},"main":"dist/money-clip.js","files":["dist"],"module":"dist/money-clip.m.js","source":"index.js","gitHead":"8c628bc02bf6b2ec8f54b6ad148099f708a6dd22","scripts":{"test":"tape test.js","build":"microbundle","prepublish":"npm run build"},"_npmUser":{"name":"henrikjoreteg","email":"henrik@joreteg.com"},"prettier":{"semi":false,"singleQuote":true},"repository":{"url":"git+https://github.com/HenrikJoreteg/money-clip.git","type":"git"},"_npmVersion":"5.6.0","description":"For managing your client side cache. Tiny wrapper over IndexedDB supporting versioning and max age.","directories":{},"_nodeVersion":"8.9.4","dependencies":{"idb-keyval":"2.3.0"},"_hasShrinkwrap":false,"devDependencies":{"tape":"4.9.0","@std/esm":"0.25.2","microbundle":"0.4.4"},"_npmOperationalInternal":{"tmp":"tmp/money-clip_2.0.0_1520622330621_0.08392958663612404","host":"s3://npm-registry-packages"}},"2.0.1":{"name":"money-clip","version":"2.0.1","keywords":["PWA","cache","indexeddb"],"author":{"url":"joreteg.com","name":"Henrik Joreteg","email":"henrik@joreteg.com"},"license":"MIT","_id":"money-clip@2.0.1","maintainers":[{"name":"henrikjoreteg","email":"henrik@joreteg.com"}],"homepage":"https://github.com/HenrikJoreteg/money-clip","bugs":{"url":"https://github.com/HenrikJoreteg/money-clip/issues"},"dist":{"shasum":"bb20e51010a1533a2e5f2164f85369de29f94ec6","tarball":"https://registry.npmjs.org/money-clip/-/money-clip-2.0.1.tgz","fileCount":8,"integrity":"sha512-rvELF9FSUVw7qSkxadIXEm0OqoJ01aqo7U7zyIK/uzk0J52OA05qjbKRLrd0uXwItGgYnvI964im3zwLNBxREg==","signatures":[{"sig":"MEUCIQDtUAWXqkM8Vx7WdoRnTMZa0q0DrDnFDSQAM1azOqPTVgIgU93qvv+9P6fzYkLYY2dAtRgUNgJwEYXU0gzOPlHyVZA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32691},"main":"dist/money-clip.js","files":["dist"],"module":"dist/money-clip.m.js","source":"index.js","gitHead":"baec62efcb0fc4aa2fd4c1017e3971abe234b158","scripts":{"test":"tape test.js","build":"microbundle","prepublish":"npm run build"},"_npmUser":{"name":"henrikjoreteg","email":"henrik@joreteg.com"},"prettier":{"semi":false,"singleQuote":true},"repository":{"url":"git+https://github.com/HenrikJoreteg/money-clip.git","type":"git"},"_npmVersion":"5.6.0","description":"For managing your client side cache. Tiny wrapper over IndexedDB supporting versioning and max age.","directories":{},"_nodeVersion":"8.9.4","dependencies":{"idb-keyval":"2.3.0"},"_hasShrinkwrap":false,"devDependencies":{"tape":"4.9.0","@std/esm":"0.25.2","microbundle":"0.4.4"},"_npmOperationalInternal":{"tmp":"tmp/money-clip_2.0.1_1521071366862_0.06535836742889889","host":"s3://npm-registry-packages"}},"2.0.2":{"name":"money-clip","version":"2.0.2","keywords":["PWA","cache","indexeddb"],"author":{"url":"joreteg.com","name":"Henrik Joreteg","email":"henrik@joreteg.com"},"license":"MIT","_id":"money-clip@2.0.2","maintainers":[{"name":"henrikjoreteg","email":"henrik@joreteg.com"}],"homepage":"https://github.com/HenrikJoreteg/money-clip","bugs":{"url":"https://github.com/HenrikJoreteg/money-clip/issues"},"dist":{"shasum":"b3ce7746274c778532ac7e69178a863ed1c8037b","tarball":"https://registry.npmjs.org/money-clip/-/money-clip-2.0.2.tgz","fileCount":8,"integrity":"sha512-ji9LmyJ7OCwWPFpUFyXX1cyR2SMR9tPWJYcqptf2NbXI39C0CKx33tMtsMU6CHNn54msWFKFGMIntXPWgbQwIQ==","signatures":[{"sig":"MEYCIQDfOQfZPWdU8hcVHkEbiINWIhsa4kT0TOAK86soHl2UQAIhAMuIdc0wBrbFWTu+Ys2Oz1sP4uBFCMBnDTmNJAfxv/5H","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32332,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa9m/LCRA9TVsSAnZWagAAzXQP/01gsXSxP+sTxuuFXO0l\nvw/WhWfUIYSnb/vzONXy7A95vHEh4E+ENWxowfQxmt8I7L+WMfGknfP6hvcr\nf9umirjuQPCU4jMLu1KyTlme+m369sfjxsG9tpPDblK6HxtfxBbJrEdx/UTG\nW4M1MmJzpZCCULmGcAbkJEpNdE8dW7tCyw7/7xzIN9SjZxdADvU6zPScQU4C\nYJqYz2DNv6CtrO8iH3ts+jc10WLtTLVwIoeJKnZ+Nh26BcvRxXZQkEpWuKMf\nk00eiXoPBPsDl94nbcsDS+IGDGTPI5uMyzjwuvsuA77dv65GyCgKD9IWgsQ8\nTA2MogvHwOaDurkuCzOxf6EdkiNpMW+VczHydj+iPUBIwTngCTfy3+9iKa83\ngsEigzdPE3K03gefSgd5dYjOhQNaQmiH1NGK7Gub1cvwIK1NqsKx+cBOdHmz\nhf40A29hsl+++9aS2axsM+LWdBR67DEdXd60S0TdZpuBqiKmOHKW1ma0EqlI\nVWL2aONoKS5HcxUInQEr4Gq426dCf/oreSdDjcEePryghlLkcZbXyLClZgwd\nDB/s/VKP4rCLledmefSxPVCdpdrpTHltN7+I8O191JIXgRhjXNkZdLZShoP9\nfi+rttXGNV9RWtozlOOhS0sLsTsdFUnoJ14uf5Q4Jszv2e4LsHvcFzQF+o1T\noTtG\r\n=/VoF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/money-clip.js","files":["dist"],"module":"dist/money-clip.m.js","source":"index.js","gitHead":"5b474ebc030d427792bb930f8d05cf493bc94499","scripts":{"test":"tape test.js","build":"microbundle","prepublish":"npm run build"},"_npmUser":{"name":"henrikjoreteg","email":"henrik@joreteg.com"},"prettier":{"semi":false,"singleQuote":true},"repository":{"url":"git+https://github.com/HenrikJoreteg/money-clip.git","type":"git"},"_npmVersion":"5.6.0","description":"For managing your client side cache. Tiny wrapper over IndexedDB supporting versioning and max age.","directories":{},"_nodeVersion":"8.9.4","dependencies":{"idb-keyval":"3.0.3"},"_hasShrinkwrap":false,"devDependencies":{"tape":"4.9.0","@std/esm":"0.25.2","microbundle":"0.4.4"},"_npmOperationalInternal":{"tmp":"tmp/money-clip_2.0.2_1526099913730_0.6259198993732524","host":"s3://npm-registry-packages"}},"2.1.0":{"name":"money-clip","version":"2.1.0","keywords":["PWA","cache","indexeddb"],"author":{"url":"joreteg.com","name":"Henrik Joreteg","email":"henrik@joreteg.com"},"license":"MIT","_id":"money-clip@2.1.0","maintainers":[{"name":"henrikjoreteg","email":"henrik@joreteg.com"}],"homepage":"https://github.com/HenrikJoreteg/money-clip","bugs":{"url":"https://github.com/HenrikJoreteg/money-clip/issues"},"dist":{"shasum":"9acfe42fd98861f841723e38f8b5fb2611a97bf2","tarball":"https://registry.npmjs.org/money-clip/-/money-clip-2.1.0.tgz","fileCount":8,"integrity":"sha512-VMVN04LaRfY3puF20QW2d/0Jm2FVAHBv+nFrsV6ibnfrJ7yMPZ6iyzWMbZ49eRsz8ZLin3Tkc2Vj29uMwz1pWg==","signatures":[{"sig":"MEUCIQD6TZ5atSVdV8oNmVdDw0gp/nRGWjSL1dnpyN5wo64SLQIgKp6GlmFbI36BRhCABFoDKZ1j/iMlRhARR/Esq8kJlLo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":34243,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbOQaUCRA9TVsSAnZWagAAbmsP/iopLXAnq9jSVHpqRszQ\ntK7Xb19SB0GOMERHPMQpDDJ9j4OWxu9H7Oh2eJxO2li/mxPpmOvNM+y1R4Qs\nqyTx4401/Qr6IGEzfl+cmsoAIG/lHT9PwkGFD3FC3ZC53zF6xie4TtxNNAX1\nVSgYefxWsVEBMWnsidT4tnsoLizJBZtRtT0iN+qkI7kUStE+fJiUDJ7HCQby\nln9rJL8Q7CDZc6/K3d8XWfNofrruY687dxHgdJI2lI1O0DtDwivZxlaX9psy\nBNoop7pwIBud35kEgdX9T/wfwlxyoAWZU9BDyVhmqnV9VHACVV9AfeTC40ci\nrFQWak/xR53G4afQeoJutvTlz79xM/nRhuQd/JYwogUA0Z2s3ske30zjlfAb\nSqNUX8iYXilezIi9iE5Rm639VFKSJ+NdKoSHOQe+pxI/d4GsDAT+7hmcq06s\nSDcsCNYeHYKa9VRH/dC5OZRx8fwHeczn9/kVIWE1GuYwQlCZbcUtQs8I910c\nfdcjSfso6k+NtYWm3VTLq3XRyXTMV2mGWAmEkiJJzMA5k/aysP6THqCz4RMZ\n9QEuNC6mABANc4fp6wO9iRZO7oCaSjXLgU06tIfGu+lJjaoyNI1gxsoHy31s\nbQlBgm2qIxQPP7HbM0FaBSCv8T6NbhJwYXSl7kfc8O5rkQpRbZjK0hQsywLW\nrImY\r\n=iMc5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/money-clip.js","files":["dist"],"module":"dist/money-clip.m.js","source":"index.js","gitHead":"d91b44d379bbf494ad81062bb73b752cdbc32e56","scripts":{"test":"tape test.js","build":"microbundle","prepublish":"npm run build"},"_npmUser":{"name":"henrikjoreteg","email":"henrik@joreteg.com"},"prettier":{"semi":false,"singleQuote":true},"repository":{"url":"git+https://github.com/HenrikJoreteg/money-clip.git","type":"git"},"_npmVersion":"6.1.0","description":"For managing your client side cache. Tiny wrapper over IndexedDB supporting versioning and max age.","directories":{},"_nodeVersion":"8.9.4","dependencies":{"idb-keyval":"3.0.3"},"_hasShrinkwrap":false,"devDependencies":{"tape":"4.9.0","@std/esm":"0.25.2","microbundle":"0.4.4"},"_npmOperationalInternal":{"tmp":"tmp/money-clip_2.1.0_1530463892256_0.02712178155596523","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"money-clip","version":"3.0.0","keywords":["PWA","cache","indexeddb"],"author":{"url":"joreteg.com","name":"Henrik Joreteg","email":"henrik@joreteg.com"},"license":"MIT","_id":"money-clip@3.0.0","maintainers":[{"name":"henrikjoreteg","email":"henrik@joreteg.com"}],"homepage":"https://github.com/HenrikJoreteg/money-clip","bugs":{"url":"https://github.com/HenrikJoreteg/money-clip/issues"},"dist":{"shasum":"6607831506834e43f1adbf5c9f495303f8fe52c7","tarball":"https://registry.npmjs.org/money-clip/-/money-clip-3.0.0.tgz","fileCount":5,"integrity":"sha512-7mwFLGmz1Wl2nEixGcp/T+Oc2zksRltJ6zpWlCryJNQB8wyQxxtm9yfUUlI3e/AM++5Jt4gX0UzIJm8XU4w+gg==","signatures":[{"sig":"MEUCIGBId9MpA7H8Y4V6caJFcAzcpbO4x0AYbfb2UZaaOSymAiEAq8ajaS6TRakP+yAbyQNVNO0KYBgSPMxYNLY/y4JH+N4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42979,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbrvUaCRA9TVsSAnZWagAAlB4P/1c4KL8CFVgTAMDB7YL3\nwDuRKnHHAy/SwIqFEW/3WaMp6S0vAN5A2sdwl1d/cyM4mfDFUrWJXhSgStTt\nBg6tK9v0TBJyl0bFVGNSQhps+oNUAU4Ot9i3hWcpspQ+YJhrRWap7dy//XZi\n5X6ZvG57vbe14xSthThl3oQQn7EW5w0JpcwpPNehJiBdl1yD8t7lnfsF1I9I\nbJ/zHWklpqR69UPfTcl3jRTozNNz9mW4/uumHkA+RaDxGGX94xbbpP/Q5WHB\nEKjt0QSLqDoLd/qXqX95pMSvIN2YHfGC9w/KpxW/STfpq9AOKIHR5t/JWhML\nQYkpZT9GwFv35o8UQVwRLSkbYYiOIAFTNtneroMzUtFNvBz1hAapeT1bwWQ8\nlVXWiIovW93YPxJpfjyDs1pcZUo8HCGGRATtWd4wIxAsriaZAD/YT+IR5GOK\nbvHHgPpDZorpFnqFLJZ6cJX5B65vckV3Lku3/0fvgNZjrA/8vdoeUM38x4T9\nmhT3uAF+qIh7Ewmot4rRXIEN4BP/BqYsj/9YqhyfvySOiYiMcuP7KqsHi4+J\nuqZx2ImehBVQ3wbKt3K2nUPOtPvNX+swYwVUjj5dDrCKt1Ki1K78JF9PbvBI\nQLRCys95fgT/8iQILxCihNkErefVFmfSHUor62J7S3RWpejkCsAnhcoyVgts\nxwDh\r\n=8WUu\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/money-clip.js","module":"dist/money-clip.m.js","source":"index.js","gitHead":"03714b61190c9165231891f7aaf2fef744d65049","scripts":{"test":"tape test.js","build":"microbundle --external none --compress false --sourcemap false","prepublish":"npm run build"},"_npmUser":{"name":"henrikjoreteg","email":"henrik@joreteg.com"},"prettier":{"semi":false,"singleQuote":true},"repository":{"url":"git+https://github.com/HenrikJoreteg/money-clip.git","type":"git"},"_npmVersion":"6.4.1","description":"For managing your client side cache. Tiny wrapper over IndexedDB supporting versioning and max age.","directories":{},"_nodeVersion":"10.10.0","dependencies":{"idb-keyval":"3.1.0"},"_hasShrinkwrap":false,"devDependencies":{"tape":"4.9.0","@std/esm":"0.25.2","microbundle":"0.6.0"},"_npmOperationalInternal":{"tmp":"tmp/money-clip_3.0.0_1538192665822_0.2373768298870882","host":"s3://npm-registry-packages"}},"3.0.1":{"name":"money-clip","version":"3.0.1","keywords":["PWA","cache","indexeddb"],"author":{"url":"joreteg.com","name":"Henrik Joreteg","email":"henrik@joreteg.com"},"license":"MIT","_id":"money-clip@3.0.1","maintainers":[{"name":"henrikjoreteg","email":"henrik@joreteg.com"}],"homepage":"https://github.com/HenrikJoreteg/money-clip","bugs":{"url":"https://github.com/HenrikJoreteg/money-clip/issues"},"dist":{"shasum":"d476cdf5534bb44cab76ce7175b866f40517f3ea","tarball":"https://registry.npmjs.org/money-clip/-/money-clip-3.0.1.tgz","fileCount":5,"integrity":"sha512-4vRnMOoMYCHonM4PNHlMmj+WsF7hrES0UN0DjDljP1I2eLI2rXo50kQftXGQn3b1+Ko0crTPtSy3kb9xzBKmow==","signatures":[{"sig":"MEQCIAaETE0CcvalxqDhQc/XVEXbeUNuT+7Wy7ZcBuQAR2B9AiAiZz0Ai7GdiICNr/QEnEr48SF2S7gl101EgsSvz1h7TA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42997,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcK58RCRA9TVsSAnZWagAAd6UQAIdD+kF57ceOVQ5CF+UM\nlQXhguybw3cZlSqF44GgAJxjPx7VtYRG8A6+L5G/zm5UwK6NNYhMkt9fsoAz\n9oPu/kEF7VM64J4eC4AGQ0Hsbt+oK4hjVbgGwllBcLQwJNonVQnytaaSUMgE\n5/IkMlh/BDhIjStHBq8cHh7HRLw+Fu4on3PACyQ6yzhoS8VyCKR8RPUYNgZ3\nHFxHk5HScXg7V6Q2pfHGFGpHhIwjjhvOrA4jJ2ei6OfOq/zZfCMdFE/qJCAH\nyXU8a8AcY86s9cmC3NqwmUKyFfGEIpeZNSBAWLa2rOxCEkZdU6h0uR3Xzdao\niW+RQBTQ0IMZMaBUtmixQ0n2NFuIlCqnn/rVgH38SBmNk/zKdn85s+CGsiSz\nk8vMSnlibJTzJYfEujF6I9+5JG9EP/lm64x+rJlXVILMsjqdMtjI5xWIsDYM\nqiGyxR2uu6wo5MmC+HwKA0KFKIJCgd5PlSGemTumgwk8EWuhPeK3WrwZ6E67\n6eejzbuPwQDn16MY1If3iIOVEMxGl9AOuvHuaQD5mW8BEHo4ABr4m2OkMERZ\n6co1ZBby08xsf5RxcIALlZCljKsU7a5zNCnNs7dPVakjSJdMd4metH3CQkqs\n/uTAfZQ6RIiRdKTMllaDEFLOL4U4gSFdMRfC8ed/QPB8D9f4BihmNGSk754i\nB9Uu\r\n=Vub5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/money-clip.js","module":"dist/money-clip.m.js","source":"index.js","gitHead":"3638b7fd63f750d8bf462d19df583912356cc591","scripts":{"test":"tape test.js","build":"microbundle --external none --compress false --sourcemap false","prepublish":"npm run build"},"_npmUser":{"name":"henrikjoreteg","email":"henrik@joreteg.com"},"prettier":{"semi":false,"singleQuote":true},"repository":{"url":"git+https://github.com/HenrikJoreteg/money-clip.git","type":"git"},"_npmVersion":"6.5.0","description":"For managing your client side cache. Tiny wrapper over IndexedDB supporting versioning and max age.","directories":{},"_nodeVersion":"11.2.0","dependencies":{"idb-keyval":"3.1.0"},"_hasShrinkwrap":false,"devDependencies":{"tape":"4.9.0","@std/esm":"0.25.2","microbundle":"0.6.0"},"_npmOperationalInternal":{"tmp":"tmp/money-clip_3.0.1_1546362640968_0.002509871325259816","host":"s3://npm-registry-packages"}},"3.0.2":{"name":"money-clip","version":"3.0.2","keywords":["PWA","cache","indexeddb"],"author":{"url":"joreteg.com","name":"Henrik Joreteg","email":"henrik@joreteg.com"},"license":"MIT","_id":"money-clip@3.0.2","maintainers":[{"name":"henrikjoreteg","email":"henrik@joreteg.com"}],"homepage":"https://github.com/HenrikJoreteg/money-clip","bugs":{"url":"https://github.com/HenrikJoreteg/money-clip/issues"},"dist":{"shasum":"07d82e572b4250b3e07b8bf1febf458c9685d645","tarball":"https://registry.npmjs.org/money-clip/-/money-clip-3.0.2.tgz","fileCount":5,"integrity":"sha512-S/AzTAXnEIMwMGHjjeKaPm49hFK3udtJeXtfdhfdiDMz6VnVcyxTv7/waIByHipDOic2Ynlux2L6bldCGfWSTg==","signatures":[{"sig":"MEUCIEHWSFApf24MBqL4rGfiEBZjzXe/e9kIzoy6w6/M+aBAAiEAl1XN/3gsbRJKcUYz7rhG2K/D1HFfiBEFuoaRDbSjMjw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":43122,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJedNB8CRA9TVsSAnZWagAA9lwP/0XyAdKw1WC7a9yM7CIp\nrcbk5lwghT4u3zwoiSlzsZfSLS1r6SkFh2NzWeVaP7Ag/yMwQQYvuWf71NlT\n6G7MhrqPiWQIQ6KSky7t8MbXE/HzXnOy5TEobUY/5dnDtx5chfdEn3IMxHWu\nMVES5nXia3oWx5AQEHjQF7D1hlxEDaHCYH9bOJ6YhC0RnBpZdHbNoEUexhRQ\nMNTxbQ5uR5wWk6ATFZ6oxK1UcUXqGtcHdrkaJVPs30/hn2v7VDEzKXJPsFBE\nPBFFa0qCVIJVsMw+6x48JjvAO8V2zNOMiT8opNcItX18ub8iRuNxQKd+nQnT\nKvnXeQYWziAufLr7m6mVvRX1iMhAypFZkTmdDdnzgnXyhQsPQhQYLfDw+MVZ\nI2uuTLPwoJFTBZzxjEYJjLSlDutRWPYeKeZI78C3xd2GShZCs7G23sesVjQe\n3amnHP7wv7LnqSLA5NtcxDNbZpYBgxdFPo0cwauqm8MzWsi/wviWexV72GIw\n92QQzLqfYI7G+Moyz3pW+nXWtJmljKafrC/EDKjkZIO8cXJn9FLMks2B1eG3\nL1qms08ZpDz73QtC2zvzFabBKacEn/Y0ymG2qjkoTxye+yENUjCFghh5P4rY\no3qR75Lm+QgxuVcJfUI799T7STF6aMKW8/NMwkJ5LrVoLofdnREfI3evAHC8\ni5OB\r\n=Q+mG\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/money-clip.js","module":"dist/money-clip.m.js","source":"index.js","gitHead":"efe55465e64f324479272c0e487d1445365266db","scripts":{"test":"tape test.js","build":"microbundle --external none --compress false --sourcemap false","prepublish":"npm run build"},"_npmUser":{"name":"henrikjoreteg","email":"henrik@joreteg.com"},"prettier":{"semi":false,"singleQuote":true},"repository":{"url":"git+https://github.com/HenrikJoreteg/money-clip.git","type":"git"},"_npmVersion":"6.14.2","description":"For managing your client side cache. Tiny wrapper over IndexedDB supporting versioning and max age.","directories":{},"_nodeVersion":"10.16.3","dependencies":{"idb-keyval":"3.1.0"},"_hasShrinkwrap":false,"devDependencies":{"tape":"4.9.0","@std/esm":"0.25.2","microbundle":"0.6.0"},"_npmOperationalInternal":{"tmp":"tmp/money-clip_3.0.2_1584713852158_0.24692457250950905","host":"s3://npm-registry-packages"}},"3.0.3":{"name":"money-clip","version":"3.0.3","keywords":["PWA","cache","indexeddb"],"author":{"url":"joreteg.com","name":"Henrik Joreteg","email":"henrik@joreteg.com"},"license":"MIT","_id":"money-clip@3.0.3","maintainers":[{"name":"henrikjoreteg","email":"henrik@joreteg.com"}],"homepage":"https://github.com/HenrikJoreteg/money-clip","bugs":{"url":"https://github.com/HenrikJoreteg/money-clip/issues"},"dist":{"shasum":"a66a2568f99342a9aa05e68605ca622aa5bdd377","tarball":"https://registry.npmjs.org/money-clip/-/money-clip-3.0.3.tgz","fileCount":5,"integrity":"sha512-YqprCnhpKXC6RGtd1WxrI79IBL6nph1IkSQOzyyh6rq1KiRFDyIV4Ud15IkycrqsZV0BlN1zMgzvUWIyv3hs1g==","signatures":[{"sig":"MEUCICSnoLBDUwxeJvJGNUpYod3ZmtoI9DPEtzWQl9ndfLA6AiEA6KLy3cPcU9ZF6EIaH+IOMenIB2SPOL2lMDbAQxTwiXM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":43069,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf/7QvCRA9TVsSAnZWagAAzRIP/iczToXSp97/tugYxhtb\ngg4kULcYt9jRQp2HneIW2idXVAf/iTV9SvDGeotV0p+vGl/sGSWKSK4SIBa9\nl9VXibc6kJIT5wYoOvJ9SrRwRapglrLs2HgM6ExqJqBuoISi81ROCo7RLCVZ\n+vg1vDa2VUE2hN+f4jvdXC8TMw7cSy/UjmmLS2Hbt3qtfmMUSKJjRMUa4Kcu\ndJKawd9VM3PePcMkEXG9lODzAmEjjyPf6hmH+SxKPFhqRlDWGAvDPOi4x9iY\niKTHuhs/pgDRdtm7TUj1cD+bBwg9YzZanNIqJBoc6AN/wV6vlbkMBDRtcW+x\n7RU3QyRsr/eYyRgMx6c26XT2Nau+pZKNGKLwUwr9UuLoNfIum7dxKSnk+dEX\nb8+2J7aBMKhVn1453ca6LPwi1NyYBsv+z54Gyvj/iFne59mRiDXFHCMqRoaB\nXi07kHIWhWMcpqCzvP5LQHqvmXQ9VHPsQxnprt2B8Pe7I2OYj6jbWtsGw87+\nmKxUN1sdeVaB9ijuyZqYTlGzfcEe2hVpy2sIO6/7CvdCuJVpA6fjlFiCgzVa\nY/mL/rIS4n7Bw0ROS22gnSUgoxBQavRei7Lmp5llwPk9DNQXn4Q+qJySUX1Q\nNUeufcFSNvQTL6WpMBYXip5DYbdJ5FMvKkjN4oaBvoMmSe8u/RexoOK+LzV1\nnBeV\r\n=Bh/w\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/money-clip.js","module":"dist/money-clip.m.js","source":"index.js","gitHead":"572fa6d06d09640b221841a64eeafb3341f1d9bf","scripts":{"test":"tape test.js","build":"microbundle --external none --compress false --sourcemap false","prepublish":"npm run build"},"_npmUser":{"name":"henrikjoreteg","email":"henrik@joreteg.com"},"prettier":{"semi":false,"singleQuote":true},"repository":{"url":"git+https://github.com/HenrikJoreteg/money-clip.git","type":"git"},"_npmVersion":"6.14.9","description":"For managing your client side cache. Tiny wrapper over IndexedDB supporting versioning and max age.","directories":{},"_nodeVersion":"14.15.3","dependencies":{"idb-keyval":"3.1.0"},"_hasShrinkwrap":false,"devDependencies":{"tape":"4.9.0","@std/esm":"0.25.2","microbundle":"0.6.0"},"_npmOperationalInternal":{"tmp":"tmp/money-clip_3.0.3_1610593326685_0.760593264788473","host":"s3://npm-registry-packages"}},"3.0.4":{"name":"money-clip","version":"3.0.4","keywords":["PWA","cache","indexeddb"],"author":{"url":"joreteg.com","name":"Henrik Joreteg","email":"henrik@joreteg.com"},"license":"MIT","_id":"money-clip@3.0.4","maintainers":[{"name":"henrikjoreteg","email":"henrik@joreteg.com"}],"homepage":"https://github.com/HenrikJoreteg/money-clip","bugs":{"url":"https://github.com/HenrikJoreteg/money-clip/issues"},"dist":{"shasum":"a3f388f1efce860907322866e44d29d55f4caf28","tarball":"https://registry.npmjs.org/money-clip/-/money-clip-3.0.4.tgz","fileCount":6,"integrity":"sha512-bRTzrmdw3Wfvm69Q7vTCUoYDWXm1dl9Il+asVM+iaFqTD0qySxTA0x22ktCyCbgvLG0Mxi5c2nKSOnEC0s93Xw==","signatures":[{"sig":"MEYCIQCZ04C5Lu2rI1VVnN9VAfYmmoXadYq1rinjhUnO+a9ulAIhAItJovbfxi+2L8C3nH6eJzjhWbRMXLrkvCSVtij6Xlfs","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42434,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhEbrzCRA9TVsSAnZWagAAxgcP/iOBUZKw+CK8+yRLrcoc\nCv8+ylfcTRDrnWCI+HQ7s9b+eDakfqYqcdjvbwj8xJfjV0tnwCZcGleEs5Zf\ngh9DqElSePs1GqNgOXnsYGa3ezypxVm9sq2R57gpBYaPkRB7lMSl5W8WAeMO\nZLFtZk4npJ08LkJGo6sixKn4sP85Kxj/UvsQsiY2BvBO4/Gm5Lnvs1iMb89t\nSiXVJmhoT6WEqhiwFRuFgCdBwWxRa8RNuoHuDEGKvFC67+5R7xl/tqdXNtQn\ntcYJl6jr9pmBGEb88zEncwdA+9vw9X6+nYaI67hjxrPvtFLcPGfA95B38Xm0\ndRYjCo26iq7zMxvIjOCd0NDwshklijCgPM7De7fRMDVxlxNV0tJuEHbYKH/z\nWHAOedcHMFJ4Fr4nzV7z1jinDkr/Igf+VF2lcaMR+sxRn1txo2dtW3l/NWxy\nl2NMbbBZEMBpLKHlbOjvNUf+p11vZUQhYG7xdK7TOJ61+r/II5lcPK4Hb4Hz\nKvhJzRMSrwQrJZTFHUJJbld3B+/FvmsiHEeoHvHxJYgphn9MK5lyKv6PmCzj\nxSX35LbCKbJXtogb/PRm4Y9728mhpKMfp7vs0E1ZcRnYBQcJLnESOtVPZIp5\nifMhc+nVd6wi0gybAANox8x15C28YYxAKpC3TMA1KfiGj0ng1J+ewC8lMAJH\n9WLA\r\n=jh72\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/money-clip.js","module":"dist/money-clip.m.js","source":"index.js","gitHead":"a44642337defde10304f4cab33019905105ee88e","scripts":{"test":"tape test.js","build":"microbundle --external none --compress false --sourcemap false","prepublish":"npm run build"},"_npmUser":{"name":"henrikjoreteg","email":"henrik@joreteg.com"},"prettier":{"semi":false,"singleQuote":true},"repository":{"url":"git+https://github.com/HenrikJoreteg/money-clip.git","type":"git"},"_npmVersion":"6.14.13","description":"For managing your client side cache. Tiny wrapper over IndexedDB supporting versioning and max age.","directories":{},"_nodeVersion":"14.15.3","dependencies":{"idb-keyval":"5.1.3"},"_hasShrinkwrap":false,"devDependencies":{"esm":"3.2.25","tape":"5.3.1","microbundle":"0.13.3"},"_npmOperationalInternal":{"tmp":"tmp/money-clip_3.0.4_1628551923153_0.39761301250848224","host":"s3://npm-registry-packages"}},"3.0.5":{"name":"money-clip","version":"3.0.5","keywords":["PWA","cache","indexeddb"],"author":{"url":"joreteg.com","name":"Henrik Joreteg","email":"henrik@joreteg.com"},"license":"MIT","_id":"money-clip@3.0.5","maintainers":[{"name":"henrikjoreteg","email":"henrik@joreteg.com"}],"homepage":"https://github.com/HenrikJoreteg/money-clip","bugs":{"url":"https://github.com/HenrikJoreteg/money-clip/issues"},"dist":{"shasum":"98b3b8808aab248d936fbc850ed0221b20906105","tarball":"https://registry.npmjs.org/money-clip/-/money-clip-3.0.5.tgz","fileCount":6,"integrity":"sha512-PjLmppQU5u6G4+1JENAxv3Lhugx0M0E4BuA9nLgXXO/5hYDis/UBg4Cw/1Y8jlqYOP3R/JuqZK1nzMmcWs2mUA==","signatures":[{"sig":"MEUCIQDRzeLg9gHGD0hCCruWvoMxMYtb/MSz90WLMdNrnae59wIgBL25dHDjJ0WIBbd4/6GOABRlyCbgWfEu4KjnlipVK4Q=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42565,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhEcRaCRA9TVsSAnZWagAAA4sQAIRR50XKYHTQexOCMUMR\ndJ0dkH0OvY3OpUdK2QtbAwJ7YuNhlPcvpx68DeRw8gAkFaFiYycVmLxOwS+z\nJiaKSwPOMRL0Dr2GJU+6LH+kzAqFzn068lvl/xZq6bnHdzU60VdNzqmCCMps\n5AKZqYqCwusRPhzJw0WuJOx0+3NvWnUTUVp8qGb0DpMSuMrs0ib/knn8jx9+\nTdKpj1rJ1bN2XYuuWCJ3+3HMG8Fcb3bYSYRHH92cQFNsWHdwosPxLSpXbVFu\nxCHiVpkLfEmmeTFV7xZLFH9Dsi2ObZzRN884wpfJb2A7sf30NjLOn2yohlTX\nLo4DZF+HffZA7ZLjShE5nKPlpqBclin9WgWM1fRdQF2lJm/1gR3uridK3Whp\niCPL5NErCeWxCJWsuF4/gyEvCvuGi3+AR0EtwnQbdM2ZZhrjsoRCqPzUqVuJ\n9DfADbvUVdsGxKc8SFHzJyBUmNBkPkFRagaH54xzNqjt7dDuFpjxeAeMseXK\n2Vl9FffyGBnC3gBc+OWwlewfd3oJrHMwAhr8ZCcQ2SiulyqtzSIahJICGyGw\n7LRHdsv4g3Lpl/CrOgSlbFcSgN4MF5pPQEFdmhClNf3WSOI7nWJwHRr+UMyP\ngLaG5/KaugO+bfvSK3XiH5ZGzO3TvaiXjzs9n8IVGJaw6ysrX1MZUh//KxfL\nUtti\r\n=SoI2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/money-clip.js","module":"dist/money-clip.m.js","source":"index.js","gitHead":"982e59776dccf2838853e14c6e4fc932960a4ae6","scripts":{"test":"tape test.js","build":"microbundle --external none --compress false --sourcemap false","prepublish":"npm run build"},"_npmUser":{"name":"henrikjoreteg","email":"henrik@joreteg.com"},"prettier":{"semi":false,"arrowParens":"avoid","singleQuote":true},"repository":{"url":"git+https://github.com/HenrikJoreteg/money-clip.git","type":"git"},"_npmVersion":"6.14.13","description":"For managing your client side cache. Tiny wrapper over IndexedDB supporting versioning and max age.","directories":{},"_nodeVersion":"14.15.3","dependencies":{"idb-keyval":"5.1.3"},"_hasShrinkwrap":false,"devDependencies":{"esm":"3.2.25","tape":"5.3.1","microbundle":"0.13.3"},"_npmOperationalInternal":{"tmp":"tmp/money-clip_3.0.5_1628554330576_0.6764301251415568","host":"s3://npm-registry-packages"}},"4.0.0":{"name":"money-clip","description":"For managing your client side cache. Tiny wrapper over IndexedDB supporting versioning and max age.","version":"4.0.0","author":{"name":"Henrik Joreteg","email":"henrik@joreteg.com","url":"joreteg.com"},"bugs":{"url":"https://github.com/HenrikJoreteg/money-clip/issues"},"dependencies":{"idb-keyval":"6.2.4"},"sideEffects":false,"type":"module","homepage":"https://github.com/HenrikJoreteg/money-clip","keywords":["PWA","cache","indexeddb"],"license":"MIT","main":"./index.js","module":"./index.js","exports":{".":"./index.js"},"prettier":{"semi":false,"singleQuote":true,"jsxSingleQuote":true,"arrowParens":"avoid"},"repository":{"type":"git","url":"git+https://github.com/HenrikJoreteg/money-clip.git"},"scripts":{"check":"npm run format && npm run ensure-no-unstaged && npm test","ensure-no-unstaged":"git diff && git diff --quiet","format":"prettier --write .","test":"node --test"},"devDependencies":{"prettier":"3.8.3"},"_id":"money-clip@4.0.0","gitHead":"d924ed1c9af60b3bc1a1b1f6a80a887a03f36a1b","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-Rq+T/WfEspeq96nuu5PAjo+pFkkDtWQS3NKV8gosB3kPOH+z0w8kE9ELmIl3acm3bSP6/a0IrD3FBYbGrNpXmw==","shasum":"2008e9f11a97c3d2bafe1f8a243a0bb324d0905d","tarball":"https://registry.npmjs.org/money-clip/-/money-clip-4.0.0.tgz","fileCount":3,"unpackedSize":10018,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDgLcD+RTVGfQln/yob4nkY30+g+Epgbx0XlMJpM0yzPgIgUdOPKy0kvAtZjTf/SwHMevuQiFbu9+wspBGgVXKcLSc="}]},"_npmUser":{"name":"henrikjoreteg","email":"henrik@joreteg.com"},"directories":{},"maintainers":[{"name":"henrikjoreteg","email":"henrik@joreteg.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/money-clip_4.0.0_1780066838508_0.9563859567301616"},"_hasShrinkwrap":false}},"time":{"created":"2018-03-09T06:21:59.508Z","modified":"2026-05-29T15:00:39.098Z","1.0.0":"2018-03-09T06:21:59.749Z","2.0.0":"2018-03-09T19:05:30.666Z","2.0.1":"2018-03-14T23:49:26.954Z","2.0.2":"2018-05-12T04:38:33.824Z","2.1.0":"2018-07-01T16:51:32.315Z","3.0.0":"2018-09-29T03:44:25.974Z","3.0.1":"2019-01-01T17:10:41.102Z","3.0.2":"2020-03-20T14:17:32.360Z","3.0.3":"2021-01-14T03:02:06.865Z","3.0.4":"2021-08-09T23:32:03.328Z","3.0.5":"2021-08-10T00:12:10.724Z","4.0.0":"2026-05-29T15:00:38.644Z"},"bugs":{"url":"https://github.com/HenrikJoreteg/money-clip/issues"},"author":{"name":"Henrik Joreteg","email":"henrik@joreteg.com","url":"joreteg.com"},"license":"MIT","homepage":"https://github.com/HenrikJoreteg/money-clip","keywords":["PWA","cache","indexeddb"],"repository":{"type":"git","url":"git+https://github.com/HenrikJoreteg/money-clip.git"},"description":"For managing your client side cache. Tiny wrapper over IndexedDB supporting versioning and max age.","maintainers":[{"name":"henrikjoreteg","email":"henrik@joreteg.com"}],"readme":"# money-clip\n\n![](https://img.shields.io/npm/dm/money-clip.svg)![](https://img.shields.io/npm/v/money-clip.svg)![](https://img.shields.io/npm/l/money-clip.svg)\n\nFor managing your client side cache. Tiny wrapper over Jake Archibald's tiny IndexedDB wrapper, [idb-keyval](https://github.com/jakearchibald/idb-keyval) adding support for versioning and max age.\n\nDesigned for use in PWAs that need to cache data fetched from APIs and such.\n\nIt exposes mostly the same cache API with a few extras:\n\n1.  `getAll` _added by this lib_\n1.  `getConfiguredCache` _lets you pre-apply options_\n1.  `get`\n1.  `set`\n1.  `keys`\n1.  `clear`\n1.  `del`\n1.  `createStore`\n1.  `keyValLib`\n\nThese will all swallow errors because it's designed to work as an enhancement to a PWA. If something fails you simply don't start with a primed cache of data for your app. Nothing lost.\n\nClientside caching of user data is great, but can also be treacherous. We need some way to version our data, make sure we don't populate our app with really stale data, or populate the app with data from a previous session.\n\nThis library provides a way to deal with these issues. On every write or read, you can provide a version number (usually a version number stored in a config in your app). In addition to storing the data itself, this library will also store a timestamp and the version number (if provided).\n\nWhen trying to read the cache when your application starts, if the data is too stale, or there's a version number mismatch, the previous entry is just deleted, and `null` is returned. In this way, you can throw away potentially problematic cached data by bumping a version number in your config.\n\nIf you want to ensure you don't inflate cached data from another user, you can combine a version number in your config with some identifier of the user's session to build a version string. This means that if a different session is used when opening the app, it will lead to a version mismatch and the existing cached will be deleted.\n\n## install\n\n```\nnpm install money-clip\n```\n\nVersion 4 is ESM-only and intended for modern frontend bundlers. Use `import`\nsyntax rather than `require()`.\n\n## API\n\n**note: All methods take the same optional options:**\n\n```js\nconst options = {\n  version: 1, // this can be any string or number\n  maxAge: Infinity, // in number of milliseconds\n}\n```\n\n### getAll(options)\n\nReturns promise that will resolve to an object of all values or `{}`. Any single key that fails the version/age check will be deleted and not included. Never throws errors.\n\n### get(key, options)\n\nReturns Promise that will resolve to value at key, or `null`. If it fails version checks or age checks, it will be deleted. Never throws errors.\n\n### set(key, options)\n\nReturns promise sets value at key. Never throws.\n\n### keys()\n\nReturns promise that resolve to object keys\n\n### del(key)\n\nReturns promise but deletes content of key.\n\n### clear()\n\nReturns promise and clears everything in cache.\n\n### createStore(dbName, storeName)\n\nReturns an `idb-keyval` custom store function. If the cached IndexedDB\nconnection is closing, it reopens the database and retries the transaction once.\n\n### keyValLib\n\nExports the underlying `idb-keyval` methods, with `createStore` patched to use\nthe resilient store wrapper above.\n\n### getConfiguredCache(options)\n\nReturns an object with all the methods listed above, but with pre-populated options. So if you prefer you can configure version and max age once, then just use `get`/`set` without passing options.\n\nThis function also takes one additional option: `name` which lets you name the database / store. This can be useful if you need to create different caches for different categories of data.\n\n## example\n\nIf you're using Redux, you could, for example combine this with [redux-persist-middleware](https://github.com/HenrikJoreteg/redux-persist-middleware) to lazily cache content of certain reducers when certain action types occur.\n\n```js\nimport { h, render } from 'preact'\nimport { Provider } from 'preact-redux'\nimport { getConfiguredCache } from 'money-clip'\nimport { createStore, applyMiddleware } from 'redux'\nimport ms from 'milliseconds'\nimport rootReducer from './somewhere'\nimport RootComponent from './components/root'\nimport getPersistMiddleware from 'redux-persist-middleware'\nimport config from './my-config'\n\n// get a version of the cache lib with options pre-applied\nconst cache = getConfiguredCache({\n  version: config.cacheVersion,\n  maxAge: ms.days(30),\n  name: 'user-data',\n})\n\ncache.getAll().then(data => {\n  const store = createStore(\n    rootReducer,\n    data,\n    applyMiddleware(getPersistMiddleware(cache.set)),\n  )\n\n  render(\n    <Provider store={store}>\n      <RootComponent />\n    </Provider>,\n    document.getElementById('app'),\n  )\n})\n```\n\n## Change log\n\n- `4.0.0`: ESM-only package, ships source directly, removes build tooling, updates dependencies, and adds resilient named-store handling for stale IndexedDB connections.\n- `3.0.5`: Updated to fix issue w/ update that involved changed exports from `idb-keyval` during upgrade, sorry!\n- `3.0.4`: Updated dependencies to get Safari fix added to `idb-keyval` lib. Thanks [@rickharris](https://github.com/rickharris)!\n- `3.0.3`: Export keyval lib itself\n- `3.0.2`: Fixed `configuredCache.del` to actually work\n- `3.0.1`: doc fix\n- `3.0.0`: idb-keyval was not being transpiled to es5 causing `class` to be used in the final bundle of some of my apps. Turns off compression and minification of build, that's a concern for final packaging.\n- `2.1.0`: Added support for passing `name` option to `.getConfiguredCache()` to name the IDB database.\n- `2.0.2`: Updated to latest `idb-keyval`, no API change in this lib.\n- `2.0.1`: Fixed bug where `clear` was not being exported after build.\n- `2.0.0`: added `.getConfiguredCache()` renamed methods to more closely align with `idb-keyval`. Export `keys`, `del`, and `clear` directly. Tests, example, readme.\n- `1.0.0`: initial release\n\n## credits\n\nIf you like this follow [@HenrikJoreteg](http://twitter.com/henrikjoreteg) on twitter.\n\n## license\n\n[MIT](http://mit.joreteg.com/)\n","readmeFilename":"README.md"}