{"_id":"ttl-localstorage","_rev":"14-f537ba76358c7715b0fddcc04b4f5dfc","name":"ttl-localstorage","description":"localStorage API with TTL for Browser or Node Server contexts","dist-tags":{"latest":"2.0.0"},"versions":{"1.0.0":{"name":"ttl-localstorage","private":false,"version":"1.0.0","description":"Promise-based API for Browser localStorage or Node contexts","main":"index.js","module":"main.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/gold/ttl-localstorage.git"},"keywords":["localStorage","state","storage","cache","cookies","key-value","store","cold sake from Japan","ttl","哇"],"author":{"name":"Gerry Gold"},"license":"MIT","bugs":{"url":"https://github.com/gold/ttl-localstorage/issues"},"homepage":"https://github.com/gold/ttl-localstorage#readme","dependencies":{"@std/esm":"^0.16.0","bluebird":"^3.5.1"},"devDependencies":{"eslint":"4.6.0","eslint-config-airbnb":"^15.1.0","eslint-plugin-import":"2.7.0","eslint-plugin-jsx-a11y":"5.1.1","eslint-plugin-react":"^7.4.0"},"gitHead":"4ddfe4897b478978124b7268549623a52db9a0cd","_id":"ttl-localstorage@1.0.0","_npmVersion":"5.5.1","_nodeVersion":"9.2.0","_npmUser":{"name":"gold","email":"tektwit@gmail.com"},"dist":{"integrity":"sha512-EcMptuAY3qSYHa28CbA3sLViiJQncypnIBYNfbTNxsCwSgF+r1HSSfQa4hrbhTPmbdbVKSoCgDyHzJOcANotKQ==","shasum":"1194def17c0b57e1b336076ef41f4180f2027cc3","tarball":"https://registry.npmjs.org/ttl-localstorage/-/ttl-localstorage-1.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHqu5tq91qb2zoCIXlno45NpMtH/7BjVedRH69lYm4/9AiEA10XhTzRQwXyCR70DE1sv5xSYRlw5VqqXODppAVA/8vU="}]},"maintainers":[{"name":"gold","email":"tektwit@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ttl-localstorage-1.0.0.tgz_1511148324868_0.22517032572068274"},"directories":{}},"1.0.1":{"name":"ttl-localstorage","private":false,"version":"1.0.1","description":"Promise-based API for Browser localStorage or Node contexts","main":"index.js","module":"main.js","scripts":{"test":"mocha --reporter spec"},"repository":{"type":"git","url":"git+https://github.com/gold/ttl-localstorage.git"},"keywords":["localStorage","state","storage","cache","cookies","key-value","store","cold sake from Japan","ttl","哇"],"author":{"name":"Gerry Gold"},"license":"MIT","bugs":{"url":"https://github.com/gold/ttl-localstorage/issues"},"homepage":"https://github.com/gold/ttl-localstorage#readme","dependencies":{"@std/esm":"^0.16.0","bluebird":"^3.5.1"},"devDependencies":{"chai":"^4.1.2","eslint":"4.6.0","eslint-config-airbnb":"^15.1.0","eslint-plugin-import":"2.7.0","eslint-plugin-jsx-a11y":"5.1.1","eslint-plugin-react":"^7.4.0","mocha":"^4.0.1"},"gitHead":"11323834a76102313e6edd6285923fe59c1f2945","_id":"ttl-localstorage@1.0.1","_npmVersion":"5.5.1","_nodeVersion":"9.2.0","_npmUser":{"name":"gold","email":"tektwit@gmail.com"},"dist":{"integrity":"sha512-iY0QJcrPrQCHWRXGL/AKMtoVwvJBEnjchzGsAqxejiolOrwkFtnHFQOvCe7dNN7FbotZx1w8aJ5q8UEJ12t7jQ==","shasum":"27b481148bad1f8a3664b74391da81578d6157a5","tarball":"https://registry.npmjs.org/ttl-localstorage/-/ttl-localstorage-1.0.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAQiYnA6lASQbU41WNKd9fcnu0ZYhXzvH1Xc6iHve1FMAiEA+uGKI99X5WzgTog7pQQJqK0YsGNxLNwTQ+Ux8zPv8n8="}]},"maintainers":[{"name":"gold","email":"tektwit@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ttl-localstorage-1.0.1.tgz_1511235532442_0.897768632741645"},"directories":{}},"1.1.0":{"name":"ttl-localstorage","private":false,"version":"1.1.0","description":"Promise-based API for Browser localStorage or Node context","main":"index.js","module":"main.js","scripts":{"test":"mocha --reporter spec","test-watch":"mocha -w --reporter spec"},"repository":{"type":"git","url":"git+https://github.com/gold/ttl-localstorage.git"},"keywords":["localStorage","state","storage","cache","cookies","key-value","store","cold sake from Japan","ttl","哇"],"author":{"name":"Gerry Gold"},"license":"MIT","bugs":{"url":"https://github.com/gold/ttl-localstorage/issues"},"homepage":"https://github.com/gold/ttl-localstorage#readme","dependencies":{"@std/esm":"^0.16.0","bluebird":"^3.5.1"},"devDependencies":{"chai":"^4.1.2","eslint":"4.6.0","eslint-config-airbnb":"^15.1.0","eslint-plugin-import":"2.7.0","eslint-plugin-jsx-a11y":"5.1.1","eslint-plugin-react":"^7.4.0","mocha":"^4.0.1"},"gitHead":"e1719c42aaa6ee0ae84303fa2077f3265a9fb0d9","_id":"ttl-localstorage@1.1.0","_npmVersion":"5.5.1","_nodeVersion":"9.2.0","_npmUser":{"name":"gold","email":"tektwit@gmail.com"},"dist":{"integrity":"sha512-f/OBU6Zu0uObLE+NOuvhGZSJHV06iJP9NGSGVU0x5Zrw5T5q0wnfnA1t/NRT4eoinhIR5ZO1i2oCrGE57xX6uA==","shasum":"e16e2f4523ebce993b3fed9f075abb6ba8998e04","tarball":"https://registry.npmjs.org/ttl-localstorage/-/ttl-localstorage-1.1.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFcWhnXLGpiyBFHgj0o5T+Fi+Ct+lSebAseXtLk9R1pPAiEAkGozMeqpV5XIChumniGIdVjAdKMBaFrFOmMpvXbP6Oc="}]},"maintainers":[{"name":"gold","email":"tektwit@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ttl-localstorage-1.1.0.tgz_1511536539016_0.3568463805131614"},"directories":{}},"1.2.0":{"name":"ttl-localstorage","private":false,"version":"1.2.0","description":"Promise-based API for Browser localStorage or Node context","main":"index.js","module":"main.js","scripts":{"test":"mocha --reporter spec","test-watch":"mocha -w --reporter spec"},"repository":{"type":"git","url":"git+https://github.com/gold/ttl-localstorage.git"},"keywords":["localStorage","state","storage","cache","cookies","key-value","store","cold sake from Japan","ttl","哇"],"author":{"name":"Gerry Gold"},"license":"MIT","bugs":{"url":"https://github.com/gold/ttl-localstorage/issues"},"homepage":"https://github.com/gold/ttl-localstorage#readme","dependencies":{"@std/esm":"^0.16.0","bluebird":"^3.5.1"},"devDependencies":{"chai":"^4.1.2","eslint":"4.6.0","eslint-config-airbnb":"^15.1.0","eslint-plugin-import":"2.7.0","eslint-plugin-jsx-a11y":"5.1.1","eslint-plugin-react":"^7.4.0","mocha":"^4.0.1"},"gitHead":"f0cb60a2042714baf90abfe364d51aef35d5b2f0","_id":"ttl-localstorage@1.2.0","_npmVersion":"5.5.1","_nodeVersion":"9.2.0","_npmUser":{"name":"gold","email":"tektwit@gmail.com"},"dist":{"integrity":"sha512-MCR3Y6KdUCwQjxbNvjJYZpx7aomhQhZx7SvCnhrAm4xPYwvEIsQuj+1KiteNm6SBwoZmJdAOggs3wU/icJvCzA==","shasum":"5f6b81f9d4846a65957176baf3ef57a060cc23fe","tarball":"https://registry.npmjs.org/ttl-localstorage/-/ttl-localstorage-1.2.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGA82vK5FiMRD/uz4iRt6t3nz/7IUY1VTb9eIstuCtj/AiEAlg7EP7U+81Ay3S417AR4nhhYeCE2nXiaCzx1P0ZGLiA="}]},"maintainers":[{"name":"gold","email":"tektwit@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ttl-localstorage-1.2.0.tgz_1511554456614_0.22703887685202062"},"directories":{}},"1.2.1":{"name":"ttl-localstorage","private":false,"version":"1.2.1","description":"Promise-based API for Browser localStorage or Node context","main":"index.js","module":"main.js","scripts":{"test":"mocha --reporter spec","test-watch":"mocha -w --reporter spec"},"repository":{"type":"git","url":"git+https://github.com/gold/ttl-localstorage.git"},"keywords":["localStorage","state","storage","cache","cookies","key-value","store","cold sake from Japan","ttl","哇"],"author":{"name":"Gerry Gold","url":"http://gerry.gold"},"license":"MIT","bugs":{"url":"https://github.com/gold/ttl-localstorage/issues"},"homepage":"https://github.com/gold/ttl-localstorage#readme","dependencies":{"@std/esm":"^0.17.0","bluebird":"^3.5.1"},"devDependencies":{"chai":"^4.1.2","eslint":"4.6.0","eslint-config-airbnb":"^15.1.0","eslint-plugin-import":"2.7.0","eslint-plugin-jsx-a11y":"5.1.1","eslint-plugin-react":"^7.4.0","mocha":"^4.0.1"},"gitHead":"73987878f54c5454e54ea02fbed663431bec347c","_id":"ttl-localstorage@1.2.1","_npmVersion":"5.5.1","_nodeVersion":"9.2.0","_npmUser":{"name":"gold","email":"tektwit@gmail.com"},"dist":{"integrity":"sha512-qHVCLtCSuu5bDkMma2h60XDW24nNUt+ofItst/D8vRgDIp9479t3WTG0YSLoW5ZaEEdeG1CQ8bC7RsmEHKZhdQ==","shasum":"2a21d424f3b92ce7dd40cfec96b9be7db7d8f2cc","tarball":"https://registry.npmjs.org/ttl-localstorage/-/ttl-localstorage-1.2.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDAGwohsJPA0yVaBYwYJIvIo2xsf0wwDWMemnNv7kd3ogIhAJS/PsrO6CABBM/CasPkJg6OqXO5XF302IhY0+I+nIFC"}]},"maintainers":[{"name":"gold","email":"tektwit@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ttl-localstorage-1.2.1.tgz_1511619442914_0.5641384946648031"},"directories":{}},"1.3.0":{"name":"ttl-localstorage","private":false,"version":"1.3.0","description":"Promise-based API for Browser localStorage or Node contexts","main":"index.js","scripts":{"test":"mocha --reporter spec","test-watch":"mocha -w --reporter spec"},"repository":{"type":"git","url":"git+https://github.com/gold/ttl-localstorage.git"},"keywords":["localStorage","state","storage","cache","cookies","key-value","store","cold sake from Japan","ttl","哇"],"author":{"name":"Gerry Gold","url":"http://gerry.gold"},"license":"MIT","bugs":{"url":"https://github.com/gold/ttl-localstorage/issues"},"homepage":"https://github.com/gold/ttl-localstorage#readme","dependencies":{"bluebird":"^3.5.1"},"devDependencies":{"chai":"^4.1.2","eslint":"^4.19.1","eslint-config-airbnb":"^16.1.0","eslint-plugin-import":"^2.12.0","eslint-plugin-jsx-a11y":"^6.0.3","eslint-plugin-react":"^7.8.2","mocha":"^5.2.0"},"gitHead":"8f7a5aab3b9c59d1de7ca3b4a3e21f72e7353e9d","_id":"ttl-localstorage@1.3.0","_npmVersion":"6.1.0","_nodeVersion":"10.3.0","_npmUser":{"name":"gold","email":"tektwit@gmail.com"},"dist":{"integrity":"sha512-4eHRVS0vX7X64+xyjcrQ1dUV285P3tAfqtRKcBAFM5KROsQWMxLtLzaE8NxMuT7zob/LSeZhQYltnU1GpHf1rw==","shasum":"f85cc406719b18f283d22e1d0be4ff765d9b38b4","tarball":"https://registry.npmjs.org/ttl-localstorage/-/ttl-localstorage-1.3.0.tgz","fileCount":8,"unpackedSize":16817,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbExmcCRA9TVsSAnZWagAAsLcQAJAsv5Bs1u/g8UfS+sQN\nlRcW1I+55MtpIJN79VX6XfyXMcBk+fU4EtUpLWDb6VmrsLagTI4HRRvPMm9s\nmmBBT8YO/sdgJG3B6xHkkboEmIC9/ycUt9fj865wFn4rskV2uHCjxQ5JJaBk\n80FL461pyxX+ac7+fyXlSIH/MtGq/yJCViVgzXYKs7ZGEKIBlmSESDdK8odi\nrF0AEbbe0r7UPo1X25Ptxg/Xg01T/StYFZNEZgh2tyUpBDhLvAlqLUjOUtwH\nuVpSsB7a/ShkCXvCpo4wL4gy7tdDw/qumA3p8E2We03zUd0/K2+pQDHvJNts\nd/CuALF6tpHQj/fu+N7BQNM/OU7Pg0QAjgaAfbu1rKMTVbIBB+2YkPsbdYp1\nK6H6/04GFyUuDUdZ+B16fudPMbRUGwZiWoTWEVQXDLA62TnjVRNHdS7qsox6\nu/YXiFeDHa3xSIYVDRuxAAwiMuysv+gKQDlyum2+pJjjotPYkyBlgF+hgJEW\nzMghdynKFmwYkxr/e32w90uJiiVUCihRpYktBHZYuPi4t/2BZX5eOTlgMFvM\n2pBwK7wEvQWwdz85DzLk/wiUjpvFjH45FuCtZ0kJ7BF6hCavMQ3x111qN6BX\n5/BvTy8QVKoOQMP+7SAGi41dEwLQ0sP25bOKKnlKTuKHe8hUjtxKIbNJb5aA\n+RGq\r\n=7Mfg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHujH8F8DsxVLQOWo5mKnQfSyOpAP2wx/RKTw6oX7RGuAiBmHxYK8a/Xf/sP749N2qAnx6+Ru/Qi9eJg8FiRt1Stdw=="}]},"maintainers":[{"name":"gold","email":"tektwit@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ttl-localstorage_1.3.0_1527978395858_0.7013109271147531"},"_hasShrinkwrap":false},"1.3.1":{"name":"ttl-localstorage","private":false,"version":"1.3.1","description":"Promise-based API for Browser localStorage or Node contexts","main":"index.js","scripts":{"test":"mocha --reporter spec","test-watch":"mocha -w --reporter spec"},"repository":{"type":"git","url":"git+https://github.com/gold/ttl-localstorage.git"},"keywords":["localStorage","state","storage","cache","cookies","key-value","store","cold sake from Japan","ttl","哇"],"author":{"name":"Gerry Gold","url":"http://gerry.gold"},"license":"MIT","bugs":{"url":"https://github.com/gold/ttl-localstorage/issues"},"homepage":"https://github.com/gold/ttl-localstorage#readme","dependencies":{"bluebird":"^3.5.3"},"devDependencies":{"chai":"^4.1.2","eslint":"^4.19.1","eslint-config-airbnb":"^16.1.0","eslint-plugin-import":"^2.12.0","eslint-plugin-jsx-a11y":"^6.0.3","eslint-plugin-react":"^7.8.2","mocha":"^5.2.0"},"gitHead":"12264965ffc7d9f94bb44c5eeb574400929e9a3f","_id":"ttl-localstorage@1.3.1","_npmVersion":"6.5.0","_nodeVersion":"11.9.0","_npmUser":{"name":"gold","email":"tektwit@gmail.com"},"dist":{"integrity":"sha512-IigygYoa0FeBHr/w3wp9A9n5vCDaVctAN1bPreCp0Lfe+cdbGT39mSN5jNgFfLiW3HXSv6CXY7GykKpwHVhE4A==","shasum":"d45c3c9e804f4f56fd1302f9815501e0ddc7be3a","tarball":"https://registry.npmjs.org/ttl-localstorage/-/ttl-localstorage-1.3.1.tgz","fileCount":8,"unpackedSize":16817,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcXwuKCRA9TVsSAnZWagAA2GMP/18POIVsu8/36VARvdyY\nXX6cADmIVnan0CyHVPsGlUYZdueaIUxK7m+z3wwdJYF2J2p2cuw4GXXosmmI\nmW9vtnKG08dtXtxD4ZcoGkfhfu7X5rcyI40XkzzJy8P63qJn9VJsvDEoIrkK\nY2YiLpBjTJ+xKrdND7bIjbunfb0Tphn8iF4iZoNqzjZH+34shAA/ZvEDGib5\nONqKCOrwUhWGjiZfE/FYiaCaIJtwZuSRORGYZ7DznCM10R/nJDcX8BTNeVoT\nCaqczMRwDQ7xq7Ew7ILJD8Uk3j3f2S1RjJeAdrtsFUVNCptg1dbOi8huEzZc\nBvX02ExNDvgCKj0bK6PEGQ/tpP1JIVO6XGl4B5wc9XYBzYEZcqmgBYNa57qP\n/PXpb+bBzqb/181cHCOwytbhA5LPK91ud3BKhiUJ8mbyASpLsVv+OucEI2Fv\nRSgvBhBRhncg3tAXTbQYYltE8HBKD2shqt+sok3SCzO3snPDdnkNIH7sweIl\nCamdardtWHbcQOrDxWC7lYEvjTGqpP4O0aFrH6nYfHRjRT4t70+ZIGHB/K1W\no/FMWJTMuwhyF+xdPvdy9id5xTWu3WEpi3UJ9xpQ56CP9QEv0o/ABgWOIb0m\nJXJAV7Q0huUIJna5eBFQ1JbAWJK9EViYNBxkZWszEglHOYpZsFGcQPgTHOKE\n+4FK\r\n=gRY7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICuksjddufn8sllvK5gsYI5/3tmNGJg8OYA7WFFJTIQ2AiEAsTwd5Z3hQFxN/cTgQwMQVV8ZWIZEXLkO8qYpXWC1ZzQ="}]},"maintainers":[{"name":"gold","email":"tektwit@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ttl-localstorage_1.3.1_1549732745449_0.885386568645409"},"_hasShrinkwrap":false},"1.4.0":{"name":"ttl-localstorage","private":false,"version":"1.4.0","description":"Promise-based API for Browser localStorage or Node contexts","main":"index.js","scripts":{"test":"mocha --reporter spec","test-watch":"mocha -w --reporter spec"},"repository":{"type":"git","url":"git+https://github.com/gold/ttl-localstorage.git"},"browserify":{"transform":["babelify"]},"keywords":["localStorage","state","storage","cache","cookies","key-value","store","cold sake from Japan","ttl","哇"],"author":{"name":"Gerry Gold","url":"http://gerry.gold"},"license":"MIT","bugs":{"url":"https://github.com/gold/ttl-localstorage/issues"},"homepage":"https://github.com/gold/ttl-localstorage#readme","dependencies":{"bluebird":"^3.5.3"},"devDependencies":{"chai":"^4.1.2","eslint":"^4.19.1","eslint-config-airbnb":"^16.1.0","eslint-plugin-import":"^2.12.0","eslint-plugin-jsx-a11y":"^6.0.3","eslint-plugin-react":"^7.8.2","mocha":"^5.2.0"},"gitHead":"f911519e18305cb7299bebcfa405889025329639","_id":"ttl-localstorage@1.4.0","_nodeVersion":"12.2.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-N30I5CZ45GqpQgVLo/PDXhnUV8wRFVqSYgdi/hBIiwRGdXpPYDMwlGyRz44glFoQj6yUc65jggCpiELBwJmM7g==","shasum":"65701ad8d56f54576750514eb87b1039e1734808","tarball":"https://registry.npmjs.org/ttl-localstorage/-/ttl-localstorage-1.4.0.tgz","fileCount":8,"unpackedSize":16870,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc3f9wCRA9TVsSAnZWagAAHIQP/iJpwQQmdh/9sZ44nd1t\nuMPhmotCNePkcZWgByD1QDCUvgbvcGO6X6uWS5dyNFJa5FesgH7wI46+6CWJ\nN9m/OIRBEp+/nsK/t3FBFi0mNv1pKmiYKlTiQDTDqK7Bqs6lfVuu+dA78Q1W\nIA5swDAkMf+ZiljNUnY+VgcXeNLIFvfM3QItVps//QI3RB00Mzzm193ZPjXu\ntSnV7XU4/miTtJlJUAMuj3C1uWeNKZKPEFLaH/Grd0RaQCrX0C8vmDYJj6fU\n5c+myrc0EMiwhlAlJgH+nbwX59/1g+D+G2ZCmrPubYysqE97iUKIiTexpzzn\neytqA25xUQ48rPa8j5PrK848I5lj8gnVbDzguHqRS9sMUQf/JqeKN6OpVZjL\naBtBx5otBgEzdH+60BBJ7LCPhkgTpjGIlkDjto/MBGnBW8mAyjExgm7EghmS\nU2YeoRO8yupGpyVGwOpUHxyZ5wtDEhwhq27dgoCzDCWBHyRYHfr2tOSz37xP\nmh6rZys+qYh5hjbKmmne1Mjr2TXkO2zXxUtoQ37dSPYy383qptEu7N8li7dn\nOQAyRvCl15ShZtvlm8UendKP5HIzDnFKruRnFvS6DK8bayE895X7KYThy2tp\n2A4htdv4GarpXyEShBxYB8CWMkw2QItsW9yYdZB4C8wTPcuahr6RMVFu8v8N\nfc7h\r\n=4KfP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBKfKHsCLRo+pqsSCtVLUu5MB2qOj4jLNIurTWSNxOjpAiAljZvLsyxwVQM51xgYtNc7JpO9fcqPjD7GCeK3pqlVtQ=="}]},"maintainers":[{"name":"gold","email":"tektwit@gmail.com"}],"_npmUser":{"name":"gold","email":"tektwit@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ttl-localstorage_1.4.0_1558052720230_0.00952333818771689"},"_hasShrinkwrap":false},"1.5.0":{"name":"ttl-localstorage","private":false,"version":"1.5.0","description":"Promise-based API for Browser localStorage or Node contexts","main":"index.js","scripts":{"test":"mocha --reporter spec","test-watch":"mocha -w --reporter spec"},"repository":{"type":"git","url":"git+https://github.com/gold/ttl-localstorage.git"},"browserify":{"transform":["babelify"]},"keywords":["localStorage","state","storage","cache","cookies","key-value","store","cold sake from Japan","ttl","哇"],"author":{"name":"Gerry Gold","url":"http://gerry.gold"},"license":"MIT","bugs":{"url":"https://github.com/gold/ttl-localstorage/issues"},"homepage":"https://github.com/gold/ttl-localstorage#readme","dependencies":{"bluebird":"^3.5.5"},"devDependencies":{"chai":"^4.2.0","eslint":"^6.0.1","eslint-config-airbnb":"^17.1.0","eslint-plugin-import":"^2.18.0","eslint-plugin-jsx-a11y":"^6.2.1","eslint-plugin-react":"^7.14.2","mocha":"^6.1.4"},"gitHead":"3f239519637faf63280ef0325dbb5f5f99e4a8e3","_id":"ttl-localstorage@1.5.0","_nodeVersion":"12.4.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-zEZwr9DB2Gm/1d0rPmuIlFX4p6n/fCQPX2FZxgB4GH3HhDOiTwyTnk4aajkTk21WHKnj+fKFz1bjmQGXTa79xg==","shasum":"61357cd398147ca6b7d3ed743f6446719f050227","tarball":"https://registry.npmjs.org/ttl-localstorage/-/ttl-localstorage-1.5.0.tgz","fileCount":8,"unpackedSize":22232,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdFDq5CRA9TVsSAnZWagAABT0P/iD6F6t6n+/gXWJ1MwOI\nsAfwJ2XKW2eUqRnSW4S+aYDiyW6Ns+m7Kma68LU0eyRn3SmFsIYD9f3QtnxI\nH0CYnI4arpVn4BpPO3yPY9EXOB4xJtdkQETgkJPdAgZlLlDU3Gv853phc5yB\nkkrlBxIF76qlb7ngzp/ASlKlzRIBm7imU66WDc3YTxUXt/TxftTpPQUegT0g\n/Aan0MUkwuL3JleA3r21bjfhDBAK4sz3qCW+08u2eHpowv37VG7HIFZmQgzv\nPxReXecxSTEa+8TIMZk8njU9G7DHoVSSdADMzJ7ATd0TZEDJgMnCjdzZh37c\niOFyvON18D8WjDW8Bd2Ky5XZpvQOdugMBxxixF61JG1a6Rx8X7o+e/XvZ1q6\nl7xPXByTlXDew/xDMCVi6s2hy3T+YxN8Vypz3406judqKXtd6Uj2mH7jwBrF\nQEb22+cQN1YEP+6JFEcaPZ/5Gn7DcRzEVZpxPUQ6tJGpSY9Gq8IAEaPeH1Rh\nNwfYhPWKHZMoKLs5OER7JUUZKaZOd+98D+vgApBgSOEfN7YFaz0EflhmaISG\n2ZdF+DmaMTPMGRbpijQZ9ekTLIWKIhWcXJV2Qn9IvISWrc43BfKAirRUqVRC\nH6ElimwGN4x5y++JoFuZVN53CZtShYr3EfI2v53FNaFF6/KM9f1WANCe3wX1\nGJab\r\n=NlvG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAWL4NTQIW0v83fSDtV8JFGU1uBOxBdUWHKV7A2629o0AiBEaSSFwPDQqUfNhT5vcbBwkqkdQqVQiVowTbhpoGPkYw=="}]},"maintainers":[{"name":"gold","email":"tektwit@gmail.com"}],"_npmUser":{"name":"gold","email":"tektwit@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ttl-localstorage_1.5.0_1561606841086_0.7985962940160063"},"_hasShrinkwrap":false},"1.5.1":{"name":"ttl-localstorage","private":false,"version":"1.5.1","description":"Promise-based API for Browser localStorage or Node contexts","main":"index.js","scripts":{"test":"mocha --reporter spec","test-watch":"mocha -w --reporter spec"},"repository":{"type":"git","url":"git+https://github.com/gold/ttl-localstorage.git"},"browserify":{"transform":["babelify"]},"keywords":["localStorage","state","storage","cache","cookies","key-value","store","cold sake from Japan","ttl","哇"],"author":{"name":"Gerry Gold","url":"http://gerry.gold"},"license":"MIT","bugs":{"url":"https://github.com/gold/ttl-localstorage/issues"},"homepage":"https://github.com/gold/ttl-localstorage#readme","dependencies":{"bluebird":"^3.5.5"},"devDependencies":{"chai":"^4.2.0","eslint":"^6.0.1","eslint-config-airbnb":"^17.1.0","eslint-plugin-import":"^2.18.0","eslint-plugin-jsx-a11y":"^6.2.1","eslint-plugin-react":"^7.14.2","mocha":"^6.1.4"},"gitHead":"c42fc2ec954f96343f90bd7d900f5d1b7589e335","_id":"ttl-localstorage@1.5.1","_nodeVersion":"12.4.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-BXX38aEfLgaihfJKDlCMaWOOa5dbIwh9N4Wd9kIatNC1kf4yevRlrAFtZt75UjePPtQbziWovYLhg/FUgtXCQQ==","shasum":"ac9c8d1671d9737c0ce4c1cc92aaac0d4970c42b","tarball":"https://registry.npmjs.org/ttl-localstorage/-/ttl-localstorage-1.5.1.tgz","fileCount":8,"unpackedSize":22239,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdFD3ACRA9TVsSAnZWagAAUNkP/A8kc7FtDQVzGV6wnjTv\n8pUgt/SB7c6FiVwqdAeRel0Flp7MR2mSKp5jdJo1zDkXUPSWIcepV54tYe5U\nh8zqE/Me6Wn9eX7vkI0Nm2OJ5q4WgP+saKwqAOXr6zpsT+uW9mdiS9kaA0WJ\nDW3fKqWjiP0DTb9ob81Cz04WJNndhSP6vRtMDWsxVSnJIcdPjJk7/f9CO6I8\nigndsQCdhq/FPILsbpPIX5ClM6wC1mjCvGljWaxeQS1ZfKQhS12Jl9AgCacn\njjoeOSmslidZDQKn0yRMv6PffL6Nwsbohwk04A8H3ySDmACsSv6jLuDPxh6K\nmV0xQgjBRely/H5ZJX22s8CLsJ7g3398DUni9Aq326cn1OeVf6/UwcHlAiPl\n9+tQrienfZNCECXqf8nFwlNWuONPfXSPzATzB2RvpmjSobCNJmm7KmoHMiuG\n2+O/3Lsf8h/rC8Bac16ae8o3n2L/EV8g6jHTZ7hzAdEIGyXbXYqjfgi4IaOb\nQNfF1oZY/f2tNTMYJFVMlfwWCLJ6zH6xkFtZyfk877mhJ6nVyizDLdH39Ng5\npdrN48jI+0S+GkliMi6MaSVNmPAOVS7pE1C2MZOafdB1CTdZGWO0wS1b6YvX\nvljiWSZCWOnhiySralzMqOxtsI7rieCZ2fPmIDXR9upaeJTZKECC3dnoOO8l\nqtXw\r\n=dtlh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCE28N9gubdDG6NqPlwzkHFP8RPMrsTXCr40Hycqz2t/QIgN56JDsGhRTQaXdLoTnI5A6yNSDMzTOMrDQGKIOLxs3E="}]},"maintainers":[{"name":"gold","email":"tektwit@gmail.com"}],"_npmUser":{"name":"gold","email":"tektwit@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ttl-localstorage_1.5.1_1561607616052_0.13804966228570992"},"_hasShrinkwrap":false},"1.5.2":{"name":"ttl-localstorage","private":false,"version":"1.5.2","description":"Promise-based API for Browser localStorage or Node contexts","main":"index.js","scripts":{"test":"mocha --reporter spec","test-watch":"mocha -w --reporter spec"},"repository":{"type":"git","url":"git+https://github.com/gold/ttl-localstorage.git"},"browserify":{"transform":["babelify"]},"keywords":["localStorage","state","storage","cache","cookies","key-value","store","cold sake from Japan","ttl","哇"],"author":{"name":"Gerry Gold","url":"http://gerry.gold"},"license":"MIT","bugs":{"url":"https://github.com/gold/ttl-localstorage/issues"},"homepage":"https://github.com/gold/ttl-localstorage#readme","dependencies":{"bluebird":"^3.5.5"},"devDependencies":{"chai":"^4.2.0","eslint":"^6.0.1","eslint-config-airbnb":"^17.1.0","eslint-plugin-import":"^2.18.0","eslint-plugin-jsx-a11y":"^6.2.1","eslint-plugin-react":"^7.14.2","eslint-utils":"1.4.3","lodash":"4.17.15","mocha":"^6.1.4"},"gitHead":"38b997c205e64c7eb42990c484e6ac6aff9b1987","_id":"ttl-localstorage@1.5.2","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-8F+YrKkcz+meOz3iKe70/dVe0Wij93q9EGSReztjkjQUMmjoAIHWInPfEYFQh0oOqVT3VUsXfwxtskL/ap1sQw==","shasum":"6058479ce36f912c5d8301f7e289fa7b502d82ad","tarball":"https://registry.npmjs.org/ttl-localstorage/-/ttl-localstorage-1.5.2.tgz","fileCount":8,"unpackedSize":22293,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd6+reCRA9TVsSAnZWagAAbmgP/0Gk0ADWGbpgKBLRz9cR\n5Usvf9Xcdr7LoAHC9WumlJvV+IiVPqhlGB1ACkT8voC2Nr8mnrhlG+3HmxiJ\nPMl6cFjng1VmVx43uUW3A1nXcWhDYFd+r1pQuZaEYp0tuuzZufxsLRDJgvDz\n5O0NBkCS3K7c2SEqUZCZMYDLgMA8F9WsHhxsLfSVrEisHpZB/uOs9VQyUd1p\nFW/MbfBz+8uDQ+3nPOVKqf3vfwq/e7k1FZKAgPJYYj4rGgsnFd0q1VkH4Out\nt46HNmNz2L9r2FJz9DppDXY6O0DrZR2Q9qTGFNiE9GCioTuuKFmLsbZZNjMH\nUKI/UGYC1sHzMYIDfXf3fwmwDSfIOzDYo1RUFWqv/QtWxa/bu1dIfxOUJa0f\n4RdWtgfy4z5mqG3vuX2jS98gg9Ln7Ipea3cOWNsQJD39wttLhETVWdJc2bjG\n5yuMbmSadWZm5svVTp6sumj4guH4uC/SIUAVanRx1JG2y8Gh1HlXlA7ywktN\nI5w4b7dqM/G/GJqPyORnLgjQwVOV2SNleb6tpTE4W3QLoCqY6iuT6s3a5/an\nY+AOtAsCAMD678g48lm2xCWLPQSeeAPr6vKXizFPMdnIn14zFVaXxp9lljIK\nEmai2L/fHdbQ977TJZJYTj5DjGe3/UhytmwjxTulwhdclQgpmoW9C+4aFt8X\niq+l\r\n=qPiI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD4/Yq3nwEnXw62SODY8favjfZQe4PHnCmlA8FOxEKXjQIgL9wconSGHdHwFK3jLym+pe0Ure3Fy/4HuLHQsm5/yWA="}]},"maintainers":[{"name":"gold","email":"tektwit@gmail.com"}],"_npmUser":{"name":"gold","email":"tektwit@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ttl-localstorage_1.5.2_1575742174409_0.6547296345303162"},"_hasShrinkwrap":false},"1.5.3":{"name":"ttl-localstorage","private":false,"version":"1.5.3","description":"Promise-based API for Browser localStorage or Node contexts","main":"index.js","scripts":{"test":"mocha --reporter spec","test-watch":"mocha -w --reporter spec"},"repository":{"type":"git","url":"git+https://github.com/gold/ttl-localstorage.git"},"browserify":{"transform":["babelify"]},"keywords":["localStorage","state","storage","cache","cookies","key-value","store","cold sake from Japan","ttl","哇"],"author":{"name":"Gerry Gold","url":"http://gerry.gold"},"license":"MIT","bugs":{"url":"https://github.com/gold/ttl-localstorage/issues"},"homepage":"https://github.com/gold/ttl-localstorage#readme","dependencies":{"bluebird":"^3.5.5"},"devDependencies":{"chai":"^4.2.0","eslint":"^6.8.0","eslint-config-airbnb":"^18.1.0","eslint-plugin-import":"^2.20.2","eslint-plugin-jsx-a11y":"^6.2.1","eslint-plugin-react":"^7.19.0","eslint-utils":"^2.0.0","lodash":"4.17.15","mocha":"^7.1.2"},"gitHead":"c4622ccdda3e730690899a110df897c19b9e962a","_id":"ttl-localstorage@1.5.3","_nodeVersion":"12.13.0","_npmVersion":"6.12.0","dist":{"integrity":"sha512-H88VqJzCoqu9BA+WLpFMe64H7D2ek5b0v7m1s7VgXTgyPThJe4dQZvOWOXtb2KIAhA4oQpmwxcU98X+3F0Oidw==","shasum":"0a19400631d48246db301e9b86e0158b86e9d82a","tarball":"https://registry.npmjs.org/ttl-localstorage/-/ttl-localstorage-1.5.3.tgz","fileCount":8,"unpackedSize":22320,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeqPFICRA9TVsSAnZWagAAAPoP/jgJCKwNXPO79QP8fLa1\nDgEfxVsquo02JVWVJRuuWII054uOBJ+BcsCHCk6gMxeVQ9dKbtrdnKMhwzru\nkKDXa8VeoQ3u0eovJqvd8EeWjSJ3+zitlIIzohl2CKUzRDiyRPiC/QTZ0nZh\nRMl5g6URKsvcpqFu96zqGl9D619T7nQFoFL6582L1QPimBHL41MTh0z4fJZ9\nN2AurPK9LyuSYCI03dx1K7qrurLh2sCa6qxMHsIX093+MzgWoi/DjK/nNgSM\nHQjHH4rXX8Ua1Wj6lds3hnZ8cu/L7JVYvPBahvRKb9/u9IsvRXVVkCK7/iw8\nC+M+YnoxEbVUZ7HORHGHjdh0UV6Nnz5hpGeCtafc23B3E0EHz+BF6+kVvih8\n8wIl3rX/TN8RiV1+J7ovu5JIrX5tz2dx8JxV519Svn/JztSj6/F5jLSCVvCo\n4uazKbGt+ZnDcNW4d9CMQ2kgQjTH8sdXvEZjzcx1fLGAwDjN+fHB8E6/76YI\n9a6QnBFNgLo/y0Cewbz1bFV3Xy4Hkx7ngu1F6O+yMvn+z1KZ+17l7zzTu+p1\najSgMHfUkjXHgnTJZoMwIVn8IqLgsDX4NO4968hhNnLxOe9zDz/q272MQeDQ\nKD8wSV/fbvlHkiy6sDwNu8NbhWHEGrSwTSJR8SpEQFekvL+18rtOvdku+G5F\nClIY\r\n=bLip\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBU2dTF+2RB62azv1SEBohYH1YvXAA56d08o2GIk1bouAiBy9uA+d+5J1ia+Dw7iK2Ih4UZAncIiqpDAxSXtRldCWw=="}]},"maintainers":[{"name":"gold","email":"tektwit@gmail.com"}],"_npmUser":{"name":"gold","email":"tektwit@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ttl-localstorage_1.5.3_1588130120070_0.5646933545414674"},"_hasShrinkwrap":false},"1.5.4":{"name":"ttl-localstorage","private":false,"version":"1.5.4","description":"Promise-based API for Browser localStorage or Node contexts","main":"index.js","scripts":{"test":"mocha --reporter spec","test-watch":"mocha -w --reporter spec"},"repository":{"type":"git","url":"git+https://github.com/gold/ttl-localstorage.git"},"browserify":{"transform":["babelify"]},"keywords":["localStorage","state","storage","cache","cookies","key-value","store","cold sake from Japan","ttl","哇"],"author":{"name":"Gerry Gold","url":"http://gerry.gold"},"license":"MIT","bugs":{"url":"https://github.com/gold/ttl-localstorage/issues"},"homepage":"https://github.com/gold/ttl-localstorage#readme","dependencies":{"bluebird":"^3.5.5"},"devDependencies":{"chai":"^4.2.0","eslint":"^6.8.0","eslint-config-airbnb":"^18.1.0","eslint-plugin-import":"^2.20.2","eslint-plugin-jsx-a11y":"^6.2.1","eslint-plugin-react":"^7.19.0","eslint-utils":"^2.0.0","mocha":"^7.1.2"},"gitHead":"1fd6f3e5575daa375b75e84b0baf4a9b5ac38435","_id":"ttl-localstorage@1.5.4","_nodeVersion":"15.4.0","_npmVersion":"7.0.15","dist":{"integrity":"sha512-nq3HaIPMaUv76LBP80pW1h4eE8FxH8zD7OKfsmXfyZy6eZ8phhZScVbeaT0QvZNDukEK2X3ypK5gIPj6C7pdcQ==","shasum":"f43385981d9dbed4dc8abb698cef853c6aa103ce","tarball":"https://registry.npmjs.org/ttl-localstorage/-/ttl-localstorage-1.5.4.tgz","fileCount":8,"unpackedSize":22997,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf1u3XCRA9TVsSAnZWagAAvx4QAKEnq5bM0kAgScl6LM70\nrfIlSEzBItS41SA76DODndna/guiSpdh2kEmeBweb1C23LpnuW80nuDGNhtu\nbMY8Ap2iQwIP9SPOhui0NLRGxSVsTjaqzImEctLFAZipXuGkExKGcK7tTDut\nz1MkJ+citazdn/DAig6ndVfmFgdDokSShEzj2QUn57YpdyokwICNCtHLB6er\nQwLPjD6r4FFTdUkdsPBDaXDBonLdkAujcYbRDGnImJYiQNBW7HdUU8tSBi9y\nTYm0z1wa5CJfxYwuXqc62sh3EhjxsLrfE8o5Q7CjL1DaQHkhj5udQH/KT1z8\nl79x/1Ak1AZ5OWFW4HZ3O4p3AX4V2cH+uDtXwFWteVME0NLgCBZ8Kh9k3wYN\nMD1JyzdSzVm4qXVXE+MS1pK6tXT1a+ksnalMpEYSBP6dliMVGxna7DW9iTIo\nto2zVVP4ksZqHrXXNTeuK28VVDAe2DidblrYJFxx2HuweUqQqv7UTcZoHKax\nOzrwKSPJh8tBUUYMtM1iCnTxTLbJ+gI2K3mXBWsuncw2JRV3jgSJmWnSCPkU\nLWZPdSycGXtPv2/3dr7AzAoFbxR7LNDxGDfBZI0lU9AXyx2Gdph2qWt8i5rC\nQ3inhNHDK4EZAbWziI+XT1JNZ/CgBDUswG0/ZK7RNldojc9aXHkRfyS+StSU\n7LY8\r\n=/heG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEb6udX8PxHpAuqRMbc+nNZ1fAwTpeMHJKYA835FuLz2AiEA44htkiyP1ZAQ94uO/FNyFAQFSW5h726qp+kFzLoeQoY="}]},"_npmUser":{"name":"gold","email":"tektwit@gmail.com"},"directories":{},"maintainers":[{"name":"gold","email":"tektwit@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ttl-localstorage_1.5.4_1607921110826_0.5891800813462904"},"_hasShrinkwrap":false},"2.0.0":{"name":"ttl-localstorage","private":false,"version":"2.0.0","description":"localStorage API with TTL for Browser or Node Server contexts","main":"./dist/index.js","types":"./dist/index.d.ts","scripts":{"dev":"npx ts-node src/index.ts","build":"rm -rf dist && npx tsc","testLocalStorage":"npx ts-mocha --require mock-local-storage --config '.mocharc.js' -g 'LocalStorage Tests'","testMemoryStorage":"npx ts-mocha --config '.mocharc.js' -g 'MemoryStorage Tests'","test":"npm run testLocalStorage && npm run testMemoryStorage","test-watch":"npx ts-mocha --require mock-local-storage --config '.mocharc.js' --watch --watch-files src, test"},"repository":{"type":"git","url":"git+https://github.com/gold/ttl-localstorage.git"},"browserify":{"transform":["babelify"]},"keywords":["localStorage","state","storage","cache","cookies","key-value","store","cold sake from Japan","ttl","哇"],"author":{"name":"Gerry Gold","url":"http://gerry.gold"},"license":"MIT","bugs":{"url":"https://github.com/gold/ttl-localstorage/issues"},"homepage":"https://github.com/gold/ttl-localstorage#readme","devDependencies":{"@types/chai":"^4.3.0","@types/mocha":"^9.0.0","@types/node":"^17.0.4","chai":"^4.3.4","eslint":"^6.8.0","eslint-plugin-import":"^2.20.2","eslint-utils":"^2.0.0","esm":"^3.2.25","mocha":"^8.4.0","mock-local-storage":"^1.1.19","ts-mocha":"^8.0.0","ts-node":"^10.4.0","typescript":"^4.5.4"},"gitHead":"7e47e17cb41b42e62f49d49b2ba06486c9d99492","_id":"ttl-localstorage@2.0.0","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-O01YZsRxx0h9GMPTyX5SS1lw8WuaTK2lV4Q6gCylhD2Fb/wdHT9U/lRIjHpSIuWL0+rsWaQEmxOibVF9x0ipRA==","shasum":"e0cd8f9af1b6a07625795b807ced1432627ffb33","tarball":"https://registry.npmjs.org/ttl-localstorage/-/ttl-localstorage-2.0.0.tgz","fileCount":12,"unpackedSize":22266,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhxn4HCRA9TVsSAnZWagAAcDQP/R4pzGZFKGDGnyd0HD9B\nK4n5+4Oh0T0SGDW3HFGRpCdk2Hj7vgI1ziXppHYc+DM3qb1JFEHTrjvLPAQM\nLwj0kjVHoczPAi36DJqqO18MwruVfSWVJTdyn1Tu8Jh21EAKt+XcJ4eDSUpz\nAHlYUxRsejCJKBX30P99+XJPyC5C1WPn0hT1T4WMwhMX8Rd2qzMYKV/aofZR\n5bh7EV5C56PCW6H7YXYfQydgESsDGZPOMO/dCFBMHTjAHmS+Dvhp7hObuUjs\nAdzS526jflARrGcjQX54UbPjqipphncDRmQ+DPprNNrZtmisBq8YUcqicr4M\n0ZWFByNGI4wsjNUNgCeTgO2yaxntMGRMS08A2nD0qMxbZWqPfAkB9oM9/MPg\nOirLjmNTG00K+rGUGe4wrNCSg4bvJLGpz9bJq6XdhvDS5O6I0HBVEeOhD/Ys\npqjGJM+1jPHJQH5la+jSVrcfmRCJyCMLhJ4V0iZK1eWr9zAI0RhrEGZCjUoe\nxakrdQoUgHDDRWdvFCrmHCtjYQMGSmUU3bICNQuNE1Rn7BGWQok5aHPkowyL\ne9Yswftl5Xr9JikRTlrOMSTxpFXd2KY37JWPAOQEfHubw36E59+7u4SHaBC1\n/38Z+1tq2phpQRtFsTtPBvsy45lMYgEb+cneOw3vqnTC37jBcpRtX7yIDvGq\nXOgX\r\n=q9Zw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGj+3aOEyKfHx1dxLX5oPVBnF+QHAPAQQZ5T0DKNk/b6AiBn2keNmTjyPa00vTc1GRdRE4cGi2Lf/rtWSACt7htLQg=="}]},"_npmUser":{"name":"gold","email":"tektwit@gmail.com"},"directories":{},"maintainers":[{"name":"gold","email":"tektwit@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ttl-localstorage_2.0.0_1640398342921_0.4662372571833904"},"_hasShrinkwrap":false}},"readme":"ttl-localstorage\n================\n\nAPI for Browser localStorage and Node contexts.\n\nInstallation\n------------\n\nnpm i ttl-localstorage\n\nBrowser localStorage\n---------------------\n\nThe subtle quirks of HTML5's localStorage are replaced with a simple API that\nis intuitive to use and just gets the job done.\n\nYou may be wondering: Isn't localStorage's native interface already simple to\nuse? Why do I need to use <code>ttl-localstorage</code> at all? You certainly\ncan use the native API, but if you do, you'll quickly discover that:\n\n - native localStorage has no optional timeout\n\n - native localStorage can only store strings\n\n<code>ttl-localstorage</code> fixes these limitations.\n\nNode.js Context\n----------------\n\nSometimes we want an ultra simple way to store and retrieve objects on the back\nend in Node, without having to set up yet another db or key-value store.\n<code>ttl-localstorage</code> can be used in a pure Node environment, without a\nbrowser. Examples below demonstrate how this is done.\n\nUsage and Examples\n------------------\n\n__Use LocalStorage for Browser, MemoryStorage for Node__\n\nWhereas the browser can use either the LocalStorage or the MemoryStorage module,\nNode contexts can only use the MemoryStorage module.\n\nThe following examples use the LocalStorage module, but MemoryStorage can use\nthe same methods.\n\n```javascript\nimport { LocalStorage } from 'ttl-localstorage';\n\nOR\n\nimport { MemoryStorage } from 'ttl-localstorage';\n\n// store\nconst data = { a: 1, b: true, stuff: { n: [2, 3, 5], composer: 'Stravinsky' } };\nLocalStorage.put('myKey', data);\n\n// retrieve\nconst data = LocalStorage.get('myKey');\n```\n\n__More About Retrieving Stored Data__\n\nInspired by Python's get() method, an optional 2nd arg is available.\n\n```javascript\nimport { LocalStorage } from 'ttl-localstorage';\n\n// Retrieve a key which does not exist:\nconst data = LocalStorage.get('badKey');\n// data => null\n\n// Retrieve a key which does not exist using an optional 2nd arg\nLocalStorage.get('badKey', { a: 1, b: 2 });\n// data => { \"a\": 1, \"b\": 2 }\n```\n\nTTL: Setting Timeouts\n=====================\n\nStandard localStorage data remains available until it is manually deleted by\nthe user. We fixed that so the developer gets back in control.\n\n<code>ttl-localstorage</code> allows a timeout to be set globally for all keys. This\ntimeout mechanism works for both LocalStorage and MemoryStorage usage.\n\n__Global Timeout for All Keys__\n\nJust set the timeout once before <code>put</code> operations. Granularity has been kept to seconds instead of finer, impractical time units.\n\n```javascript\nimport { LocalStorage } from 'ttl-localstorage';\n\nLocalStorage.timeoutInSeconds = 300;\n\nLocalStorage.put(myKey, data);\n\n// myKey can't access the stored data after 5 minutes has elapsed.\n```\n\nThe global timeout is disabled by default (timeoutInSeconds is initialized to null).\n\n__Key Level Timeout__\n\nSet a timeout on a per-key basis. If a global timeout had already been set, the key level timeout takes priority.\n\n```javascript\nimport { LocalStorage } from 'ttl-localstorage';\n\n// key will expire in 10 minutes (optional third argument)\nLocalStorage.put(ephemeralKey, data, 600);\n\n// key will expire in 1 day\nLocalStorage.put(dailyKey, data, 86400);\n\n```\n\n__Utilities__\n\n`keyExists(key)` behaves thusly:\n\nIf no timeout is set (the default), then the method resolves to true if key\nexists, false otherwise.\n\nHowever, if a timeout has been set, then `keyExists()` method behaves slightly\ndifferently. If no key found, resolves to false. If key exists and the timeout\nhas not yet expired, resolves to true; if key exists and timeout indicates this\nkey has expired, then the key is removed and then resolves to false.\n\n```javascript\nconst result = LocalStorage.keyExists(key);\n// result => boolean\n```\n\n`removeKey(key)`, as its name suggests, merely removes the key if it exists. If the\nkey does not exist, it's a no-op.\n\n```javascript\nLocalStorage.removeKey(key);\n// key has been removed\n```\n\n`clear()` removes all keys and data.\n\n`keys()` returns a list of keys.\n\n```javascript\nconst keyList = LocalStorage.keys();\n```\n\n`isLocalStorageAvailable()` detects if localStorage is available.\n\nThis can happen, for example, if iPhone's Safari browser is in private mode, in\nwhich case you can either alert the user to turn off private mode or just\nuse MemoryStorage instead of LocalStorage.\n\n```javascript\nconst isAvailable = LocalStorage.isLocalStorageAvailable();\nisAvailable => boolean\n```\n\n__The Cleaner: Optional Garbarge Collection__\n\n<code>ttl-localstorage</code> lazily removes keys if not explicitly removed via\n\\#removeKey; if a key is accessed either via #get or #keyExists, the key is\nautomatically removed if a timeout indicates the key has expired.\n\nThere is no garbage collector mechanism always running to periodically clean\nthings up.\n\nHowever, if you don't want expired keys lying around, just execute\nrunGarbageCollector() to manually clean up all keys that haven't been lazily\ndeleted.\n\n```javascript\nconst removedKeys = LocalStorage.runGarbageCollector();\n```\n\nCredits\n-------\n\nGerry Gold\n\nJune December 2021\n\nHave fun!\n","maintainers":[{"name":"gold","email":"tektwit@gmail.com"}],"time":{"modified":"2022-05-22T09:26:02.463Z","created":"2017-11-20T03:25:27.293Z","1.0.0":"2017-11-20T03:25:27.293Z","1.0.1":"2017-11-21T03:38:52.513Z","1.1.0":"2017-11-24T15:15:40.129Z","1.2.0":"2017-11-24T20:14:17.579Z","1.2.1":"2017-11-25T14:17:23.806Z","1.3.0":"2018-06-02T22:26:35.956Z","1.3.1":"2019-02-09T17:19:05.534Z","1.4.0":"2019-05-17T00:25:20.335Z","1.5.0":"2019-06-27T03:40:41.238Z","1.5.1":"2019-06-27T03:53:36.193Z","1.5.2":"2019-12-07T18:09:34.541Z","1.5.3":"2020-04-29T03:15:20.249Z","1.5.4":"2020-12-14T04:45:10.991Z","2.0.0":"2021-12-25T02:12:23.056Z"},"homepage":"https://github.com/gold/ttl-localstorage#readme","keywords":["localStorage","state","storage","cache","cookies","key-value","store","cold sake from Japan","ttl","哇"],"repository":{"type":"git","url":"git+https://github.com/gold/ttl-localstorage.git"},"author":{"name":"Gerry Gold","url":"http://gerry.gold"},"bugs":{"url":"https://github.com/gold/ttl-localstorage/issues"},"license":"MIT","readmeFilename":"README.md"}