{"_id":"timed-cache","_rev":"14-e4094ab663253f8ff7b103af9ba5fbaf","name":"timed-cache","description":"A minimalist time-based caching system.","dist-tags":{"latest":"2.0.0"},"versions":{"1.0.3":{"name":"timed-cache","version":"1.0.3","description":"A minimalist time-based caching system.","main":"cache.js","repository":{"type":"git","url":"https://github.com/HQarroum/Cache.git"},"scripts":{"test":"grunt test","postinstall":"bower install"},"keywords":["timed","cache","storage"],"author":{"name":"Halim Qarroum"},"license":"MIT","bugs":{"url":"https://github.com/HQarroum/Cache/issues"},"devDependencies":{"grunt":"^0.4.5","grunt-build-control":"^0.5.0","grunt-contrib-clean":"^0.6.0","grunt-contrib-copy":"^0.8.0","grunt-contrib-jasmine":"^0.8.2","grunt-contrib-jshint":"^0.11.2","grunt-contrib-uglify":"^0.9.1","grunt-template-jasmine-requirejs":"^0.2.3","load-grunt-tasks":"^3.1.0","time-grunt":"^1.2.1"},"dependencies":{"bower":"^1.4.1"},"gitHead":"37f31111766de2eede3c3fb387d95ce54f518184","_id":"timed-cache@1.0.3","_shasum":"9ab36c297abdb7673c4ead9cb9893468d27944e9","_from":".","_npmVersion":"2.7.4","_nodeVersion":"0.12.2","_npmUser":{"name":"hqm","email":"hqm.post@gmail.com"},"dist":{"shasum":"9ab36c297abdb7673c4ead9cb9893468d27944e9","tarball":"https://registry.npmjs.org/timed-cache/-/timed-cache-1.0.3.tgz","integrity":"sha512-C2qqA6sl2qA8U/SuD+embSC31sa83UvVcbyEzWhiyGUthpsnpBdfdx3tLeSIwLzaLtCmz2LiyCZusJNDU7ZUhg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGBQ/t1rxhzG++esNdvopEyzn//2ev2qox5XqXX8kWl2AiEAkH0V6PiybD4taQ2/Xfl36agd1i721Dg1GVoOu3BqJ9c="}]},"maintainers":[{"name":"hqm","email":"hqm.post@gmail.com"}],"directories":{}},"1.0.5":{"name":"timed-cache","version":"1.0.5","description":"A minimalist time-based caching system.","main":"cache.js","repository":{"type":"git","url":"git+https://github.com/HQarroum/timed-cache.git"},"scripts":{"test":"grunt test","postinstall":"bower install"},"keywords":["timed","cache","storage"],"author":{"name":"Halim Qarroum"},"license":"MIT","bugs":{"url":"https://github.com/HQarroum/timed-cache/issues"},"devDependencies":{"grunt":"^0.4.5","grunt-build-control":"^0.6.1","grunt-contrib-clean":"^0.6.0","grunt-contrib-copy":"^0.8.0","grunt-contrib-jasmine":"^0.9.2","grunt-contrib-jshint":"^0.11.2","grunt-contrib-uglify":"^0.9.1","grunt-template-jasmine-requirejs":"^0.2.3","load-grunt-tasks":"^3.1.0","time-grunt":"^1.2.1"},"dependencies":{"bower":"^1.4.1"},"gitHead":"2b5920230c0b7fc048e40ce6f1b64dee0deb6112","homepage":"https://github.com/HQarroum/timed-cache#readme","_id":"timed-cache@1.0.5","_shasum":"edfcc2bd8b18d7023bd052dcd5725ca9d04a713f","_from":".","_npmVersion":"3.3.3","_nodeVersion":"0.12.2","_npmUser":{"name":"hqm","email":"hqm.post@gmail.com"},"dist":{"shasum":"edfcc2bd8b18d7023bd052dcd5725ca9d04a713f","tarball":"https://registry.npmjs.org/timed-cache/-/timed-cache-1.0.5.tgz","integrity":"sha512-sO3eELO5bJAJgJYW/HVJTPUJjpkMPAGW0/KqFib2dR1JY5nXK0vE6PfUaGBEhXj/a9tiEa6F4MJSaABvhFqfBQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIByI8y7i4u87zV69j4R/A8F8VsC3uwIN9Wjhp/DIrUh4AiEAk3JAUgjLRxmIyjDhlvE4dap2//0Ds1eFhoU++lQwU2I="}]},"maintainers":[{"name":"hqm","email":"hqm.post@gmail.com"}],"directories":{}},"1.1.0":{"name":"timed-cache","version":"1.1.0","description":"A minimalist time-based caching system.","main":"cache.js","repository":{"type":"git","url":"git+https://github.com/HQarroum/timed-cache.git"},"scripts":{"test":"grunt test","build":"grunt","prepublish":"npm run build"},"keywords":["timed","cache","storage"],"author":{"name":"Halim Qarroum"},"license":"MIT","bugs":{"url":"https://github.com/HQarroum/timed-cache/issues"},"devDependencies":{"grunt":"^0.4.5","grunt-contrib-clean":"^0.6.0","grunt-contrib-copy":"^0.8.0","grunt-contrib-jasmine":"^0.9.2","grunt-contrib-jshint":"^0.11.2","grunt-contrib-uglify":"^0.9.1","grunt-template-jasmine-requirejs":"^0.2.3","load-grunt-tasks":"^3.1.0","time-grunt":"^1.2.1"},"gitHead":"b977f7085c1d089bfc37490bb5cf1542aea2cea4","homepage":"https://github.com/HQarroum/timed-cache#readme","_id":"timed-cache@1.1.0","_shasum":"1f1425cc26cfac00294de703118e2f08c04805e2","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.8.0","_npmUser":{"name":"hqm","email":"hqm.post@gmail.com"},"dist":{"shasum":"1f1425cc26cfac00294de703118e2f08c04805e2","tarball":"https://registry.npmjs.org/timed-cache/-/timed-cache-1.1.0.tgz","integrity":"sha512-SvBKrE8MTdYt46F2BVrgiqr6n9vqtNtkCdjkflmfQFv1GCJp/idc6WBNVByuUazo79Uz5FiyxYBUY0FJuIy5CA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDUUplQgUIOxUD+T5SRKSmYuW6q1XPeRdw6lkEC00a4NAiBfAl1iVhJSCVakXfhafDI0wumxTo5SCwUE95/i6/oJxw=="}]},"maintainers":[{"name":"hqm","email":"hqm.post@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/timed-cache-1.1.0.tgz_1495823968215_0.40536051825620234"},"directories":{}},"1.1.1":{"name":"timed-cache","version":"1.1.1","description":"A minimalist time-based caching system.","main":"cache.js","repository":{"type":"git","url":"git+https://github.com/HQarroum/timed-cache.git"},"scripts":{"test":"grunt test","build":"grunt","prepublishOnly":"npm run build"},"keywords":["timed","cache","storage"],"author":{"name":"Halim Qarroum"},"license":"MIT","bugs":{"url":"https://github.com/HQarroum/timed-cache/issues"},"devDependencies":{"expect":"^23.6.0","grunt":"^1.0.3","grunt-contrib-clean":"^2.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-jshint":"^2.0.0","grunt-contrib-uglify":"^4.0.0","grunt-mocha-test":"^0.13.3","load-grunt-tasks":"3.1.0","mocha":"^5.2.0","time-grunt":"^1.4.0"},"gitHead":"5749f753e9a5e510ffb6689c91955079ab29c110","homepage":"https://github.com/HQarroum/timed-cache#readme","_id":"timed-cache@1.1.1","_npmVersion":"6.4.1","_nodeVersion":"9.10.0","_npmUser":{"name":"hqm","email":"hqm.post@gmail.com"},"dist":{"integrity":"sha512-ADZmeElmScZLH1TBrEB7ERTeoXZ+7JfTkcz2Z4AjhaJXLCyceK3LF1LEWm/tGUjcfdPKAM+eJCy7RM4dQqYH/g==","shasum":"71ede6cc643d6552df01f81d97619bd72cc107e7","tarball":"https://registry.npmjs.org/timed-cache/-/timed-cache-1.1.1.tgz","fileCount":9,"unpackedSize":18685,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb2GQRCRA9TVsSAnZWagAAAzYP/ihmdsuI3p+CR4IGLhvw\nNPtCIB0fVt/Djbfk3rSCSYh/nUr58En7Iexe8tJA4i2BMqKO8e2xG6AL/g1/\n8/0lGlo199ENk6QkLRa0HatZNpQ2MmJEtH59Ff6oSPkf10ECq7iWa76EV9x3\nl22eIglytJVjNKL6anNMrpW5Rlpt7/yYZg2ANW7UQH1NE6lFc8TtLtgzkRne\nqFBzfqyVJdyLwfDZGEEXVIr219vzizRSFKadZxtjNHnaXAtmArRTMbDwDQsV\nYKFnmpsPsAh+iQ1TQAy6RP7McHIdMQNiwhOJ7dxFtK9XN5FhNu4vjI9SzpO4\njIrdB44nLWk/hWm5NeexBSR5unGgvNZHLDHPx6gxh6OLicaJBHMgxb9aZJu/\nGefpGO4xubqV35q0iBjkhVdH64ve8PoyFzp80NCPQ8AAUoad4u4dLbCAjhL9\nLW4biaufS3tT3TnKl1uOEEYuCCku+cvFIpZbVl6LUVFFhDeLjx+ah4GjliHH\nItBxdT6GL32xcojjT9tSygFmnLlQHdkKDiSee7DZZtnFRf7K4s0FPZ23TMlM\nO9Ryoji72/8yfwHFI9EUfgPts8Qn9iFetHLDGQ51svv9gBvzy+/yCT+uwTgf\nVl41l8OWq1YZQPqzeR1VsDGtbenWS3St3K0nf3/cAH32k04qVCr3kdRE+rRl\nu9HB\r\n=DDXs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEk+S8655hMtPvhoyxKHEDTl/GBx+g9iA8799PNd+ur9AiAUEr+w4mJp38Y4sbWAIz3E6mB2ZspuHUYLX+h5FLdkcg=="}]},"maintainers":[{"name":"hqm","email":"hqm.post@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/timed-cache_1.1.1_1540908048962_0.8108571169969139"},"_hasShrinkwrap":false},"1.1.2":{"name":"timed-cache","version":"1.1.2","description":"A minimalist time-based caching system.","main":"cache.js","repository":{"type":"git","url":"git+https://github.com/HQarroum/timed-cache.git"},"scripts":{"test":"grunt test","build":"grunt","prepublishOnly":"npm run build"},"keywords":["timed","cache","storage"],"author":{"name":"Halim Qarroum"},"license":"MIT","bugs":{"url":"https://github.com/HQarroum/timed-cache/issues"},"devDependencies":{"expect":"^24.8.0","grunt":"^1.0.3","grunt-contrib-clean":"^2.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-jshint":"^2.0.0","grunt-contrib-uglify":"^4.0.0","grunt-mocha-test":"^0.13.3","load-grunt-tasks":"^5.0.0","mocha":"^5.2.0","time-grunt":"^1.4.0"},"gitHead":"827ad3f9e83c31aca0f92b883ce8000f83f1990e","homepage":"https://github.com/HQarroum/timed-cache#readme","_id":"timed-cache@1.1.2","_nodeVersion":"9.10.0","_npmVersion":"6.10.0","dist":{"integrity":"sha512-7HZL3Ytt5t9oyeXj/bdLWzLtAyJ6eiQ2DzWh8QWCiQpuaA1ExrCpLkTFJ/wvrwJjGZtDUF+i4ZMExo6lkZWxTw==","shasum":"8db06b06142311b00fac90cc80ab521ceaf3a738","tarball":"https://registry.npmjs.org/timed-cache/-/timed-cache-1.1.2.tgz","fileCount":9,"unpackedSize":18684,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdJfbGCRA9TVsSAnZWagAAoaUQAJMDS4CbsnP/aE+PQOeT\n2i3EAwt8X3t4HZ2qcgiZuFzV6X7Q9/TOyQMXtU2NfRSh+CBO1rEh6CP+r5Hj\ncEtO4izg/5uc0M4QN4Ls+s6oOpCoT+gvIIUCfAnhrfexKlbh0LJga362JL1g\n8NXMGHb1fTuX11kenyG58Ua1SrXfrucW045rotfOqWt7/yzq0jsFBy1lOpxa\n5AnPy3a1OEpp5L5xsv+kIeNznwkpeOF9i8Ki4PmOcilf75hrVB+gXQqW6t9E\n9mDWH90q88NDBYB/8ag1koQExpQUXAHHFlFx0JrhZ86gYAoNCHyNDzTGuO9c\nXSzWJ/GyltvN37GFrDnPzrzIJhyrk2itUv6dzPj7BcWgZXQedanrm5uwWNmj\nvIT0/Jzp43YL3m2Rwax25ipJYLyCUGJJy/p+Qv/r4JsdKuwpCmN/n/UTOQZm\ndkYrEj1Wo40sVzxyu91xuRlRevwVOhCFhJKMDOzgTeSMCqE+393CHKKlJ8Ob\nDGxePbZaHs1N+BGLQ3yhDe/Tz/5QEIOtJfoD+vtnH7F2/WzWr0JjhaltO8uM\nz4qXUE7pVwMHh1vQN0vGTOjr8frdLcF6RnKdpWhnZEuw9ruI8NITaXehfL3B\n7+x4TppfJ4ycfMpRTjrlK1xqmW6M5Z4FrU+VRuQIkzeiDgQ0JEcFB86E71Ne\nyBj3\r\n=TcFg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC51lJQDjVPjcs3sFm9ZzqDIvrYYYjiPnfzzf1CT6Z6OAIgN418hym/IU+HcDj3shUWTJmWhxi6X/CCLuLBI7Z1TvI="}]},"maintainers":[{"name":"hqm","email":"hqm.post@gmail.com"}],"_npmUser":{"name":"hqm","email":"hqm.post@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/timed-cache_1.1.2_1562769093581_0.2062350895976761"},"_hasShrinkwrap":false},"1.1.3":{"name":"timed-cache","version":"1.1.3","description":"A minimalist time-based caching system.","main":"cache.js","repository":{"type":"git","url":"git+https://github.com/HQarroum/timed-cache.git"},"scripts":{"test":"grunt test","build":"grunt","prepublishOnly":"npm run build"},"keywords":["timed","cache","storage"],"author":{"name":"Halim Qarroum"},"license":"MIT","bugs":{"url":"https://github.com/HQarroum/timed-cache/issues"},"devDependencies":{"expect":"^24.9.0","grunt":"^1.0.3","grunt-contrib-clean":"^2.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-jshint":"^2.0.0","grunt-contrib-uglify":"^4.0.0","grunt-mocha-test":"^0.13.3","load-grunt-tasks":"^5.1.0","mocha":"^5.2.0","time-grunt":"^1.4.0"},"gitHead":"864271934f30bce5d41205d3bf22ba91c9af0965","homepage":"https://github.com/HQarroum/timed-cache#readme","_id":"timed-cache@1.1.3","_nodeVersion":"9.10.0","_npmVersion":"6.13.6","dist":{"integrity":"sha512-EJFICpo2K4TP4AE+YcCEbiGI5IclkrOnlyeTGp1lJLIajcxTGRkTbMwo0t3Tkfm55R9HQ3k2fMdCh5SI8qEmWQ==","shasum":"ebaf310fb6b0239907e8dbcf7921973df129d387","tarball":"https://registry.npmjs.org/timed-cache/-/timed-cache-1.1.3.tgz","fileCount":10,"unpackedSize":20844,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeLwBwCRA9TVsSAnZWagAAsuUP/24Lq0x3crF85hyrqg13\nGbRxGa+yLcRjM1sC8Y6vI9cUFonidW5lUU4m3ZZjM46ep4hAhew03F/ID9J/\na6FfVbQ9QR8vhrqkr0+dyzYmDYGWUZbSEo/JlTZD2RIJc3qXBEosBMKQSnXm\n2ngFlXY2C2SYEMrTrirP3aEX8h6Oh5RUnjFt9uwxE48U4hJCBYslr1l/+2+w\ndJD/63Ine+UmLo6uYHE2YYUo6AFBLHGUz2t6uOprmIQXs9JkPpVWIVcMmTPf\n0GixP6YxFVqSPxID/GtHPmpF9s7JKzAATo8QPAAbPvxG4NFjhPWaa1DcU+75\nYXCHqAQptw2qrLR4uWbuJUnjhw9RvN5e13zTq2HCJSnWHKevYUJ8AE/1wLcp\nmCgq1u32hDdWQIPmFnn7SXYeefwTm9l7d3UxYWadXIWL7PBC8DcAs+/OWe8t\nqD048+J7MKtzoCGTQ2WxHpyMnsa0azivAY3aBH6+/2Pw8byR37wOsk9MCWuf\niInfeZHxLIoKv4t5qB1cR+shnGMgahmhw/cc8SfYKXNgUqRFPQRYKLzeW5WT\n19l0xycnxLAEOBQQBG/BFiqTjYeZsX6t7j6C5NE3kab68SJrYEXBDQHvHs3G\nSd2nHEFIfFSRFsA4BD5WpyLZ5ZWwFuO+OatjJuf7NngbDVg5MAl8r33oSCkO\nLefj\r\n=kJBH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD920sAY7OZGEv9/G2t6LMyevs7EydPPCwl8hCY6VTX5gIgWn7cRChSpuaHI7uxZRjhftcnx1MPgQ3Y8ne9B0SxEjI="}]},"maintainers":[{"name":"hqm","email":"hqm.post@gmail.com"}],"_npmUser":{"name":"hqm","email":"hqm.post@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/timed-cache_1.1.3_1580138608519_0.1367629445860572"},"_hasShrinkwrap":false},"1.1.4":{"name":"timed-cache","version":"1.1.4","description":"A minimalist time-based caching system.","main":"cache.js","repository":{"type":"git","url":"git+https://github.com/HQarroum/timed-cache.git"},"scripts":{"test":"grunt test","build":"grunt","prepublishOnly":"npm run build"},"keywords":["timed","cache","storage"],"author":{"name":"Halim Qarroum"},"license":"MIT","bugs":{"url":"https://github.com/HQarroum/timed-cache/issues"},"devDependencies":{"expect":"^24.9.0","grunt":"^1.0.3","grunt-contrib-clean":"^2.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-jshint":"^2.0.0","grunt-contrib-uglify":"^4.0.0","grunt-mocha-test":"^0.13.3","load-grunt-tasks":"^5.1.0","mocha":"^5.2.0","time-grunt":"^1.4.0"},"gitHead":"84ec1bff0eddf9da63df5f5563d80f7be4f28016","homepage":"https://github.com/HQarroum/timed-cache#readme","_id":"timed-cache@1.1.4","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","dist":{"integrity":"sha512-aLweXRLhRLVuHspgukIPCftU1EtUiWC7vUPjZ5WXR4Mkin/R4qlN3F6imfWSQxWF3Eoe04dtZQF0Jo/YUy+3OA==","shasum":"c09dedd7b6b5a8fb7bfbad805d92593d6fa8e8bf","tarball":"https://registry.npmjs.org/timed-cache/-/timed-cache-1.1.4.tgz","fileCount":10,"unpackedSize":20907,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfhdSoCRA9TVsSAnZWagAAmUYQAIGrH7lt13UJUTXa92MH\nP8RmneI7+cyHMyinNCZb46XyjV2Vqc2DmJYzWpCKa97DIl8GCoDhKwaqn7ej\ncM5oHvpd5w3bdBadNP7JD9lBn2Qhh+fyoESJLLfm75Kdjd2comr/N0iTFo0e\nEltsd81RBORKOM9makiDckwyFYlDNlIcVBVdBbjC4DENO0WdGXHSszT/cO0A\n/t9O5OC5E2J1XJCic+/4PtAXjpay6gLdEYuR76dZBRDoMi6IyvLXquu9LQUA\ntOJXkab/+pMThiW2a8nM20P1Gz+agXJvpyH7CTdBIZghAuGHCxqxsYQ+uJ29\nI+A+yy4IiVGBbejw6WqRNTusOxy0hi0jRNhql7+VUzm4k5yZ7AOD9BIXiKJ1\n595lZP0JBhFkWa6DMCOgTvBixP9IQyTAybAgWSr6U4oUIFqWdEXZjg9Y87cu\nfz//BHePrnyoCCHsXXaRTAA1DXw2b8d1tkssn4fiJFXrdrfrKDhivt2TMWKJ\n/2Hf5lgiauYy1SYO0vmiFhYSzytjybL4uHt4O21RMHH8n2UMOaZiEaR/C7L1\ngi4p97fi8AxPpFO/LadHoIofAq/hix9ZcEBlsv7qTPE5Ka4PLQ64dwJ9FB2o\nARFBWMc+B6gRMQpJ26Hg36Pyc+BnzjxjiqYCvBYnIIiz/80DQbJS79a7kwmT\nQw+N\r\n=I+V7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHfyTTJjRB4+DHZL3yItsSiwAJPFBGnrOcNlDEa9vaOSAiBzsjR/loTLh8+Dm5viO/N97NyN34vBXGVhT7E9PpwzDQ=="}]},"maintainers":[{"name":"hqm","email":"hqm.post@gmail.com"}],"_npmUser":{"name":"hqm","email":"hqm.post@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/timed-cache_1.1.4_1602606248501_0.7327573163475363"},"_hasShrinkwrap":false},"1.1.5":{"name":"timed-cache","version":"1.1.5","description":"A minimalist time-based caching system.","main":"cache.js","repository":{"type":"git","url":"git+https://github.com/HQarroum/timed-cache.git"},"scripts":{"test":"npx grunt test","build":"npx grunt","prepublishOnly":"npm run build"},"keywords":["timed","cache","storage"],"author":{"name":"Halim Qarroum"},"license":"MIT","bugs":{"url":"https://github.com/HQarroum/timed-cache/issues"},"devDependencies":{"expect":"^27.0.2","grunt":"^1.4.1","grunt-contrib-clean":"^2.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-jshint":"^3.0.0","grunt-contrib-uglify":"^5.0.1","grunt-mocha-test":"^0.13.3","load-grunt-tasks":"^5.1.0","mocha":"^8.4.0","time-grunt":"^2.0.0"},"gitHead":"a2427861c57c41b74b79b9c2e25b660244721834","homepage":"https://github.com/HQarroum/timed-cache#readme","_id":"timed-cache@1.1.5","_nodeVersion":"14.17.0","_npmVersion":"6.14.13","dist":{"integrity":"sha512-+pWNc00bPujFdOufjBqPmX5kYoVR2dLmCrA0ZyoN/qg7vLjaazGqOQu8MaKIOh6sSKairUMwP/gNDcnQPtxryg==","shasum":"2f3da24366c588a5f080f72c3579501b08d59439","tarball":"https://registry.npmjs.org/timed-cache/-/timed-cache-1.1.5.tgz","fileCount":10,"unpackedSize":20900,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgtkh6CRA9TVsSAnZWagAAzfMQAIjmqGlcyNnchOF5Bb8K\n6cqUJ5OlhjBQr0VuXDHE2qfGVgemNj1uN+P35LSbZyUpeWLYWtU1GwZsa7ze\nmA4jrH+E0gsvJqTL/ki4Pd/kSoovA+jtf39h6ZSvTRVpW92qQsAc+7uYzSP9\nDuRClBT7qslTAs6pbEfddiCwEYIwb2l9nFN0KhmEu9u6BP06l6UN/h+nTCor\nNqJByTiMO+AMUhD/Eug9a951YL6+vZvZpYR9WRH6E15yUjn2xZAp0UOGrGJG\n/VwK3lUlY7dXTxzURXcYsMaCFB+CFlbtpG7mUE4BBvSdsFBsnPhpU0VZPUIl\nuFv4bA6xtfRGiTenyJih2UVpg20nqH6bb+451Pi3T5szO/RU77ZQco95Wa+8\nVRa1D/3OZaLh7WJ2ngl1ryxozXui1OWNDaGENmdXKKTiuns1e37CYPCU9LKe\nZy1TfCVMj6cYMtjNRSverPprV92DqIRduDWTGzgrPMQTchPsgdTI/eTo/ON8\nncBGcckBmuWb6K0+R4WCCtT2VN3a2AMt807rvyfXmEDm8ExWONY9IqEXespI\nnGzOEd9n1suLj1if5G/bV+hPmrc4wnAC+MVs1fAlGm5GHI1gXJgNVUD009O5\ndf+yQgqbjW4dOFvGWnZ5qpW7GN+odQrs1TLCXYAK9xouZG2HnFSF85P1pFpm\nvTiN\r\n=fgBd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAvc9ORJAowx9LNuv8XJjIaNksif1hsu9occMZ+WqP7LAiEAq1Il2LsrM0blDeI2xt4Vw0cwxmyV+3jI7/Njiyw8s0s="}]},"_npmUser":{"name":"hqm","email":"hqm.post@gmail.com"},"directories":{},"maintainers":[{"name":"hqm","email":"hqm.post@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/timed-cache_1.1.5_1622558841813_0.7099019155817954"},"_hasShrinkwrap":false},"2.0.0":{"name":"timed-cache","version":"2.0.0","description":"A minimalist time-based caching system.","main":"cache.js","type":"module","repository":{"type":"git","url":"git+https://github.com/HQarroum/timed-cache.git"},"scripts":{"build":"npx rollup -c","test":"npx cross-env NODE_OPTIONS=--experimental-vm-modules jest --detectOpenHandles","lint":"npx eslint .","prepublishOnly":"npm run build"},"keywords":["timed","cache","storage"],"author":{"name":"Halim Qarroum"},"license":"MIT","bugs":{"url":"https://github.com/HQarroum/timed-cache/issues"},"devDependencies":{"eslint":"^8.14.0","jest":"^28.0.3","rollup":"^2.71.1","rollup-plugin-terser":"^7.0.2"},"gitHead":"e967c53cc4f333681ebf404f842a6b2f76bc1792","homepage":"https://github.com/HQarroum/timed-cache#readme","_id":"timed-cache@2.0.0","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"integrity":"sha512-9owe3VtDCtZKo8bfk5bSC4tSzIRP65doXI0i2oFWNP4VjQDwoRIsADynZQZz6XXK7exL7bOuI3HExFQ9LGi3tQ==","shasum":"34472e5dbb9c32075a0fe15883ef73d87be13f3d","tarball":"https://registry.npmjs.org/timed-cache/-/timed-cache-2.0.0.tgz","fileCount":16,"unpackedSize":27179,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCkKFY4TiCKPQ6Ofc+fVPSIjyw4UcHgYF4qq69GCZ21+QIgOpmqUQxOmZZZrRi9e36GhSoadmFNRBW//9E5i/+1G0M="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJit4K+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqbDQ/+J/xNKBv/V/5O40Brvo3wdZfMqbBFnnyHBKSWM4cuyDN5nmu0\r\nOe1M5W8ZKN8JyW3MObonG6wBO2FyRAc+esxWBV+cjIh6LKmVjZD0KNP5cLVd\r\nsdVS10rVG3YXHTo5Clb6UIVh3aA/5VlQk8Tb8VneeviCyQViDEDwmIJ97+Kd\r\nt/uVaublkjf+DJjo7szmdrnbEvwATe6wJjIvChK4qCyp27TGW/nEcdZGyu0a\r\n9ckfcPYKzs/q+ENAnUJgdDPansgLStXHUdC2/i6wlPDYFNo4yRlpcNogTMxn\r\ncKeeBae/gQrYoc09d6qNrOBAcjbYWRyqBjI4OBvTlCesSfPJd2su4VOeRX/J\r\n9ZUuv1KLXfg3+twyjKtUWxDEmA+063OMvrgANHfU7lekKPA9FfM47DIe1TJr\r\nDQxGtlKRwwK0UydbycAmiZWFP7AZ1GrcpUXLEoCAIW4QKZ9yXFYWMykvm408\r\nGilEG5c3KiWXuEWjyrU077QDH2Z80St4AUPI2E4h2rCoiTJJhIDsxLNUEVde\r\nxYNVFiTrb7kYpkqPPtRZJGkbKcJAPphc+sYsWntw/3D58NK3Pe1gASvZBmeN\r\n01ksjZoYbWHtu/Jwll3kcIuogq6lamMaD0hljj/13RkqI9ftlZwx91fSLwqL\r\n5c2zXzxp0M8YRnO4pKOBEzIgP+oobWZYvQ8=\r\n=FbwN\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"hqm","email":"hqm.post@gmail.com"},"directories":{},"maintainers":[{"name":"hqm","email":"hqm.post@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/timed-cache_2.0.0_1656193726727_0.38948929004842325"},"_hasShrinkwrap":false}},"readme":"<br /><br /><br /><br /><p align=\"center\">\n <img width=\"200\" src=\"https://upload.wikimedia.org/wikipedia/commons/thumb/4/49/Applications-database.svg/240px-Applications-database.svg.png\" />\n</p><br /><br /><br />\n\n## Cache storage\n\n[![Build Status](https://app.travis-ci.com/HQarroum/timed-cache.svg?branch=master)](https://app.travis-ci.com/HQarroum/timed-cache)\n[![CodeFactor](https://www.codefactor.io/repository/github/hqarroum/timed-cache/badge)](https://www.codefactor.io/repository/github/hqarroum/timed-cache)\n[![DeepSource](https://deepsource.io/gh/HQarroum/timed-cache.svg/?label=active+issues&show_trend=true&token=3BI4ee76_7OTVBAzTvku0WQj)](https://deepsource.io/gh/HQarroum/timed-cache/?ref=repository-badge)\n\nA minimalist time-based caching system.\n\nThis storage module evicts cached key/value pairs based on their time-to-live.\n\nCurrent version: **2.0.0**\n\n## Install\n\n```bash\nnpm install --save timed-cache\n```\n\n## Usage\n\n### Import the cache module\n\n`timed-cache` is distributed as an ESM module that you can import in your implementation.\n\n```javascript\nimport Cache from 'timed-cache';\n```\n\n### Creating the cache module\n\nBasic operations you can perform on an instance of a `Cache` are insertion, retrieval and removal of key/value pairs.\n\nTo do so, you will need to create a new instance of the cache, by calling its constructor :\n\n```javascript\nconst cache = new Cache();\n```\n\nNote that by default, a key/value pair will be held by the cache storage for `60` seconds before being evicted.\n\nIt is however possible to specify what default value you would like the TTL to have when creating the storage :\n\n```javascript\n// The TTL is always expressed in milliseconds.\n// In this case it will be equal to `5` minutes.\nconst cache = new Cache({ defaultTtl: 300 * 1000 });\n```\n\nYou will then be able to interact with the storage by retrieving and inserting data.\n\n### Basic insertions\n\nYou insert a key/value pair into the storage by using the `.put` primitive and retrieve a value given its key identifier using the `.get` primitive.\n\nHere is an example of inserting values associated with a string key :\n\n```javascript\ncache.put('bar', 'baz');\ncache.put('foo', { foo: 'bar' });\ncache.put('qux', 42);\n```\n\nIt is then possible to retrieve the cached values using their associated keys :\n\n```javascript\ncache.get('bar'); // Returns 'baz'\ncache.get('foo'); // Returns the object { foo: 'bar' }\n```\n\nIt is also possible to use an object as a key as long as it is serializable using [`JSON.stringify`](https://developer.mozilla.org/fr/docs/Web/JavaScript/Reference/Objets_globaux/JSON/stringify) :\n\n```javascript\ncache.put({ foo: 'bar' }, { bar: 'baz' });\ncache.get({ foo: 'bar' }); // Returns the object { bar: 'baz' }\n```\n\nNote that inserting a value already associated with the inserted key will cause the previous value to be overwritten, and the TTL to be reset.\n\n### Customizing elements TTL\n\nYou can customize the time-to-live value of a key/value pair at insertion time using the third optional argument to `.put` :\n\n```javascript\n// Example of an insertion using a TTL expressed in milliseconds.\ncache.put('foo', 'bar', { ttl: 5 * 1000 });\n```\n\nIt is also possible to define a callback for each inserted key/value pair to be informed when it is actually evicted from the storage :\n\n```javascript\ncache.put('baz', 'bar', {\n  ttl: 5 * 1000,\n  callback: (key, value) => console.log(`${key} ${value} evicted !`)\n});\n```\n\n### Element removal\n\nIt is possible to remove a cache entry before its time-to-live is reached, by using the `.remove` primitive :\n\n```javascript\ncache.put('foo', 'bar', {\n callback: (key, value) => console.log(`${key} ${value} removed !`)\n});\n\ncache.remove('foo');\n```\n\nIn this case, the callback passed to a `.put` will be called if the user removed the inserted entry.\n\n## License\n[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2FHQarroum%2Ftimed-cache.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2FHQarroum%2Ftimed-cache?ref=badge_large)\n","maintainers":[{"name":"hqm","email":"hqm.post@gmail.com"}],"time":{"modified":"2022-06-27T06:46:27.002Z","created":"2015-09-08T14:52:16.076Z","1.0.3":"2015-09-08T14:52:16.076Z","1.0.4":"2015-10-23T13:11:21.068Z","1.0.5":"2015-10-23T14:03:13.881Z","1.1.0":"2017-05-26T18:39:29.114Z","1.1.1":"2018-10-30T14:00:49.122Z","1.1.2":"2019-07-10T14:31:33.728Z","1.1.3":"2020-01-27T15:23:28.612Z","1.1.4":"2020-10-13T16:24:08.636Z","1.1.5":"2021-06-01T14:47:21.918Z","2.0.0":"2022-06-25T21:48:46.858Z"},"keywords":["timed","cache","storage"],"repository":{"type":"git","url":"git+https://github.com/HQarroum/timed-cache.git"},"author":{"name":"Halim Qarroum"},"bugs":{"url":"https://github.com/HQarroum/timed-cache/issues"},"license":"MIT","readmeFilename":"README.md","homepage":"https://github.com/HQarroum/timed-cache#readme"}