{"_id":"cache-service-cache-module","_rev":"16-4949034bebd1efd14f75127dcb189503","name":"cache-service-cache-module","description":"A cache plugin for cache-service.","dist-tags":{"latest":"2.0.1"},"versions":{"0.1.0":{"name":"cache-service-cache-module","version":"0.1.0","description":"A cache plugin for cache-service.","main":"cacheModule.js","devDependencies":{"mocha":"2.2.4","expect":"1.6.0"},"scripts":{"test":"bin/tests"},"repository":{"type":"git","url":"git+https://github.com/jpodwys/cache-service-cache-module.git"},"author":{"name":"Joe Podwys"},"license":"MIT","bugs":{"url":"https://github.com/jpodwys/cache-service-cache-module/issues"},"homepage":"https://github.com/jpodwys/cache-service-cache-module#readme","directories":{"test":"test"},"keywords":["cache-service","cache","node","cache-module"],"gitHead":"d7b967e04afbcfb0f0ce4e1ff7c51c5c2ce633e6","_id":"cache-service-cache-module@0.1.0","_shasum":"5ecbe611e234ac6676429b92219db6c40c01bd9b","_from":".","_npmVersion":"2.11.1","_nodeVersion":"0.10.33","_npmUser":{"name":"jpodwys","email":"joseph@podwys.com"},"maintainers":[{"name":"jpodwys","email":"joseph@podwys.com"}],"dist":{"shasum":"5ecbe611e234ac6676429b92219db6c40c01bd9b","tarball":"https://registry.npmjs.org/cache-service-cache-module/-/cache-service-cache-module-0.1.0.tgz","integrity":"sha512-Dl6XSoxZHuy7w9EfNkZVbVCdHSayeDTECp6793TzIzXUR6HuI3hsSTs6SZnbM+cFxH/hQ4zvt+UE1480/NbZJw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDUe3iPDW9Gsfsgr+9xHC5q5OA9wUH5xvQ3c0dJW+Lo0AiEA6E/uc6lnxKPJZm2UKQweIs7brbwz9pr2LLb1v+l+gKI="}]}},"1.0.0":{"name":"cache-service-cache-module","version":"1.0.0","description":"A cache plugin for cache-service.","main":"cacheModule.js","devDependencies":{"mocha":"2.2.4","expect":"1.6.0"},"scripts":{"test":"bin/tests"},"repository":{"type":"git","url":"git+https://github.com/jpodwys/cache-service-cache-module.git"},"author":{"name":"Joe Podwys"},"license":"MIT","bugs":{"url":"https://github.com/jpodwys/cache-service-cache-module/issues"},"homepage":"https://github.com/jpodwys/cache-service-cache-module#readme","directories":{"test":"test"},"keywords":["cache-service","cache","node","cache-module"],"gitHead":"618ebcc31a6ce1f05e754718f0091dbb41897cd8","_id":"cache-service-cache-module@1.0.0","_shasum":"27bdebb9f8bc14cf78985f751ad7fc1a1125a234","_from":".","_npmVersion":"2.11.1","_nodeVersion":"0.10.33","_npmUser":{"name":"jpodwys","email":"joseph@podwys.com"},"maintainers":[{"name":"jpodwys","email":"joseph@podwys.com"}],"dist":{"shasum":"27bdebb9f8bc14cf78985f751ad7fc1a1125a234","tarball":"https://registry.npmjs.org/cache-service-cache-module/-/cache-service-cache-module-1.0.0.tgz","integrity":"sha512-fZj3ob+dSixx0ReCF4TBbXneMAv1QMtAaJug5L3ek1tECcTpLehaLejadJ3mdsaJMc9KkOjCe1Bspipy1hXI5g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDPh1ZIJgbao0jT8xuG/p++3Sz5/HCRdVmx5L0xU+bi2wIhALtFDKnPE7H2YNHddW2gf1lJumdfkBc33XmqEomB4Kpt"}]}},"1.1.0":{"name":"cache-service-cache-module","version":"1.1.0","description":"A cache plugin for cache-service.","main":"cacheModule.js","devDependencies":{"mocha":"2.2.4","expect":"1.6.0"},"scripts":{"test":"bin/tests"},"repository":{"type":"git","url":"git+https://github.com/jpodwys/cache-service-cache-module.git"},"author":{"name":"Joe Podwys"},"license":"MIT","bugs":{"url":"https://github.com/jpodwys/cache-service-cache-module/issues"},"homepage":"https://github.com/jpodwys/cache-service-cache-module#readme","directories":{"test":"test"},"keywords":["cache-service","cache","node","cache-module"],"gitHead":"1e7fda54663797b13cbb2f4f4952d4b9a74234bd","_id":"cache-service-cache-module@1.1.0","_shasum":"8021a00829dff38f3aefc3f892d8689c3bf63d6e","_from":".","_npmVersion":"2.13.1","_nodeVersion":"0.10.33","_npmUser":{"name":"jpodwys","email":"joseph@podwys.com"},"maintainers":[{"name":"jpodwys","email":"joseph@podwys.com"}],"dist":{"shasum":"8021a00829dff38f3aefc3f892d8689c3bf63d6e","tarball":"https://registry.npmjs.org/cache-service-cache-module/-/cache-service-cache-module-1.1.0.tgz","integrity":"sha512-jW09VPd8Q9d42s3fw22lk+PHZnrktxVQ/gCwbIcrDRYj6mCnu14JOJTXKrlouZ6KTUsBYvfcyCHtE99DBf1CSg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDe9agJyZVI9TXbdha2B8NiIG7JGOJ0SwJb/BF+vmZmJAIhAJ45uqmaRAUe9B7rFeADwgSaq+6pZ0y0BTgGeisNjIa6"}]}},"1.1.1":{"name":"cache-service-cache-module","version":"1.1.1","description":"A cache plugin for cache-service.","main":"cacheModule.js","devDependencies":{"mocha":"2.2.4","expect":"1.6.0"},"scripts":{"test":"bin/tests"},"repository":{"type":"git","url":"git+https://github.com/jpodwys/cache-service-cache-module.git"},"author":{"name":"Joe Podwys"},"license":"MIT","bugs":{"url":"https://github.com/jpodwys/cache-service-cache-module/issues"},"homepage":"https://github.com/jpodwys/cache-service-cache-module#readme","directories":{"test":"test"},"keywords":["cache-service","cache","node","cache-module"],"gitHead":"7575dc84e133344a991a77ce31caae4fcebce639","_id":"cache-service-cache-module@1.1.1","_shasum":"602fd68c7dd6c7b0ef7606384851ad9d68b7d0c4","_from":".","_npmVersion":"2.13.1","_nodeVersion":"0.10.33","_npmUser":{"name":"jpodwys","email":"joseph@podwys.com"},"maintainers":[{"name":"jpodwys","email":"joseph@podwys.com"}],"dist":{"shasum":"602fd68c7dd6c7b0ef7606384851ad9d68b7d0c4","tarball":"https://registry.npmjs.org/cache-service-cache-module/-/cache-service-cache-module-1.1.1.tgz","integrity":"sha512-Pn2Xr9zwFjd+7I6fpe7qW74vlKQuMAbfzKUgFq58fPIQT3jhIhaSJFA/oNdDr6CkerPxADB8o5Z5gRgizOs3Tg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCZHF7w97Osxtv02nY7/jBPq/SnqefeofBtCXpJy5xKfwIgJwfkv9mO9U89S7l+Q3cpi27r0r6VAGS8/H9j5WuLu4I="}]}},"1.2.0":{"name":"cache-service-cache-module","version":"1.2.0","description":"A cache plugin for cache-service.","main":"cacheModule.js","devDependencies":{"mocha":"2.2.4","expect":"1.6.0","mock-localstorage":"0.1.3"},"scripts":{"test":"bin/tests"},"repository":{"type":"git","url":"git+https://github.com/jpodwys/cache-service-cache-module.git"},"author":{"name":"Joe Podwys"},"license":"MIT","bugs":{"url":"https://github.com/jpodwys/cache-service-cache-module/issues"},"homepage":"https://github.com/jpodwys/cache-service-cache-module#readme","directories":{"test":"test"},"keywords":["cache-service","cache","node","cache-module","localStorage","sessionStorage","browser","node","superagent-cache","superagent"],"gitHead":"f2180bfd024eb1c54a929c432d3256f9ecb817ab","_id":"cache-service-cache-module@1.2.0","_shasum":"8096c547d235655f4067071046f0e3e87ec24f27","_from":".","_npmVersion":"2.14.9","_nodeVersion":"0.12.9","_npmUser":{"name":"jpodwys","email":"joseph@podwys.com"},"maintainers":[{"name":"jpodwys","email":"joseph@podwys.com"}],"dist":{"shasum":"8096c547d235655f4067071046f0e3e87ec24f27","tarball":"https://registry.npmjs.org/cache-service-cache-module/-/cache-service-cache-module-1.2.0.tgz","integrity":"sha512-q0+hdz1UkLZltfx13GQ7f/ZTt6EM1oOhs/IWWx9geuaO+MMbHM3I0YLBMnmbXyqOywZktMXCG9flI73hcI+XyQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDCdkpoz83iameIHrFS6kkIO2/jeR6JORXCYwTMxO0Q4AiAxE9BGs28+aVC6WRNVuxhzlxYOzMORiiMYrzsZ5rZk4w=="}]}},"1.2.1":{"name":"cache-service-cache-module","version":"1.2.1","description":"A cache plugin for cache-service.","main":"cacheModule.js","devDependencies":{"mocha":"2.2.4","expect":"1.6.0","mock-localstorage":"0.1.3"},"scripts":{"test":"bin/tests"},"repository":{"type":"git","url":"git+https://github.com/jpodwys/cache-service-cache-module.git"},"author":{"name":"Joe Podwys"},"license":"MIT","bugs":{"url":"https://github.com/jpodwys/cache-service-cache-module/issues"},"homepage":"https://github.com/jpodwys/cache-service-cache-module#readme","directories":{"test":"test"},"keywords":["cache-service","cache","node","cache-module","localStorage","sessionStorage","browser","node","superagent-cache","superagent"],"gitHead":"a26e0fe8e652e77fd569a13fec3e699f0d3025a8","_id":"cache-service-cache-module@1.2.1","_shasum":"8c957d36e6ea22171f6d7f79439362114b3c745f","_from":".","_npmVersion":"2.14.9","_nodeVersion":"0.12.9","_npmUser":{"name":"jpodwys","email":"joseph@podwys.com"},"maintainers":[{"name":"jpodwys","email":"joseph@podwys.com"}],"dist":{"shasum":"8c957d36e6ea22171f6d7f79439362114b3c745f","tarball":"https://registry.npmjs.org/cache-service-cache-module/-/cache-service-cache-module-1.2.1.tgz","integrity":"sha512-CttVbWY1y6nW4LnnTyeAaOoetvqXkfknYO8Je/RaNOmatGrpao1sN/U30UiTJIEKLrVjS1tnYRcdQPLADVVYqg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAtIHN7jRBrZRbb7khO8ZBoUzqWRrUV2meUoiSm1ZNoNAiEA6tpA9/jgvl35awaR0oiV1+6fbujM1HEtwbkixn+PMvM="}]}},"1.2.2":{"name":"cache-service-cache-module","version":"1.2.2","description":"A cache plugin for cache-service.","main":"cacheModule.js","devDependencies":{"mocha":"2.2.4","expect":"1.6.0","mock-localstorage":"0.1.3"},"scripts":{"test":"bin/tests"},"repository":{"type":"git","url":"git+https://github.com/jpodwys/cache-service-cache-module.git"},"author":{"name":"Joe Podwys"},"license":"MIT","bugs":{"url":"https://github.com/jpodwys/cache-service-cache-module/issues"},"homepage":"https://github.com/jpodwys/cache-service-cache-module#readme","directories":{"test":"test"},"keywords":["cache-service","cache","node","cache-module","localStorage","sessionStorage","browser","node","superagent-cache","superagent"],"gitHead":"cd51f4ee77c09015e1c5048fc54981bfcef994e0","_id":"cache-service-cache-module@1.2.2","_shasum":"41d61bf6082cbb48505f6d4463ddf3c17b984be2","_from":".","_npmVersion":"2.14.9","_nodeVersion":"0.12.9","_npmUser":{"name":"jpodwys","email":"joseph@podwys.com"},"maintainers":[{"name":"jpodwys","email":"joseph@podwys.com"}],"dist":{"shasum":"41d61bf6082cbb48505f6d4463ddf3c17b984be2","tarball":"https://registry.npmjs.org/cache-service-cache-module/-/cache-service-cache-module-1.2.2.tgz","integrity":"sha512-RJLgAt5Hfd4i72wbfv8NxL8/7jkUJ/sdd2IoBLUrSCYP/atSPqyT0c8LvdKwzHInXgr/9JCPXewrpZEoz0F4GQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCDphmpN8c5WmS8n+RlEplvcVQX54Hv2hOpjVuHxW5pCgIgYVD05Gos6nnvzs0iONyFZAmd6vhyBl/WbKTECijwJOs="}]}},"1.2.3":{"name":"cache-service-cache-module","version":"1.2.3","description":"A cache plugin for cache-service.","main":"cacheModule.js","devDependencies":{"mocha":"2.2.4","expect":"1.6.0","mock-localstorage":"0.1.3"},"scripts":{"test":"bin/tests"},"repository":{"type":"git","url":"git+https://github.com/jpodwys/cache-service-cache-module.git"},"author":{"name":"Joe Podwys"},"license":"MIT","bugs":{"url":"https://github.com/jpodwys/cache-service-cache-module/issues"},"homepage":"https://github.com/jpodwys/cache-service-cache-module#readme","directories":{"test":"test"},"keywords":["cache-service","cache","node","cache-module","localStorage","sessionStorage","browser","node","superagent-cache","superagent"],"gitHead":"21232cf03a83bc56ad006dfa42515d9e76544c94","_id":"cache-service-cache-module@1.2.3","_shasum":"eaf93ed35de31a60dcc322a9792dccb1a9201c30","_from":".","_npmVersion":"2.14.9","_nodeVersion":"0.12.9","_npmUser":{"name":"jpodwys","email":"joseph@podwys.com"},"maintainers":[{"name":"jpodwys","email":"joseph@podwys.com"}],"dist":{"shasum":"eaf93ed35de31a60dcc322a9792dccb1a9201c30","tarball":"https://registry.npmjs.org/cache-service-cache-module/-/cache-service-cache-module-1.2.3.tgz","integrity":"sha512-4UmGgSp8aOoNf/7qANi6vn5BGDSCKLU/NI9ys4zlUoaIi2J6zuQhIOYtoKS4hntRjVqGXe39Yyx1fhHBZDYrTg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFEmBlbJi+2FEtC583ie5JnHUjidPfMhBRqL/fkmypvMAiEAqxfYZUH4TDeU41nqPkrRU6nagbcU8DwEYetMLM5oaJ8="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/cache-service-cache-module-1.2.3.tgz_1457047532738_0.5808384767733514"}},"1.2.4":{"name":"cache-service-cache-module","version":"1.2.4","description":"A cache plugin for cache-service.","main":"cacheModule.js","devDependencies":{"mocha":"2.2.4","expect":"1.6.0","mock-localstorage":"0.1.3"},"scripts":{"test":"bin/tests"},"repository":{"type":"git","url":"git+https://github.com/jpodwys/cache-service-cache-module.git"},"author":{"name":"Joe Podwys"},"license":"MIT","bugs":{"url":"https://github.com/jpodwys/cache-service-cache-module/issues"},"homepage":"https://github.com/jpodwys/cache-service-cache-module#readme","directories":{"test":"test"},"keywords":["cache-service","cache","node","cache-module","localStorage","sessionStorage","browser","node","superagent-cache","superagent"],"gitHead":"0194a04ecefe01cf87fcd47e8c4329bb5f173705","_id":"cache-service-cache-module@1.2.4","_shasum":"08a13f9e1a09c7b79372196e75ef46ff38bc21b9","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.6","_npmUser":{"name":"jpodwys","email":"joseph@podwys.com"},"dist":{"shasum":"08a13f9e1a09c7b79372196e75ef46ff38bc21b9","tarball":"https://registry.npmjs.org/cache-service-cache-module/-/cache-service-cache-module-1.2.4.tgz","integrity":"sha512-iRowXht0KepEf/oLtOLFcKKGPKHjDfoO2DhpJ8rp5Evt8/a5F8oaJGl6yUlOufrP10UKNm1Y6rVYcmGKtrOjNA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCeGQHLEZtz7/1UqbIoQOsbl1+VP2CAmSH8FakVGgcoDQIhAIbdnu2/G+/5MiIYonsvrRicYaDjfQp+9B3nMyPmvihU"}]},"maintainers":[{"name":"jpodwys","email":"joseph@podwys.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/cache-service-cache-module-1.2.4.tgz_1471881136405_0.17757734400220215"}},"1.2.5":{"name":"cache-service-cache-module","version":"1.2.5","description":"A cache plugin for cache-service.","main":"cacheModule.js","devDependencies":{"mocha":"2.2.4","expect":"1.6.0","mock-localstorage":"0.1.3"},"scripts":{"test":"bin/tests"},"repository":{"type":"git","url":"git+https://github.com/jpodwys/cache-service-cache-module.git"},"author":{"name":"Joe Podwys"},"license":"MIT","bugs":{"url":"https://github.com/jpodwys/cache-service-cache-module/issues"},"homepage":"https://github.com/jpodwys/cache-service-cache-module#readme","directories":{"test":"test"},"keywords":["cache-service","cache","node","cache-module","localStorage","sessionStorage","browser","node","superagent-cache","superagent"],"gitHead":"e7798722aded81d0f505c0b64b14b1f510340d8b","_id":"cache-service-cache-module@1.2.5","_shasum":"2d829c12a25cb6b26ace1878f7bf1a90e6571a6b","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.6","_npmUser":{"name":"jpodwys","email":"joseph@podwys.com"},"dist":{"shasum":"2d829c12a25cb6b26ace1878f7bf1a90e6571a6b","tarball":"https://registry.npmjs.org/cache-service-cache-module/-/cache-service-cache-module-1.2.5.tgz","integrity":"sha512-phvW5irURelzue9bpUeHvCcsY9SjypfHuc1HRq8KmYRflciI8SAv0ddoUMeDHfuL8epuGjCB9zvhtwJHRfUKGg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICNXbSwpqhVJfOmet2NxS+RKBsrTxEDa67ywBktlDvS2AiEAmpz7f7yVsCU+Bc2RsWOPJLunL9RWHdh/DFVH6Ou6Iow="}]},"maintainers":[{"name":"jpodwys","email":"joseph@podwys.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/cache-service-cache-module-1.2.5.tgz_1483929989147_0.7887092642486095"}},"1.2.6":{"name":"cache-service-cache-module","version":"1.2.6","description":"A cache plugin for cache-service.","main":"cacheModule.js","devDependencies":{"mocha":"2.2.4","expect":"1.6.0","mock-localstorage":"0.1.3"},"scripts":{"test":"bin/tests"},"repository":{"type":"git","url":"git+https://github.com/jpodwys/cache-service-cache-module.git"},"author":{"name":"Joe Podwys"},"license":"MIT","bugs":{"url":"https://github.com/jpodwys/cache-service-cache-module/issues"},"homepage":"https://github.com/jpodwys/cache-service-cache-module#readme","directories":{"test":"test"},"keywords":["cache-service","cache","node","cache-module","localStorage","sessionStorage","browser","node","superagent-cache","superagent"],"gitHead":"a236482e0f4d6ea85087450f40425735e549bb67","_id":"cache-service-cache-module@1.2.6","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"jpodwys","email":"joseph@podwys.com"},"dist":{"integrity":"sha512-vSru73+b0vYcsjFvRdHHo4adQ14KLm4OlkkRcgIzP5Mi5dQ8zHsEvS2UZVXvXXREZKFewGMJUQHImvHkGpcvqw==","shasum":"1a0141e8fd1f67c00cdd7800a0994c77f5b2fbdf","tarball":"https://registry.npmjs.org/cache-service-cache-module/-/cache-service-cache-module-1.2.6.tgz","fileCount":6,"unpackedSize":23610,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbBuB+CRA9TVsSAnZWagAANYoP/2p/THe1P/eG87fex7QU\njx/MRCpKmUPbTjNSxKRbJ+z7LtozGkhaDLVYqFDRYSUK51hYTNgpz3eAlwK3\nXZi+GkMl1l6d/XYQSNNI05d5pL5RMvtxWAi0SDVse7KuL7MJMyYpcyBKBb75\nRmz7OmQJZZyRbABKml93nIDThBPB2IasMCRToWxg6UI6bQlFqYkA45azlP67\nV3dybamwkmsTBELHrWCCjODdJaJpdTHaQ9+fczR4xYlMw6U7pFLm3ro1FeoG\n874j16y/BU1/8VZrgDBl4aV3ejNf4nsfeVUqo/RZD7rHVjHYIyATXOolNpVp\nTDSgZTTY6HSSLKjiJXflRr4SabTNvkOIcMLpqA9GO406I9WssOWhuswT+K1y\nZ6+x6dnm4vKU/QwsPoY4cKJuUYNz1WVXoOBhGTBNaG4GmaCZHq81l4qk/ibN\nK5LdejCtWHrJayJN+/KL9uHtdLxs+SXIkIP8S2n5xYJyAIE46kMqSe5EVfQ6\ntZfSSnjOlVmcyn7WqqMStZlLp87BnhO8PpTLd6THKCDeS0f5TpxSFb7/exOr\ndgp38RAi9BwYqZPVVx8BzGlDJZcsg9orFqEioBLldI2eLdWYeFam61Iy/EU1\nsn/8QtLG4d0NHSDF2BxXQU7hPXT6voE2qIlgvCVL4dAhuMtDkHS6UhC4M41x\noh9T\r\n=U5t4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICNk0Cug4jDNjUs91lhxB65b5wCF/GjoAGXmmemR1B4ZAiEAhxVrDC0utVuNgFh7LZlJ0r4qsn9e8hmw9XUB2SzWJeE="}]},"maintainers":[{"name":"jpodwys","email":"joseph@podwys.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cache-service-cache-module_1.2.6_1527177341177_0.8748060869065148"},"_hasShrinkwrap":false},"2.0.0":{"name":"cache-service-cache-module","version":"2.0.0","description":"A cache plugin for cache-service.","main":"cacheModule.js","devDependencies":{"mocha":"2.2.4","expect":"1.6.0","mock-localstorage":"0.1.3"},"scripts":{"test":"bin/tests"},"repository":{"type":"git","url":"git+https://github.com/jpodwys/cache-service-cache-module.git"},"author":{"name":"Joe Podwys"},"license":"MIT","bugs":{"url":"https://github.com/jpodwys/cache-service-cache-module/issues"},"homepage":"https://github.com/jpodwys/cache-service-cache-module#readme","directories":{"test":"test"},"keywords":["cache-service","cache","node","cache-module","localStorage","sessionStorage","browser","node","superagent-cache","superagent"],"gitHead":"b68b1bcfd58d9d735777cbeadd053ab698c09d8a","_id":"cache-service-cache-module@2.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"jpodwys","email":"joseph@podwys.com"},"dist":{"integrity":"sha512-sSalqq029K0JbqgkWXKetL06wqQZuHtEJxHoDv1AfyhvDTT17Zx9pKoeffmkPdvl2y69PWVa5AeK68QVX+zSRA==","shasum":"37b9133765dd4fef8b35b1d76f01ce74ddf8a68f","tarball":"https://registry.npmjs.org/cache-service-cache-module/-/cache-service-cache-module-2.0.0.tgz","fileCount":6,"unpackedSize":23877,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbBuHRCRA9TVsSAnZWagAADkYP/3EAmxxAPBq6V/PYlGaA\nJHyB4R68pPBwCACzQvdPYTk/MuQOtZcVKgkV/dRxpOuR80nPmJUbuOlSESD8\n3OHYx8G8MWVdcOoGFsrME3hWkRHZg2JvC+yIBWe6/8GTwFuhUrndZqTPMfhI\nfDjBw7JxrtyJfnJuoxZdabJtjYcsq+rL6v9M5ivRpuzqA9XoH92Os2eE8L8Q\nv782SjEle6qcueW1HvUoaIi6179AgeDq0k8+ep3t/1tPLQ0fUMl4SZxH2GYE\nh60v/N3u3Png3LhdFEhPoyWHJVTPZtG7U4rR878/WpYPevUREMKRBd5F6fMg\n7lNdSedsPWjh33DZ5ivedhotJ7Aq+aO05ZWrV7XWSzp/XZSPqI3PsjudDUCQ\nnPtMiSME2zH/On9pVDdZDUS5gWziXoWvdVmYX8iDaMDdJK5uqIOasFerqth3\n30uOmk5Wv7XKeSBbGE0xZXL0t7a5rlKDkob8bhvp//nPCsYgEi1KATI2Jkmb\nA2M97OFkhltZrHJI+yswxGxSXfa0JNxnSOUIkO3dD+KE4dve6hyDwJf1Y03e\n1m9yKm9eHdNSStW5xGqKCwFD6psZs2kWaAcGlNNxPCWmN4vhlTcwP4hLQQJB\nVUF9e7cH52W54UAHwIbclG5X33RsQzn6jHMI4p+0yu5JDKbFnuJ+cIysN1eR\nlHmD\r\n=sj/G\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDTt/zI2TZq1a9pFmX43pReEPkV1Q3NB3ikvl5gv3+3rgIhANVqD85tGScKDOymy6GeyiPK58D12uD1n8rZ6v86orNy"}]},"maintainers":[{"name":"jpodwys","email":"joseph@podwys.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cache-service-cache-module_2.0.0_1527177681166_0.6421834827339696"},"_hasShrinkwrap":false},"2.0.1":{"name":"cache-service-cache-module","version":"2.0.1","description":"A cache plugin for cache-service.","main":"cacheModule.js","devDependencies":{"expect":"1.6.0","mocha":"^5.2.0","mock-localstorage":"0.1.3"},"scripts":{"test":"bin/tests"},"repository":{"type":"git","url":"git+https://github.com/jpodwys/cache-service-cache-module.git"},"author":{"name":"Joe Podwys"},"license":"MIT","bugs":{"url":"https://github.com/jpodwys/cache-service-cache-module/issues"},"homepage":"https://github.com/jpodwys/cache-service-cache-module#readme","directories":{"test":"test"},"keywords":["cache-service","cache","node","cache-module","localStorage","sessionStorage","browser","node","superagent-cache","superagent"],"gitHead":"d81b4efe255922d0a2cd678eee745e96ac8a11c1","_id":"cache-service-cache-module@2.0.1","_nodeVersion":"8.11.4","_npmVersion":"6.7.0","dist":{"integrity":"sha512-Woh8hheJs6m0Mm5kuqtji/8S/Lh5vyE9hh3E4nCp3ah85CJ4Y4/yegjcUe0kEzW14ZjAE46UJBp3FOsZNVmmGA==","shasum":"80ec1d97dee78624c3f5d9d5fa9b561fd858e307","tarball":"https://registry.npmjs.org/cache-service-cache-module/-/cache-service-cache-module-2.0.1.tgz","fileCount":6,"unpackedSize":24031,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcamcaCRA9TVsSAnZWagAAWoMP/iMHBPZ2Gdoz2damIrs4\nwSJeKKqMOKqp2jMt41Cf+UBaL+SD4FXngpOKW/wDC3u3gO5Bc+pSgQ5r8fZX\nyVsmKah9lwjb4jXo0V8EUv32S7ryJZose2LNYlTl/HD4/XcnrLGisWvocfbZ\n1Y1FmD3Qzz+giZ8aQXsrZCKRETFqWkiZrD6vNV5Bsx/jywJVKEHdTb9Gwuin\nys+FhQaDvvkMaw260Vgwx63wVPUWS4rWyEZFY0GunlZmhINsWpoXkiUT2Da1\n8AVGyw20+vIoJnrJevebEp6MrLmVjjSM4P5btSVcMtz0WVZjNru86ppMmVC2\nfDmnRaWRjKIvV4CNIhYmmNWNA9J9/KirQlDlnvCSY0IYUAvCsv3pX8tBPFRU\nC6XQBN3Curc1Et8mCuGv8WGjhADP7j0olTU9q6RFNBw5VC4IfP+GicL/W6OJ\nDk1Ih+gUKOc+fVERaREcSiONqd7pldsSAVPvGrtHz+XKCTxo7ur9MLJENUap\nIUqGlWich4p+wmW8CUbOyx7eF68jkVnDBslfm/dAxCMw3EInhMnPGycO2odS\nRSG+zuwjEowkDomNNIX4EcRWOuVCI2VO0vLGUI3P1ZY26D4+YssW2tE8puj6\nDu9cmtezGPO/5IpiI2vT60azRRWc35swX9hvfewH8QpdVFs65sWChT69yS35\nIghM\r\n=JIrv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA6ZFa/bR3lGhvIACuPRubgzPlK+CRvaRDzgv4Wz01CLAiB0o3aAjrB+cklOwOPq21BhsSfGtsDRa9/Bp4duhS3AnA=="}]},"maintainers":[{"name":"jpodwys","email":"joseph@podwys.com"}],"_npmUser":{"name":"jpodwys","email":"joseph@podwys.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cache-service-cache-module_2.0.1_1550477082211_0.05093877285948212"},"_hasShrinkwrap":false}},"readme":"# cache-service-cache-module\n\n* A light-weight cache plugin for [superagent-cache](https://github.com/jpodwys/superagent-cache) and [cache-service](https://github.com/jpodwys/cache-service)\n* AND a standalone in-memory cache that's optionally backed by `localStorage` and `sessionStorage`\n\n#### Features\n\n* Optionally backed by localStorage and sessionStorage\n* Background refresh\n* No external dependencies\n* Robust API\n* Built-in logging with a `verbose` flag.\n* Compatible with `cache-service` and `superagent-cache`\n* Excellent `.mset()` implementation which allows you to set expirations on a per key, per function call, and/or per `cache-service-cache-module` instance basis.\n\n# Basic Usage\n\nRequire and instantiate\n```javascript\nvar cModule = require('cache-service-cache-module');\n\nvar cacheModuleConfig = {storage: 'session', defaultExpiration: 60};\nvar cacheModule = new cModule(cacheModuleConfig);\n```\n\nCache!\n```javascript\ncacheModule.set('key', 'value');\n```\n\n# Cache Module Configuration Options\n\n`cache-service-cache-module`'s constructor takes an optional config object with any number of the following properties:\n\n## type\n\nAn arbitrary identifier you can assign so you know which cache is responsible for logs and errors. **IMPORTANT** If you use more than one instance of `cache-service-cache-module` at a time and persist to browser storage from both of them, you must set this to a unique value. If you do not, your cache instances will overwrite each other when persisting to browser storage.\n\n* type: string\n* default: 'cache-module'\n\n## storage\n\nIndicates whether cacheModule's in-memory cache should be backed by `localStorage` or `sessionStorage`. The available options are 'local' and 'session'. If not set, or if running in node, it will default to an in-memory cache. When a browser storage is activated, cacheModule will still write to and read from an in-memory cache in the interest of speed, but at initialization it will load it's in-memory cache from browser storage and write all changes back to browser storage.\n\n* type: string\n* default: ''\n\n## defaultExpiration\n\nThe expiration to include when executing cache set commands. Can be overridden via `.set()`'s optional `expiraiton` param.\n\n* type: int\n* default: 900\n* measure: seconds\n\n## backgroundRefreshInterval\n\nHow frequently should all background refresh-enabled keys be scanned to determine whether they should be refreshed. For a more thorough explanation on `background refresh`, see the [Using Background Refresh](#using-background-refresh) section.\n\n* type: int\n* default: 60000\n* measure: milliseconds\n\n## backgroundRefreshMinTtl\n\nThe maximum ttl a scanned background refresh-enabled key can have without triggering a refresh. This number should always be greater than `backgroundRefreshInterval`.\n\n* type: int\n* default: 70000\n* measure: milliseconds\n\n## backgroundRefreshIntervalCheck\n\nWhether to throw an exception if `backgroundRefreshInterval` is greater than `backgroundRefreshMinTtl`. Setting this property to false is highly discouraged.\n\n* type: boolean\n* default: true\n\n## verbose\n\n> When used with `cache-service`, this property is overridden by `cache-service`'s `verbose` value.\n\nWhen false, `cache-service-cache-module` will log only errors. When true, `cache-service-cache-module` will log all activity (useful for testing and debugging).\n\n* type: boolean\n* default: false\n\n## readOnly\n\nWhether a cache should not be written to. Useful if you're sharing a redis cache with another team and your contract with them is that you will not alter their data.\n\n* type: boolean\n* default: false\n\n# API\n\nAs a `cache-service`-compatible cache, `cache-service-cache-module` matches [`cache-service`'s API](https://github.com/jpodwys/cache-service#api).\n\n## .get(key, callback (err, response))\n\nRetrieve a value by a given key.\n\n* key: type: string\n* callback: type: function\n* err: type: object\n* response: type: string or object\n\n## .mget(keys, callback (err, response))\n\nRetrieve the values belonging to a series of keys. If a key is not found, it will not be in `response`.\n\n* keys: type: an array of strings\n* callback: type: function\n* err: type: object\n* response: type: object, example: {key: 'value', key2: 'value2'...}\n\n## .set(key, value, [expiraiton], [refresh(key, cb)], [callback])\n\n> See the [Using Background Refresh](#using-background-refresh) section for more about the `refresh` and `callback` params.\n\nSet a value by a given key.\n\n* key: type: string\n* value: type: string || objects\n* expiration: type: int, measure: seconds\n* refresh: type: function\n* callback: type: function\n\n## .mset(obj [, expiration, callback])\n\nSet multiple values to multiple keys\n\n* obj: type: object, example: {'key': 'value', 'key2': 'value2', 'key3': {cacheValue: 'value3', expiration: 60}}\n* callback: type: function\n\nThis function exposes a heirarchy of expiration values as follows:\n* The `expiration` property of a key that also contains a `cacheValue` property will override all other expirations. (This means that, if you are caching an object, the string 'cacheValue' is a reserved property name within that object.)\n* If an object with both `cacheValue` and `expiration` as properties is not present, the `expiration` provided to the `.mset()` argument list will be used.\n* If neither of the above is provided, each cache's `defaultExpiration` will be applied.\n\n## .del(keys, [callback (err, count)])\n\nDelete a key or an array of keys and their associated values.\n\n* keys: type: string || array of strings\n* callback: type: function\n* err: type: object\n* count: type: int\n\n## .flush([cb])\n\nFlush all keys and values.\n\n* callback: type: function\n\n# Using Background Refresh\n\nWith a typical cache setup, you're left to find the perfect compromise between having a long expiration so that users don't have to suffer through the worst case load time, and a short expiration so data doesn't get stale. `cache-service-cache-module` eliminates the need to worry about users suffering through the longest wait time by automatically refreshing keys for you. Here's how it works:\n\n#### How do I turn it on?\n\nBy default, background refresh is off. It will turn itself on the first time you pass a `refresh` param to `.set()`.\n\n#### Configure\n\nThere are three options you can manipulate. See the API section for more information about them.\n\n* `backgroundRefreshInterval`\n* `backgroundRefreshMinTtl`\n* `backgroundRefreshIntervalCheck`\n\n#### Use\n\nBackground refresh is exposed via the `.set()` command as follows:\n\n```javascript\ncacheModule.set('key', 'value', 300, refresh, cb);\n```\n\nIf you want to pass `refresh`, you must also pass `cb` because if only four params are passed, `cache-service-cache-module` will assume the fourth param is `cb`.\n\n#### The Refresh Param\n\n###### refresh(key, cb(err, response))\n\n* key: type: string: this is the key that is being refreshed\n* cb: type: function: you must trigger this function to pass the data that should replace the current key's value\n\nThe `refresh` param MUST be a function that accepts `key` and a callback function that accepts `err` and `response` as follows:\n\n```javascript\nvar refresh = function(key, cb){\n  var response = goGetData();\n  cb(null, response);\n}\n```\n","maintainers":[{"name":"jpodwys","email":"joseph@podwys.com"}],"time":{"modified":"2022-06-13T05:23:27.326Z","created":"2015-07-10T20:52:00.478Z","0.1.0":"2015-07-10T20:52:00.478Z","1.0.0":"2015-07-10T21:41:03.651Z","1.1.0":"2015-08-04T19:17:11.706Z","1.1.1":"2015-08-28T17:19:29.822Z","1.2.0":"2015-12-21T17:12:43.542Z","1.2.1":"2015-12-22T17:32:53.750Z","1.2.2":"2015-12-24T21:51:12.105Z","1.2.3":"2016-03-03T23:25:33.932Z","1.2.4":"2016-08-22T15:52:18.439Z","1.2.5":"2017-01-09T02:46:31.148Z","1.2.6":"2018-05-24T15:55:41.337Z","2.0.0":"2018-05-24T16:01:21.233Z","2.0.1":"2019-02-18T08:04:42.341Z"},"homepage":"https://github.com/jpodwys/cache-service-cache-module#readme","keywords":["cache-service","cache","node","cache-module","localStorage","sessionStorage","browser","node","superagent-cache","superagent"],"repository":{"type":"git","url":"git+https://github.com/jpodwys/cache-service-cache-module.git"},"author":{"name":"Joe Podwys"},"bugs":{"url":"https://github.com/jpodwys/cache-service-cache-module/issues"},"license":"MIT","readmeFilename":"README.md"}