{"_id":"lru","_rev":"33-67dd75dcd78aa39674cac079cc0e2d72","name":"lru","description":"A simple O(1) LRU cache","dist-tags":{"latest":"3.1.0"},"versions":{"0.1.0":{"name":"lru","description":"A simple O(1) LRU cache","version":"0.1.0","author":{"name":"Chris O'Hara","email":"cohara87@gmail.com"},"main":"index","bugs":{"email":"cohara87@gmail.com"},"repository":{"type":"git","url":"git://github.com/chriso/lru.git"},"engines":{"node":">= 0.4.0"},"licenses":[{"type":"MIT"}],"_npmUser":{"name":"cohara87","email":"cohara87@gmail.com"},"_id":"lru@0.1.0","dependencies":{},"devDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.0-beta-10","_nodeVersion":"v0.6.7","_defaultsLoaded":true,"dist":{"shasum":"1dc9598cb12a9096db5929652d71a5e5e7365b1b","tarball":"https://registry.npmjs.org/lru/-/lru-0.1.0.tgz","integrity":"sha512-AMbeZSVjE+2LLGjCHw0G+PrCLcNrnJ+N4Do1Y2v75ZkIeBkMpyMXZEhu7VHD3wQK1alKiTBiGdndCo6HB71B1g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGpM1KqjbmYiLLm3BCS6heLf5MxZbR5HnJwNvLeBQxreAiBkc6aKTiMbDLBLp2Wow+W0SIpP40FBzI5WMSeu9kuTrQ=="}]},"maintainers":[{"name":"cohara87","email":"cohara87@gmail.com"}],"directories":{}},"0.1.1":{"name":"lru","description":"A simple O(1) LRU cache","version":"0.1.1","author":{"name":"Chris O'Hara","email":"cohara87@gmail.com"},"main":"index","bugs":{"email":"cohara87@gmail.com"},"repository":{"type":"git","url":"git://github.com/chriso/lru.git"},"engines":{"node":">= 0.4.0"},"licenses":[{"type":"MIT"}],"_npmUser":{"name":"cohara87","email":"cohara87@gmail.com"},"_id":"lru@0.1.1","dependencies":{},"devDependencies":{},"optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.4","_nodeVersion":"v0.6.12","_defaultsLoaded":true,"dist":{"shasum":"08942f2c24815c2db8f6d3d37ef5ba9f7d638850","tarball":"https://registry.npmjs.org/lru/-/lru-0.1.1.tgz","integrity":"sha512-NJDHV95PgneBDsmfRnSVwikoAAIs/01S82ebxWVea09qKD4+iSp1MqTvduik0jicR6Kgj0xe2b3A/lid6CUPMg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC4vkUP7oti1pMeqB4i4uNm85KibrCI8KK35ua1X2i85AiEA9X5DEpUWV1ZXYtPWwJ9dW6P5fp+mMjScgOMg5r3xRPU="}]},"maintainers":[{"name":"cohara87","email":"cohara87@gmail.com"}],"directories":{}},"0.1.3":{"name":"lru","description":"A simple O(1) LRU cache","version":"0.1.3","author":{"name":"Chris O'Hara","email":"cohara87@gmail.com"},"main":"index","bugs":{"email":"cohara87@gmail.com"},"repository":{"type":"git","url":"git://github.com/chriso/lru.git"},"engines":{"node":">= 0.4.0"},"licenses":[{"type":"MIT"}],"_npmUser":{"name":"cohara87","email":"cohara87@gmail.com"},"_id":"lru@0.1.3","dependencies":{},"devDependencies":{},"optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.12","_nodeVersion":"v0.6.14","_defaultsLoaded":true,"dist":{"shasum":"8af38a142e249d5ebd155339e94c0b358cc7586d","tarball":"https://registry.npmjs.org/lru/-/lru-0.1.3.tgz","integrity":"sha512-oGdILafUFVsmS2V/G/Duq4yLIWZAU2B7Tu0WFwY4bcx7I4+ZbSMGQ3NElH5MvaHcA0savohkVqxPmr52qRtqqA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCW195uSed1t829QS0Jxey0sIcW5t4xmXctR0O2TqpZBgIhALOMH+MYqsehMAij2QdE2PPmXPBiqOxTC9xA2Ialt0gh"}]},"maintainers":[{"name":"cohara87","email":"cohara87@gmail.com"}],"directories":{}},"0.1.4":{"name":"lru","description":"A simple O(1) LRU cache","version":"0.1.4","author":{"name":"Chris O'Hara","email":"cohara87@gmail.com"},"main":"index","bugs":{"email":"cohara87@gmail.com"},"homepage":{"url":"http://github.com/chriso/lru"},"repository":{"type":"git","url":"git://github.com/chriso/lru.git"},"engines":{"node":">= 0.4.0"},"licenses":[{"type":"MIT"}],"devDependencies":{"vows":"~0.6"},"_npmUser":{"name":"cohara87","email":"cohara87@gmail.com"},"_id":"lru@0.1.4","dependencies":{},"optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.16","_nodeVersion":"v0.6.15","_defaultsLoaded":true,"dist":{"shasum":"63cdf02962e81bde8f7cfc97b157cc453b90573f","tarball":"https://registry.npmjs.org/lru/-/lru-0.1.4.tgz","integrity":"sha512-NEMy25DfuMJ5FrMLxR2xTSuNP/xh3Kka++oZ82ngUDiAuezzbrbbIc0FnypZh4v7Xj/zRqbPTnlxJIpxoriXHQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCJBkfjFJy24ZDNgPdztDcdX8oIQFgYDI3RfebATEcLPQIgBRL++bWcFk8rGsTDyVLncm7pK77D0R/4PX3WKMdgBLc="}]},"maintainers":[{"name":"cohara87","email":"cohara87@gmail.com"}],"directories":{}},"0.1.5":{"name":"lru","description":"A simple O(1) LRU cache","version":"0.1.5","author":{"name":"Chris O'Hara","email":"cohara87@gmail.com"},"main":"index","bugs":{"mail":"cohara87@gmail.com"},"homepage":{"url":"http://github.com/chriso/lru"},"repository":{"type":"git","url":"http://github.com/chriso/lru.git"},"engines":{"node":">= 0.4.0"},"licenses":[{"type":"MIT"}],"devDependencies":{"vows":"~0.6"},"_id":"lru@0.1.5","dist":{"shasum":"bc95665bdabdef0f676c29fe788bb0874daa80b4","tarball":"https://registry.npmjs.org/lru/-/lru-0.1.5.tgz","integrity":"sha512-ABpzrduco4jiYtidqgfMHgPP7FlUnw9PD7LM5b3kf4wz3uBS+gY/arsdIiK7ztw3vUP7K/yzOpbCqzPl3maqew==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDxs6jIFlfHAXZn06w9G7FMsrZ9u3gp1BiHcDi3lAi32gIgeLOPj5LjZs/waUfDENKZd7FO7USTPMQEfWH7Ps295Nw="}]},"maintainers":[{"name":"cohara87","email":"cohara87@gmail.com"}],"directories":{}},"0.2.0":{"name":"lru","description":"A simple O(1) LRU cache","version":"0.2.0","author":{"name":"Chris O'Hara","email":"cohara87@gmail.com"},"main":"index","repository":{"type":"git","url":"git+ssh://git@github.com/chriso/lru.git"},"engines":{"node":">= 0.4.0"},"licenses":[{"type":"MIT"}],"devDependencies":{"vows":"^0.8.1"},"scripts":{"test":"vows test/*.js --spec"},"dependencies":{},"gitHead":"a306b426c01015a61966abba08567ce3df33cb44","_id":"lru@0.2.0","_shasum":"87877f616da573fb88186e40760f626961e5b9cb","_from":".","_npmVersion":"2.11.2","_nodeVersion":"0.12.5","_npmUser":{"name":"cohara87","email":"cohara87@gmail.com"},"dist":{"shasum":"87877f616da573fb88186e40760f626961e5b9cb","tarball":"https://registry.npmjs.org/lru/-/lru-0.2.0.tgz","integrity":"sha512-6FUGx+hlXrKUoE5FsSRpQu8YtrS1lxOzpeQodyDMc6tIqechNPyNGnpq3IFCq8CAgR8iYqir0tOqO36eqK7rjQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIECf2eGwRJfLLpkOVcda0PIqHVqthX5zjjkyoBWHXp1cAiAh8WrtXp+9FAJpgb2fTGP4/iNWIAHUG1vhcD2nysHlbA=="}]},"maintainers":[{"name":"cohara87","email":"cohara87@gmail.com"}],"directories":{}},"0.2.2":{"name":"lru","description":"A simple O(1) LRU cache","version":"0.2.2","author":{"name":"Chris O'Hara","email":"cohara87@gmail.com"},"main":"index","repository":{"type":"git","url":"git+ssh://git@github.com/chriso/lru.git"},"engines":{"node":">= 0.4.0"},"licenses":[{"type":"MIT"}],"devDependencies":{"vows":"^0.8.1"},"scripts":{"test":"vows test/*.js --spec"},"dependencies":{},"gitHead":"05d7542e1d8c72d5988354aa2c00227d5e261104","_id":"lru@0.2.2","_shasum":"794c9b591fa3edde110791caee61041bf9d72aff","_from":".","_npmVersion":"2.11.2","_nodeVersion":"0.12.5","_npmUser":{"name":"cohara87","email":"cohara87@gmail.com"},"dist":{"shasum":"794c9b591fa3edde110791caee61041bf9d72aff","tarball":"https://registry.npmjs.org/lru/-/lru-0.2.2.tgz","integrity":"sha512-iWfamVul0YwkhFxIg5EWQvrTiQXTIEsLQ2HN8ZyEUkIwcC6aDG2YjLWiY+kdBoTMz3l/HIn+ubm8BK2ShVi/6w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDUEPUTb1FGXVfcdwtr/Y6slmBZXAaA7vrteixUltU+QQIhAM8OcfFHKnYOA81Q5CLn9Z9dMbDNQQ7IKrzGqo1SUScO"}]},"maintainers":[{"name":"cohara87","email":"cohara87@gmail.com"}],"directories":{}},"1.0.0":{"name":"lru","description":"A simple O(1) LRU cache","version":"1.0.0","author":{"name":"Chris O'Hara","email":"cohara87@gmail.com"},"main":"index","homepage":"http://github.com/chriso/lru","repository":{"type":"git","url":"git+ssh://git@github.com/chriso/lru.git"},"bugs":{"url":"http://github.com/chriso/lru/issues"},"engines":{"node":">= 0.4.0"},"license":"MIT","devDependencies":{"vows":"^0.8.1"},"scripts":{"test":"vows test/*.js --spec"},"dependencies":{},"gitHead":"c853c4b4701a148f5a7e4ea6a70cef7c7a60d1fd","_id":"lru@1.0.0","_shasum":"083d2d6a0ef4fb4ef238960f3438e284c5158a14","_from":".","_npmVersion":"2.12.1","_nodeVersion":"0.12.7","_npmUser":{"name":"cohara87","email":"cohara87@gmail.com"},"dist":{"shasum":"083d2d6a0ef4fb4ef238960f3438e284c5158a14","tarball":"https://registry.npmjs.org/lru/-/lru-1.0.0.tgz","integrity":"sha512-+DY8o29B41E4N4/iEJEBrrfIyNxWRr4PLWl5tdc14bb14ialeKHWleHrlFjaNhdt8yC1JJNKRaveb9xSYu0TWQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEfviF9kTc/OqYSF/2i1VhyhVyALIgrnEbgTFJHUO5GSAiBNXj3VQ7RUCRrN4spM09i6M2B2NVLgtEvbwqYvAYAvUw=="}]},"maintainers":[{"name":"cohara87","email":"cohara87@gmail.com"}],"directories":{}},"1.0.1":{"name":"lru","description":"A simple O(1) LRU cache","version":"1.0.1","author":{"name":"Chris O'Hara","email":"cohara87@gmail.com"},"main":"index","homepage":"http://github.com/chriso/lru","repository":{"type":"git","url":"git+ssh://git@github.com/chriso/lru.git"},"bugs":{"url":"http://github.com/chriso/lru/issues"},"engines":{"node":">= 0.4.0"},"license":"MIT","devDependencies":{"vows":"^0.8.1"},"scripts":{"test":"vows test/*.js --spec"},"dependencies":{},"gitHead":"aa51193094b358272bbf4214e2d0723976f4fb3c","_id":"lru@1.0.1","_shasum":"ee811232c5e6aaf9a4fba80d132f5ae603edc8b5","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.3.0","_npmUser":{"name":"cohara87","email":"cohara87@gmail.com"},"dist":{"shasum":"ee811232c5e6aaf9a4fba80d132f5ae603edc8b5","tarball":"https://registry.npmjs.org/lru/-/lru-1.0.1.tgz","integrity":"sha512-mlFzyAFLBxTVAbZBuXqnZy1DSlgdE6luYkHY1+v8hVHMI5PX/zwACC74iLB90JR7FfZXrYT84zN6TphUEuRM0A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDw+R86whuB5HRfPbawnpG0gX6N0GUQumLY9kMZOz0BOQIgC/Zt0IoJWOnqSpwhGjMyCp6eaMQIVJ+wvobh3jJHZHs="}]},"maintainers":[{"name":"cohara87","email":"cohara87@gmail.com"}],"directories":{}},"1.1.0":{"name":"lru","description":"A simple O(1) LRU cache","version":"1.1.0","author":{"name":"Chris O'Hara","email":"cohara87@gmail.com"},"main":"index","homepage":"http://github.com/chriso/lru","repository":{"type":"git","url":"git+ssh://git@github.com/chriso/lru.git"},"bugs":{"url":"http://github.com/chriso/lru/issues"},"engines":{"node":">= 0.4.0"},"license":"MIT","devDependencies":{"vows":"^0.8.1"},"scripts":{"test":"vows test/*.js --spec"},"dependencies":{},"gitHead":"e07a92e5e08c32cc86f4794e373e4d5157a584c4","_id":"lru@1.1.0","_shasum":"fab75f7ac0d9d5321a08b9ce4eb34e34859d6253","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.3.0","_npmUser":{"name":"cohara87","email":"cohara87@gmail.com"},"dist":{"shasum":"fab75f7ac0d9d5321a08b9ce4eb34e34859d6253","tarball":"https://registry.npmjs.org/lru/-/lru-1.1.0.tgz","integrity":"sha512-XOS8nkvnvEQDaL0Xu0OvwLXnZ2789a5B9crZc0zhQ7VSl/4oB/+6Kx8CxCTQwZI87Jdq9pB62bZl5V1IUQVDtA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICjfnZROe8Z/FxCGdkNJmVDNkpMsWURD0mkhrOHxzi/kAiEAzoo6/3F033HRmWLWJKT3QlGZDgEH05xNVG+NKZYY2dE="}]},"maintainers":[{"name":"cohara87","email":"cohara87@gmail.com"}],"directories":{}},"1.2.0":{"name":"lru","description":"A simple O(1) LRU cache","version":"1.2.0","author":{"name":"Chris O'Hara","email":"cohara87@gmail.com"},"main":"index","homepage":"http://github.com/chriso/lru","repository":{"type":"git","url":"git+ssh://git@github.com/chriso/lru.git"},"bugs":{"url":"http://github.com/chriso/lru/issues"},"engines":{"node":">= 0.4.0"},"license":"MIT","devDependencies":{"vows":"^0.8.1"},"scripts":{"test":"vows test/*.js --spec"},"dependencies":{},"gitHead":"48c7bc66ac147774c06f39a7b0b209f38cc4480f","_id":"lru@1.2.0","_shasum":"e5ac693eded8d2fc15825d4fb317bf4af6ec7419","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.3.0","_npmUser":{"name":"cohara87","email":"cohara87@gmail.com"},"dist":{"shasum":"e5ac693eded8d2fc15825d4fb317bf4af6ec7419","tarball":"https://registry.npmjs.org/lru/-/lru-1.2.0.tgz","integrity":"sha512-n883CY5VyzR97rWtlSDAXH0H3Nc7ZyWi7SIgmvZ7l3O6/qqKnmvhZqXeZZ9pC6g0RRfxUFyv3qbxKEPQBuqZRA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD4ZQKk7hBanaI1QyDt4pt9ITI+aOqpIrdWtrk0sz9oKgIhAInQ9Gz1mAFGS185ZP4DWmLbWj0ntyCIeXYu+z2/vxyt"}]},"maintainers":[{"name":"cohara87","email":"cohara87@gmail.com"}],"directories":{}},"1.2.1":{"name":"lru","description":"A simple O(1) LRU cache","version":"1.2.1","author":{"name":"Chris O'Hara","email":"cohara87@gmail.com"},"main":"index","homepage":"http://github.com/chriso/lru","repository":{"type":"git","url":"git+ssh://git@github.com/chriso/lru.git"},"bugs":{"url":"http://github.com/chriso/lru/issues"},"engines":{"node":">= 0.4.0"},"license":"MIT","devDependencies":{"vows":"^0.8.1"},"scripts":{"test":"vows test/*.js --spec"},"dependencies":{},"gitHead":"03b8939327e7821ccd790aae3a125d94a8ea4fb2","_id":"lru@1.2.1","_shasum":"9797ee5588fb91bd937d3e70b72ca7958cef8374","_from":".","_npmVersion":"3.5.3","_nodeVersion":"5.5.0","_npmUser":{"name":"cohara87","email":"cohara87@gmail.com"},"dist":{"shasum":"9797ee5588fb91bd937d3e70b72ca7958cef8374","tarball":"https://registry.npmjs.org/lru/-/lru-1.2.1.tgz","integrity":"sha512-E0iC3y64eJVWzdMgQFXb9Q4KJECfPc8N5UWK5VzIqgM9gbc3oe6IUOP2qsfh41aAkggrFL1nKtjJch+hILC/fA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCm9RBiqCGC26VQh1zPsOGWUvWIlNOlABGdHazFe+Ib9wIhAIEKQ8hNQdJpdEXal7+2I00V2F+WN+fmOrk38ZiEyOSE"}]},"maintainers":[{"name":"cohara87","email":"cohara87@gmail.com"}],"_npmOperationalInternal":{"host":"packages-9-west.internal.npmjs.com","tmp":"tmp/lru-1.2.1.tgz_1454910136369_0.24065554444678128"},"directories":{}},"2.0.0":{"name":"lru","description":"A simple O(1) LRU cache","version":"2.0.0","author":{"name":"Chris O'Hara","email":"cohara87@gmail.com"},"main":"index","homepage":"http://github.com/chriso/lru","repository":{"type":"git","url":"git+ssh://git@github.com/chriso/lru.git"},"bugs":{"url":"http://github.com/chriso/lru/issues"},"engines":{"node":">= 0.4.0"},"license":"MIT","devDependencies":{"vows":"^0.8.1"},"scripts":{"test":"vows test/*.js --spec"},"dependencies":{},"gitHead":"abfe32d40a209002b46d0851f21700ec62046fe4","_id":"lru@2.0.0","_shasum":"99f1a257709806af6c33cabdbe47c709604e4a75","_from":".","_npmVersion":"3.5.3","_nodeVersion":"5.5.0","_npmUser":{"name":"cohara87","email":"cohara87@gmail.com"},"dist":{"shasum":"99f1a257709806af6c33cabdbe47c709604e4a75","tarball":"https://registry.npmjs.org/lru/-/lru-2.0.0.tgz","integrity":"sha512-3ikPKwqeUXMPiGJQeBwCVQxtHCngNPg9aDgNOuA6IcPTqQyM/iJ3iltN/pAfGSKgzjfuFCoQFmEKZqRAQenoaA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICZ/8qeVe082Bmi15DgqXMCmqf38hk5ZJNq5Fw3wGhuqAiEA/2/TpOXkP7o3OgIVVYOfTJ6+sLCkfLhhrVwNe5CaGTw="}]},"maintainers":[{"name":"cohara87","email":"cohara87@gmail.com"}],"_npmOperationalInternal":{"host":"packages-5-east.internal.npmjs.com","tmp":"tmp/lru-2.0.0.tgz_1454930713730_0.8319006394594908"},"directories":{}},"2.0.1":{"name":"lru","description":"A simple O(1) LRU cache","version":"2.0.1","author":{"name":"Chris O'Hara","email":"cohara87@gmail.com"},"main":"index","homepage":"http://github.com/chriso/lru","repository":{"type":"git","url":"http://github.com/chriso/lru.git"},"bugs":{"url":"http://github.com/chriso/lru/issues"},"engines":{"node":">= 0.4.0"},"license":"MIT","devDependencies":{"standard":"^6.0.8","vows":"^0.8.1"},"scripts":{"test":"standard && vows test/*.js --spec"},"dependencies":{"inherits":"^2.0.1"},"gitHead":"3cedfa0bbffde213d220d58a12084f60b8152177","_id":"lru@2.0.1","_shasum":"f979871e162e3f5ca254be46844c53d4c5364544","_from":".","_npmVersion":"2.14.20","_nodeVersion":"4.4.1","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"dist":{"shasum":"f979871e162e3f5ca254be46844c53d4c5364544","tarball":"https://registry.npmjs.org/lru/-/lru-2.0.1.tgz","integrity":"sha512-JGRd3IHM64MPsGVw1Mqbz2Y2HDIePqi/MLfPtdrkHQwvvJnSrS9b6gM3KS9PFR5xJnufXJczHHZSmGqfuII1ew==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFhlGKTSHWGUFmG+i3WPd8T76Bg9pFnat8mP09tD5Or1AiASeHl4gCE1SX7vuW5gHaoOlC7kAHzRPerwQbNvLHDmtQ=="}]},"maintainers":[{"name":"cohara87","email":"cohara87@gmail.com"},{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/lru-2.0.1.tgz_1459047056857_0.5841013041790575"},"directories":{}},"3.0.0":{"name":"lru","description":"A simple O(1) LRU cache","version":"3.0.0","author":{"name":"Chris O'Hara","email":"cohara87@gmail.com"},"main":"index","homepage":"http://github.com/chriso/lru","repository":{"type":"git","url":"http://github.com/chriso/lru.git"},"bugs":{"url":"http://github.com/chriso/lru/issues"},"engines":{"node":">= 0.4.0"},"license":"MIT","devDependencies":{"standard":"^6.0.8","vows":"^0.8.1"},"scripts":{"test":"standard && vows test/*.js --spec"},"dependencies":{"inherits":"^2.0.1"},"gitHead":"2c100dcd9c3cbea2696c14cbc124cbf6539ec84f","_id":"lru@3.0.0","_shasum":"114216e2e60ffbf3fbdb4e4271078d1ac7bac088","_from":".","_npmVersion":"2.15.1","_nodeVersion":"4.4.3","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"dist":{"shasum":"114216e2e60ffbf3fbdb4e4271078d1ac7bac088","tarball":"https://registry.npmjs.org/lru/-/lru-3.0.0.tgz","integrity":"sha512-9XJ5y4LtLbXA0YJVmZlUb6weGjpEtfqA2yEkTFbhUcS0v67OrOb2NY0KuSn615xPwSqC8jHliQc72lvpTBbW0Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBO72j9+QP6ld9TAiCU2If09Yd6/UZbJx/LORmsw2K8BAiAWs60kt6hRxoOnJ0YhD22on3lgE9PbTFGYc2XGRAw3JA=="}]},"maintainers":[{"name":"cohara87","email":"cohara87@gmail.com"},{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/lru-3.0.0.tgz_1465517764781_0.1314215799793601"},"directories":{}},"3.1.0":{"name":"lru","description":"A simple O(1) LRU cache","version":"3.1.0","author":{"name":"Chris O'Hara","email":"cohara87@gmail.com"},"main":"index","homepage":"http://github.com/chriso/lru","repository":{"type":"git","url":"git+ssh://git@github.com/chriso/lru.git"},"bugs":{"url":"http://github.com/chriso/lru/issues"},"engines":{"node":">= 0.4.0"},"license":"MIT","devDependencies":{"standard":"^6.0.8","vows":"^0.8.1"},"scripts":{"test":"standard && vows test/*.js --spec"},"dependencies":{"inherits":"^2.0.1"},"gitHead":"ee57d6036575a1611a1d31f75d3dc94f313d5e87","_id":"lru@3.1.0","_shasum":"ea7fb8546d83733396a13091d76cfeb4c06837d5","_from":".","_npmVersion":"2.15.9","_nodeVersion":"4.4.3","_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"dist":{"shasum":"ea7fb8546d83733396a13091d76cfeb4c06837d5","tarball":"https://registry.npmjs.org/lru/-/lru-3.1.0.tgz","integrity":"sha512-5OUtoiVIGU4VXBOshidmtOsvBIvcQR6FD/RzWSvaeHyxCGB+PCUCu+52lqMfdc0h/2CLvHhZS4TwUmMQrrMbBQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC1V//BJsmtOBQWWTaZfsG/vwfWRyXBgl+tUHkTv/+W2gIhAO0oOsNqObOG0F5bpOo7+vEM4mjgoYKWs1MHyyURfFvi"}]},"maintainers":[{"name":"cohara87","email":"cohara87@gmail.com"},{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/lru-3.1.0.tgz_1467851396813_0.2838155822828412"},"directories":{}}},"readme":"# lru\n\n**A simple LRU cache supporting O(1) set, get and eviction of old keys**\n\n## Installation\n\n```bash\n$ npm install lru\n```\n\n### Example\n\n```javascript\nvar LRU = require('lru');\n\nvar cache = new LRU(2),\n    evicted\n\ncache.on('evict',function(data) { evicted = data });\n\ncache.set('foo', 'bar');\ncache.get('foo'); //=> bar\n\ncache.set('foo2', 'bar2');\ncache.get('foo2'); //=> bar2\n\ncache.set('foo3', 'bar3'); // => evicted = { key: 'foo', value: 'bar' }\ncache.get('foo3');         // => 'bar3'\ncache.remove('foo2')       // => 'bar2'\ncache.remove('foo4')       // => undefined\ncache.length               // => 1\ncache.keys                 // => ['foo3']\n\ncache.clear()              // => it will NOT emit the 'evict' event\ncache.length               // => 0\ncache.keys                 // => []\n```\n\n### API\n\n#### `LRU( length )`\nCreate a new LRU cache that stores `length` elements before evicting the least recently used.\nOptionally you can pass an options map with additional options:\n\n```js\n{\n  max: maxElementsToStore,\n  maxAge: maxAgeInMilliseconds\n}\n```\n\nIf you pass `maxAge` items will be evicted if they are older than `maxAge` when you access them.\n\n**Returns**: the newly created LRU cache\n\n\n#### Properties\n##### `.length`\nThe number of keys currently in the cache.\n\n##### `.keys`\nArray of all the keys currently in the cache.\n\n#### Methods\n\n##### `.set( key, value )`\nSet the value of the key and mark the key as most recently used.\n\n**Returns**: `value`\n\n##### `.get( key )`\nQuery the value of the key and mark the key as most recently used.\n\n**Returns**: value of key if found; `undefined` otherwise.\n\n##### `.peek( key )`\nQuery the value of the key without marking the key as most recently used.\n\n**Returns**: value of key if found; `undefined` otherwise.\n\n##### `.remove( key )`\nRemove the value from the cache.\n\n\n**Returns**: value of key if found; `undefined` otherwise.\n\n##### `.clear()`\nClear the cache. This method does **NOT** emit the `evict` event.\n\n##### `.on( event, callback )`\nRespond to events. Currently only the `evict` event is implemented. When a key is evicted, the callback is executed with an associative array containing the evicted key: `{key: key, value: value}`.\n\n\n### Credits\n\nA big thanks to [Dusty Leary](https://github.com/dustyleary) who\nfinished the library.\n\n### License\n\nMIT\n","maintainers":[{"name":"cohara87","email":"cohara87@gmail.com"},{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"time":{"modified":"2022-06-19T14:29:50.587Z","created":"2012-02-06T11:55:46.914Z","0.1.0":"2012-02-06T11:55:51.002Z","0.1.1":"2012-03-08T23:23:07.070Z","0.1.3":"2012-04-01T10:20:24.854Z","0.1.4":"2012-04-18T08:21:37.303Z","0.1.5":"2012-08-15T20:44:17.357Z","0.2.0":"2015-07-01T03:46:05.864Z","0.2.2":"2015-07-01T23:03:12.190Z","1.0.0":"2015-08-03T07:41:44.868Z","1.0.1":"2016-01-03T22:45:01.462Z","1.1.0":"2016-01-03T23:27:05.870Z","1.2.0":"2016-01-05T10:11:42.553Z","1.2.1":"2016-02-08T05:42:17.326Z","2.0.0":"2016-02-08T11:25:16.026Z","2.0.1":"2016-03-27T02:50:57.299Z","3.0.0":"2016-06-10T00:16:07.423Z","3.1.0":"2016-07-07T00:29:59.169Z"},"author":{"name":"Chris O'Hara","email":"cohara87@gmail.com"},"repository":{"type":"git","url":"git+ssh://git@github.com/chriso/lru.git"},"readmeFilename":"README.md","homepage":"http://github.com/chriso/lru","bugs":{"url":"http://github.com/chriso/lru/issues"},"license":"MIT","users":{"whitelynx":true,"bret":true,"diegorbaquero":true,"toszter":true}}