{"_id":"map-lru","_rev":"7-28c52ea972ba042234a442e25c8e1132","name":"map-lru","dist-tags":{"latest":"2.1.0"},"versions":{"1.0.0":{"name":"map-lru","version":"1.0.0","keywords":["cache","caching","fast","least","lru","map","recently","used"],"author":{"name":"commenthol","email":"commenthol@gmail.com"},"license":"Unlicense","_id":"map-lru@1.0.0","maintainers":[{"name":"commenthol","email":"commenthol@gmail.com"}],"dist":{"shasum":"e016ad4cf1263a84bb8c9f72f4206fa657c25169","tarball":"https://registry.npmjs.org/map-lru/-/map-lru-1.0.0.tgz","integrity":"sha512-rfD5awhbwMus/NI1DOZ9wB7pmnhG1u8ZyfTsi8pCREmEyOZzIkjEsnYgvpibuX+hwIE4tIlcqR6vJVds9JlYJQ==","signatures":[{"sig":"MEUCIQCw8pGwQEcHyJsDWUXt8pOIAjQw04ZcKVAmrKLGFyqJZwIgWcKlcTGhkdclQRe03ryAchYVh3hWMUDK5HHy6JGQbZw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","babel":{"presets":["env"]},"module":"index.es.js","engines":{"node":">=4"},"gitHead":"1c5f6f7be3f474c8e6d0b40791d98f530cbf4c5d","scripts":{"lint":"standard -v --fix **/*.js","test":"nyc -r text mocha","build":"babel -o index.js index.es.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"commenthol","email":"commenthol@gmail.com"},"_npmVersion":"5.5.1","description":"\"Least Recently Used\" (LRU) cache compatible to ES6 Map","directories":{},"_nodeVersion":"8.9.3","devDependencies":{"nyc":"^11.3.0","mocha":"^4.0.1","babel-cli":"^6.26.0","babel-polyfill":"^6.26.0","babel-register":"^6.26.0","babel-preset-env":"^1.6.1"},"_npmOperationalInternal":{"tmp":"tmp/map-lru-1.0.0.tgz_1512816077658_0.375467472942546","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"map-lru","version":"1.0.1","keywords":["cache","caching","fast","least","lru","map","recently","used"],"author":{"name":"commenthol","email":"commenthol@gmail.com"},"license":"Unlicense","_id":"map-lru@1.0.1","maintainers":[{"name":"commenthol","email":"commenthol@gmail.com"}],"homepage":"https://github.com/commenthol/map-lru#readme","bugs":{"url":"https://github.com/commenthol/map-lru/issues"},"dist":{"shasum":"4954a97bcefe60d235ba7b625335e522c66cd5df","tarball":"https://registry.npmjs.org/map-lru/-/map-lru-1.0.1.tgz","fileCount":5,"integrity":"sha512-xfQ7bs6CFyLqcPqyUKOB/U/jBL+yLM9/BSpepSqQcsmv1Hr6UqZO56gmd8t8qDDBhpJ6t670TQrUu6ld1nS3Hw==","signatures":[{"sig":"MEUCIDtz8SUZQjHSOLG8bUCfl2oYE9Rt3FylLPVOQp5QTL96AiEAxxa9tLHWb6WjiIPNqnSu4Lp4UP1yAfsaPhok4kNzZFk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13698,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbQ63ZCRA9TVsSAnZWagAAMnwP/Aqmu1jrtAOshQT8hOQZ\nwbk90AyqtRnofpOmT8KvcoR7uMuuFPHERXazN8mxUEY7fZW51Pf18CivPEBO\nHMvlejZGMrfRPsxWOqqSwlNM8T7xqFiO9elqD3g2MCgVfcoT5u0WEcp5UnaD\nsQD4zmnSETSYQ/b/nIDbm3vK0B9ulzojAxiZBAVnTEX8ljQWdalNNNcx7YFa\n+Wg9/KE3CqyJ07GJ0KjWRF0UmgbyOhl3OLER/rM43ZgFljDRmLt/ml868ipH\nl3N4vJOndlwjebj55Oz/umFFrMWddswAX9jvvTh6mgyu49M/N9mnZo81XEGM\nPzCZuW7vBkQhjNScnVgu7boUhuh6TmoHb7iMsxrBeLCKxXJHoiOJI2F6uUL9\ninbyr+tH4ftt+tDAf0Ubmg8occuiKLib9vyqXr+/hFMjmFvoHJ/BlONTTu/R\nCD8PQ30fAQS0041GAi/nt4E0KcJYWuOyLIoWGsuACReV2j35c/Ltc7iCn3oc\n5JcBVXJE1l2d+88OcAZQmS0kslyKeCEH9fsBysbcR6vA1Xj6bvOxfqy8T8xZ\nahnqxX6/RfrNz0SDsAbhvAcTaRntBxJ6yJ5sbKCpUoxpDAgdRXqWE+1IWhll\n85lFMvx6eakcYtWPFTtjPDIs15VC6wD4uMH7UBjbqGNYBoaf4b2BKcvkSZpF\nCmhU\r\n=HHw6\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","babel":{"presets":["env"]},"module":"index.es.js","engines":{"node":">=4"},"gitHead":"d6c90f0b7e6cf13a78c94e475fd4d6a11484dd1c","scripts":{"all":"npm run lint && npm run build && npm run test","lint":"standard -v --fix **/*.js","test":"nyc -r text mocha","build":"babel -o index.js index.es.js && echo 'module.exports = MapLRU;' >> index.js","clean":"rimraf index.js coverage .nyc_output node_modules","coverage":"nyc -r text -r html mocha","coveralls":"npm test && nyc report --reporter=text-lcov | coveralls","prepublishOnly":"npm run build"},"_npmUser":{"name":"commenthol","email":"commenthol@gmail.com"},"repository":{"url":"git+https://github.com/commenthol/map-lru.git","type":"git"},"_npmVersion":"5.6.0","description":"\"Least Recently Used\" (LRU) cache compatible to ES6 Map","directories":{"test":"test"},"_nodeVersion":"8.11.2","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^12.0.2","mocha":"^5.2.0","babel-cli":"^6.26.0","coveralls":"^3.0.2","babel-polyfill":"^6.26.0","babel-register":"^6.26.0","babel-preset-env":"^1.7.0"},"_npmOperationalInternal":{"tmp":"tmp/map-lru_1.0.1_1531162073916_0.48967046999046304","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"map-lru","version":"1.0.2","keywords":["cache","caching","fast","least","lru","map","recently","used"],"author":{"name":"commenthol","email":"commenthol@gmail.com"},"license":"Unlicense","_id":"map-lru@1.0.2","maintainers":[{"name":"commenthol","email":"commenthol@gmail.com"}],"homepage":"https://github.com/commenthol/map-lru#readme","bugs":{"url":"https://github.com/commenthol/map-lru/issues"},"dist":{"shasum":"8735f8c36ccfaf58c6a6b30198f71e83a33e36aa","tarball":"https://registry.npmjs.org/map-lru/-/map-lru-1.0.2.tgz","fileCount":5,"integrity":"sha512-kQ4UficcbbOVe47WmanQsqsFjmji+yy3BY8lDMKdqrfS0i/iLe8qoZjb2khnHItKmyB/YMFsEOHrv7XsWzmpvQ==","signatures":[{"sig":"MEQCIHt4B/wCkR+OV184smPWtTzsl+3RjOL+zjtP9/WN/q1pAiAP+v2/Uhf1Hvn67zaub+BPWGVjGy1qEispgRDNch40cg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13691,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbUxs4CRA9TVsSAnZWagAALPIP/Axd/LlbjeEOAyiSOuRZ\ndrznklGxtQvOF/lU7Qlj+wx7iw1Yg36FIYzRLkjJSVSEZkIWvFfj48qJlu2Z\n6AzhRUoF+Q6K1S9v29LCZZUvDEox/4qr8yw1yDwCIha+W2ePngac1to//cwl\n4zQfF3rtpSTctU9Ux8e4+QBXCqnRvGSDOjODK7pYhpqTNGnrrdAtrmQs8DKz\nhP0B61u6Ly9xQDccjwSom5rPbCCtsevwT9erESlH7y0LZ+cObSTrS/TZFYiM\niclaHPC3VJzcoa9xI1Ifvy6e57li1ZDKb5l8s2i4gnJ3Ry4wLx9uuFT/Cnwm\n9NeAhZFQfC8jyber+eOkZtdfcag9I+oHChSgHisDUtrYiW4EKMjMwhbYroQR\nT/UdzE/uFvXDqKaq/s/nCG5gKh9v/hUFfxOJFuqQKijjYAOM9ewr4WFcTNqF\n07uU8+G3M3PeglXySYLrHmN4Id78wP0nZ9neH4PmSK/hbIWaB2caMRd9edNz\naCeeHnue5SpwZMzHRa1W5fpov/1qG65vTg4OKSkPfn+C9dv/+OdiNN21100v\n4fUjqGG9M40onXgwI/aRs/mxYSzifJDI9/Rp8fNPTFoSaMIAQhTctf5bU+N9\niTMKIdJLyTkM8jYrFmDAbMxGBX5wgBK3i7fMfN6OLu3mHMw7cc+Di1XHfrmK\nDQPU\r\n=ftYG\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","babel":{"presets":["env"]},"module":"index.es.js","engines":{"node":">=4"},"gitHead":"7c71750399057bd335e606e719412963eba40313","scripts":{"all":"npm run lint && npm run build && npm run test","lint":"standard -v --fix **/*.js","test":"nyc -r text mocha","build":"babel -o index.js index.es.js","clean":"rimraf index.js coverage .nyc_output node_modules","coverage":"nyc -r text -r html mocha","coveralls":"npm test && nyc report --reporter=text-lcov | coveralls","prepublishOnly":"npm run build"},"_npmUser":{"name":"commenthol","email":"commenthol@gmail.com"},"repository":{"url":"git+https://github.com/commenthol/map-lru.git","type":"git"},"_npmVersion":"6.1.0","description":"\"Least Recently Used\" (LRU) cache compatible to ES6 Map","directories":{"test":"test"},"_nodeVersion":"10.7.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^12.0.2","mocha":"^5.2.0","babel-cli":"^6.26.0","coveralls":"^3.0.2","babel-polyfill":"^6.26.0","babel-register":"^6.26.0","babel-preset-env":"^1.7.0"},"_npmOperationalInternal":{"tmp":"tmp/map-lru_1.0.2_1532173112693_0.22774238055773655","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"map-lru","version":"1.1.0","keywords":["cache","caching","fast","least","lru","map","recently","used"],"author":{"name":"commenthol","email":"commenthol@gmail.com"},"license":"Unlicense","_id":"map-lru@1.1.0","maintainers":[{"name":"commenthol","email":"commenthol@gmail.com"}],"homepage":"https://github.com/commenthol/map-lru#readme","bugs":{"url":"https://github.com/commenthol/map-lru/issues"},"dist":{"shasum":"79f04e1c33efa45fadea06d7c0945696f3beff40","tarball":"https://registry.npmjs.org/map-lru/-/map-lru-1.1.0.tgz","fileCount":5,"integrity":"sha512-vbnDZvYRfQQKfzxgCgZkcbdx5ooWoY9EnlmIdEJHAguHsl6GiGblzbRLkdQS1kyhA1CPjZvWqMNil/sG3gdt2Q==","signatures":[{"sig":"MEUCIBGkjqPcgt+QsXKKKy0t+VnYvDxl6AJqdB4QpoWuFi82AiEAx+gYOs5W99Be6BbTXIwr8KJqe/XPmzUKgt/yNyscNd0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16082,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdNzXHCRA9TVsSAnZWagAAvtAP/0EBo0n3YSWHzZp9jrS3\nAgc++sHc8vvB2UnGmf4yp2+pAHNskSmpxYW84k64WRe2gxkiP3GcdO15mt0v\nxAp78Qrqk0jzrzWfdlS51X69fFXuWWNMDdQCdy5uTyDhfC9RM85QccgetZRn\n496LdzErS5MYuRiKkqRYRfnuolPMwNNRL8STnEZlOqlhgFV6mWbivOFfs/Y2\nLQcDpmZy7hg1ydSStln9/zhDW16xN3VXFv7xENr1zCtJnDqGAd87DJWQTk6S\nYLXKgUbGelIJi2hkDLMVUKcJpSufVJH8e+r4JaTTqiPikBT4ujav8RN7fGZX\n5cBCgKKEcDVl19tLXORkHKej4n/Sv+mpURgt01Dzbi6y19aPLcaF/dMxJjEd\ns0T8M5SdPthnZVfmr+EGDVtPmprweKz8RNVFDxCoJ8QzdQp6HMfWjTcDp32A\n7ZA/KSAYxz0IhkR+rqgjUzWB23iRw8usOB2f45TOOCwKpV7vZvj3QAUBjFv4\nwmb0eNphgRAtifn/ChdOlt4Z8Ef4L4Fx8tFdKVHYyrqa2qMus39nesRkQ/A5\njZX8HLxAE1AQgf/QDHqeKoqhgRGjWBbE/Kk+3ffv39CCXIoFye8lY63CPZgo\nx/oorZZ2fBXSKCBc6q+W+QrUvoRokQ6SPF9bHv2rtbXSBU6DH++Qrh3YT+Hb\nQjx1\r\n=Owr4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","babel":{"presets":["env"]},"module":"index.es.js","engines":{"node":">=4"},"gitHead":"d6701a746f8c2297bd3579f99a6aeeba8715a081","scripts":{"all":"npm run lint && npm run build && npm run test","lint":"standard -v --fix **/*.js","test":"nyc -r text mocha","build":"babel -o index.js index.es.js","clean":"rimraf index.js coverage .nyc_output node_modules","coverage":"nyc -r text -r html mocha","coveralls":"npm test && nyc report --reporter=text-lcov | coveralls","prepublishOnly":"npm run build"},"_npmUser":{"name":"commenthol","email":"commenthol@gmail.com"},"repository":{"url":"git+https://github.com/commenthol/map-lru.git","type":"git"},"_npmVersion":"6.9.0","description":"\"Least Recently Used\" (LRU) cache compatible to ES6 Map","directories":{"test":"test"},"_nodeVersion":"10.16.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^12.0.2","mocha":"^5.2.0","standard":"^13.1.0","babel-cli":"^6.26.0","coveralls":"^3.0.2","babel-polyfill":"^6.26.0","babel-register":"^6.26.0","babel-preset-env":"^1.7.0"},"_npmOperationalInternal":{"tmp":"tmp/map-lru_1.1.0_1563899335413_0.4815682807071888","host":"s3://npm-registry-packages"}},"2.0.0-0":{"name":"map-lru","version":"2.0.0-0","keywords":["cache","caching","fast","least","lru","map","recently","used"],"author":{"name":"commenthol","email":"commenthol@gmail.com"},"license":"Unlicense","_id":"map-lru@2.0.0-0","maintainers":[{"name":"commenthol","email":"commenthol@gmail.com"}],"homepage":"https://github.com/commenthol/map-lru#readme","bugs":{"url":"https://github.com/commenthol/map-lru/issues"},"dist":{"shasum":"ef1aa351b55f30aae4caaf0f9b819ea668f37859","tarball":"https://registry.npmjs.org/map-lru/-/map-lru-2.0.0-0.tgz","fileCount":5,"integrity":"sha512-3aKUYI+DCMDenVUrSdzVgyyE9mORkrsmNJrxLte2OSl/F80t+rAzbG1LjcEDr2uxBUXWsp/3jS5skz7Wb88hGA==","signatures":[{"sig":"MEUCIQD/cllNXkAmkG+95jeEJomnEjAhx2NdJcY0x3/+Ikl7CwIgNyyTIqiS+OI5lA+0+SgoKR43Pm0G0WCzE1gwrwALGsw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14466,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhPa/hCRA9TVsSAnZWagAAGSIP/Rgs3rcWYha5HCyKt9AV\nmRfKU2hHle2fvIjHVzT+cJWy9rGP3alqMmyeH+WirUVgfMEM7Xon8bohaniy\nCnuOEWR78/oE+nalvHuT3aOivT//GQY4fgR47rtAQE2QMOaZpNvXAxC4Hp66\nMwsa8mE0LwXJpER/74G9V/xKZpgpcFHoXWCHzX0Oqf8SryahVPX4mjj+5SAf\nmqZn3/4+TBeJyPx4L7hmse1+etlAR6es79UvQ/mN3qpwz+t/lxbTcSQhyOwT\nOIBDtfMPJxUqJ1mOb+8gi8WcmjicAQZDyyJM22wlJVU5c81g8kzWs0ykzZxH\nocXC6CGElbK/fsrL9gUdWn9g1zY8OruOR2cwrVqkpwLk0KeEllkO/dLO4zB6\ns0RTMczFqyMSCvlJNJK+cn0Ej0IP2AJfY/OLLtn2jnq61u9UCY6U1ZW72CAt\nubCCz3WNGoVdeJR2WRdq8JPBdfqLPQf2wRjCMHHyCgQZKbEVcheVkwZIywdf\nJ37/akT2BWjkTr3B0weLKPT3Gm9KVFhGOKtJ3I2YB4CnlJdV7zhIyDxq7JcL\nWw9tqyOqHWqIOtvN1FXjb+oalOSYhlWWvKixRoVeUeb/AzqyhheINxDBLVNP\ng9gYdzsLwTtrbC5ZTHqflRP5ZACPBH3k0Nvu2FGc5ELt4LkOYkOJ9tNi2LgR\nyxCG\r\n=U45A\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.cjs","type":"module","babel":{"presets":["env"]},"mocha":{"color":true,"checkLeaks":true},"module":"src/index.js","engines":{"node":">=12"},"exports":{".":{"import":"./src/index.js","require":"./lib/index.cjs"},"./package.json":"./package.json"},"gitHead":"3229297d0de7099176c17ca625ab7706487a321c","scripts":{"all":"npm run lint && npm run build && npm run test","lint":"standard -v --fix **/*.js","test":"c8 -r text mocha","build":"rollup -c","clean":"rimraf index.js coverage .nyc_output node_modules","coverage":"c8 -r text -r html mocha","coveralls":"npm test && c8 report --reporter=text-lcov | coveralls","prepublishOnly":"npm run build"},"_npmUser":{"name":"commenthol","email":"commenthol@gmail.com"},"repository":{"url":"git+https://github.com/commenthol/map-lru.git","type":"git"},"_npmVersion":"7.21.1","description":"\"Least Recently Used\" (LRU) cache compatible to ES6 Map","directories":{"test":"test"},"_nodeVersion":"16.9.1","_hasShrinkwrap":false,"devDependencies":{"c8":"^7.9.0","mocha":"^8.2.1","rollup":"^2.56.3","standard":"^16.0.3","coveralls":"^3.1.0"},"_npmOperationalInternal":{"tmp":"tmp/map-lru_2.0.0-0_1631432673569_0.34469061733080064","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"map-lru","version":"2.0.0","keywords":["cache","caching","fast","least","lru","map","recently","used"],"author":{"name":"commenthol","email":"commenthol@gmail.com"},"license":"Unlicense","_id":"map-lru@2.0.0","maintainers":[{"name":"commenthol","email":"commenthol@gmail.com"}],"homepage":"https://github.com/commenthol/map-lru#readme","bugs":{"url":"https://github.com/commenthol/map-lru/issues"},"dist":{"shasum":"674925e98355e98cec0b1d330bc089938dff6b0b","tarball":"https://registry.npmjs.org/map-lru/-/map-lru-2.0.0.tgz","fileCount":5,"integrity":"sha512-a5TlnsxvczXMY7U/U4P0b7GI3KSAonc+u2MQtWQS5L21K9UV4fYQbbgktj3eqP5ch04XtCOcoqR0OlILo906nA==","signatures":[{"sig":"MEUCIHyhx5N8OLqyzhmKFo2k4EH48DhqppOUCxR+r62dm8QKAiEA6f+JEYv1LXz8YSWXIkP8xKeZhFzuygJ1JI86PeAW0Q4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14464,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhQBBzCRA9TVsSAnZWagAAMzQP+QFGQOqaEuNeWREq3rTx\n2Q+osqPv0QsV8v1WVFPQNTlFhaHqTTMh/FWL+KPDF9Z4QMcbi8DpdS8KIdN7\nkPPHmDFQQiv+KX2tjGqA+OicSoo4VGgSSuYLKUU7kGwQBlsIGX464V9GEnNO\nDC59mQaiTmvFdhALh3Tss18GrNKr66zbGgkuWIcgwODClewySczxEDkkWLSt\nkWxP/c8GYCwFntepZqhevkCp2k7P9wy3c4m4gb7J5ExEJEH9eDm8bBOAk7fx\nrFRlx08NGuRe9vZFLHrueIEZxN9ZuNDOovCPB8QF5KWvGzrFi9pGPWcB987P\ncucEkHewXooy/rGiKT/oVeE2w22WbdW3kIYK+PSIVSTG+5lJyGiPsZ5Ux6Hq\nXU02OG4KdS75oTFoB6uqg8tOg3gDEabRDkAwNTcN2zMsn0kceeLiFz7w1dcr\nFa6RnaSgr6vrwznd3/DRRZ9HFiikxQ6c+gSNKRn5XT+DQEzOgT+3K9Q8GKhM\nPDuChNOiDqovCfrYmRwsF5ZlL5NW/ntJulNttqoIHCz5ywxgnMyV7Yxo9hjM\nPfbwbmRbPXKpygDNH+R9g7/0ZJUsJYNXcRpb/jFV2fWm96JVqCYRYhjdZyFO\n2jknAnY5NxlTs1hRbw85XuurOy42lomkJBcjUIthccHEhxwHn2wCg0ksb6MO\npokn\r\n=hfr/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.cjs","type":"module","babel":{"presets":["env"]},"mocha":{"color":true,"checkLeaks":true},"module":"src/index.js","engines":{"node":">=12"},"exports":{".":{"import":"./src/index.js","require":"./lib/index.cjs"},"./package.json":"./package.json"},"gitHead":"b159ba49958232027bcbc20e208d1913c447582d","scripts":{"all":"npm run lint && npm run build && npm run test","lint":"standard -v --fix **/*.js","test":"c8 -r text mocha","build":"rollup -c","clean":"rimraf index.js coverage .nyc_output node_modules","coverage":"c8 -r text -r html mocha","coveralls":"npm test && c8 report --reporter=text-lcov | coveralls","prepublishOnly":"npm run build"},"_npmUser":{"name":"commenthol","email":"commenthol@gmail.com"},"repository":{"url":"git+https://github.com/commenthol/map-lru.git","type":"git"},"_npmVersion":"7.21.1","description":"\"Least Recently Used\" (LRU) cache compatible to ES6 Map","directories":{"test":"test"},"_nodeVersion":"16.9.1","_hasShrinkwrap":false,"devDependencies":{"c8":"^7.9.0","mocha":"^9.1.1","rollup":"^2.56.3","standard":"^16.0.3","coveralls":"^3.1.1"},"_npmOperationalInternal":{"tmp":"tmp/map-lru_2.0.0_1631588466868_0.7901030939163183","host":"s3://npm-registry-packages"}},"2.1.0":{"name":"map-lru","version":"2.1.0","description":"\"Least Recently Used\" (LRU) cache compatible to ES6 Map","keywords":["cache","caching","fast","least","lru","map","recently","used"],"homepage":"https://github.com/commenthol/map-lru#readme","bugs":{"url":"https://github.com/commenthol/map-lru/issues"},"repository":{"type":"git","url":"git+https://github.com/commenthol/map-lru.git"},"license":"Unlicense","author":{"name":"commenthol","email":"commenthol@gmail.com"},"type":"module","exports":{"./package.json":"./package.json",".":{"import":"./src/index.js","require":"./lib/index.cjs","types":"./types/index.d.ts"}},"main":"./lib/index.cjs","module":"./src/index.js","types":"./types/index.d.ts","directories":{"test":"test"},"scripts":{"all":"npm-run-all clean lint build test types","build":"rollup -c","clean":"rimraf coverage types","coverage":"c8 -r text -r html mocha","coveralls":"npm test && c8 report --reporter=text-lcov | coveralls","lint":"standard -v --fix **/*.js","test":"c8 -r text mocha","types":"tsc"},"babel":{"presets":["env"]},"mocha":{"checkLeaks":true,"color":true},"devDependencies":{"c8":"^10.1.2","coveralls":"^3.1.1","mocha":"^10.7.3","npm-run-all2":"^6.2.2","rimraf":"^6.0.1","rollup":"^4.20.0","standard":"^17.1.0","typescript":"^5.5.4"},"engines":{"node":">=12"},"_id":"map-lru@2.1.0","gitHead":"6c840ac3998ed4d16a8dd209e214840fbbc92242","_nodeVersion":"22.6.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-Fa9E3knqtjzLtgtz49B2LjEFUH1asuG4iX7nA4rrlRq6Ey75xvi3hqvHnhs6IAj06o8ldasoFLEQtTATGD/GgA==","shasum":"22a925c82cb168eb75c64cbb200d5a1808797157","tarball":"https://registry.npmjs.org/map-lru/-/map-lru-2.1.0.tgz","fileCount":6,"unpackedSize":20559,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHs+zmxNZzmzpqqrX20soU/K8GPuHa+wygc/KSaIzSppAiArPWvagucv81uUMuL9E/W+eLjCM8DTY72VFmAO+3qWKQ=="}]},"_npmUser":{"name":"commenthol","email":"commenthol@gmail.com"},"maintainers":[{"name":"commenthol","email":"commenthol@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/map-lru_2.1.0_1723645864414_0.30213578140371355"},"_hasShrinkwrap":false}},"time":{"created":"2017-12-09T10:41:18.580Z","modified":"2024-08-14T14:31:04.756Z","1.0.0":"2017-12-09T10:41:18.580Z","1.0.1":"2018-07-09T18:47:53.969Z","1.0.2":"2018-07-21T11:38:32.745Z","1.1.0":"2019-07-23T16:28:55.535Z","2.0.0-0":"2021-09-12T07:44:33.716Z","2.0.0":"2021-09-14T03:01:07.021Z","2.1.0":"2024-08-14T14:31:04.569Z"},"bugs":{"url":"https://github.com/commenthol/map-lru/issues"},"author":{"name":"commenthol","email":"commenthol@gmail.com"},"license":"Unlicense","homepage":"https://github.com/commenthol/map-lru#readme","keywords":["cache","caching","fast","least","lru","map","recently","used"],"repository":{"type":"git","url":"git+https://github.com/commenthol/map-lru.git"},"description":"\"Least Recently Used\" (LRU) cache compatible to ES6 Map","maintainers":[{"name":"commenthol","email":"commenthol@gmail.com"}],"readme":"# MapLRU\n\n> \"Least Recently Used\" (LRU) cache compatible to ES6 Map\n\n[![NPM version](https://badge.fury.io/js/map-lru.svg)](https://www.npmjs.com/package/map-lru/)\n[![Build Status](https://app.travis-ci.com/commenthol/map-lru.svg?branch=master)](https://app.travis-ci.com/commenthol/map-lru)\n[![Coverage Status](https://coveralls.io/repos/github/commenthol/map-lru/badge.svg?branch=master)](https://coveralls.io/github/commenthol/map-lru?branch=master)\n\nUseful for caching with limited memory usage.\nAPI compatible with built-in [Map][] object.\n\n## Install\n\n```\n$ npm install map-lru\n```\n\n## Usage\n\n```js\nimport MapLRU from 'map-lru' // ES5\n// const MapLRU = require('map-lru') // commonJs\nconst cache = new MapLRU(10)\n\ncache.set('♥', '♥♥♥')\n\ncache.has('♥');\n//=> true\ncache.get('♥');\n//=> '♥♥♥'\ncache.last\n//=> '♥'\ncache.size\n//=> 1\n```\n\n\n## API\n\n### new MapLRU(maxSize)\n\nCreates a new instance\n\n**Parameters**\n\n- `maxSize` **[Number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** max. size of the LRU cache.\n\n----\n\n_Additional methods_\n\n- `last`\n\n  Returns the last accessed key.\n\n  Returns **Any**\n\n- `peek(key)`\n\n  Get an item without marking it as recently used.\n\n  **Parameters**\n\n  - `key` **Any**\n\n- `keysAccessed()`\n\n  keys in order of access - last one is most recently used one.\n\n  Returns **Iterator** Iterator object\n\n----\n\n_Default [Map][] methods_\n\n- [`size`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map/size)\n\n- [`get(key)`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map/get)\n\n- [`set(key, value)`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map/set)\n\n- [`has(key)`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map/has)\n\n- [`delete(key)`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map/delete)\n\n- [`clear()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map/clear)\n\n- [`keys()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map/keys)\n\n- [`values()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map/values)\n\n- [`entries()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map/entries)\n\n- [`forEach()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map/forEach)\n\n- [`[Symbol.iterator]`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set/@@iterator)\n\n## License\n\n[Unlicense](https://unlicense.org)\n\n[Map]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map\n","readmeFilename":"README.md"}