{"_id":"request-etag","_rev":"15-2bb2141126c4fca575e48f20b2e8cc8e","name":"request-etag","description":"Small, ETag-based, HTTP-response-caching module","dist-tags":{"latest":"2.0.3"},"versions":{"1.0.0":{"name":"request-etag","version":"1.0.0","description":"0.0.1","main":"lib/request-etag.js","scripts":{"lint":"jshint ./ --exclude ./node_modules","code-style":"jscs ./","test":"mocha tests --require should --reporter spec --colors"},"repository":{"type":"git","url":"git+https://github.com/Belema/request-etag.git"},"keywords":["request","etag","request-etag","etag-request","http","http-etag","etag-http"],"author":{"name":"Belema Gancarz"},"contributors":[{"name":"Laurent Zuijdwijk"}],"license":"MIT","bugs":{"url":"https://github.com/Belema/request-etag/issues"},"homepage":"https://github.com/Belema/request-etag#readme","dependencies":{"lodash.assign":"^4.0.0","lru-cache":"^4.0.0","request":"^2.67.0"},"devDependencies":{"jscs":"^2.8.0","jshint":"^2.8.0","mocha":"^2.3.4","should":"^8.1.1"},"gitHead":"37ecb322ca22fcb80281a40844e1719d2b45d5f7","_id":"request-etag@1.0.0","_shasum":"1db9687a5c1d25d3c7cf978444d35e18f72878da","_from":".","_npmVersion":"2.12.1","_nodeVersion":"4.2.3","_npmUser":{"name":"belema","email":"belema.gancarz@gmail.com"},"dist":{"shasum":"1db9687a5c1d25d3c7cf978444d35e18f72878da","tarball":"https://registry.npmjs.org/request-etag/-/request-etag-1.0.0.tgz","integrity":"sha512-cxXkyfsoM5AFusI/L9s9oTJZYmZuLNRL8XnUIpBVp8Bq9u0qnpSpFNg2c+JxivJLkBBfEBJho+QxFVMjCFcefQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEA5yWk0arra3J9b1Bx/PbEJtnCsQJDLfaLQ4tVom9QTAiEA9ZlHiHLLcpNdaDOrpbIjdnrE2YS7iUnXwkoNXeZsfsw="}]},"maintainers":[{"name":"belema","email":"belema.gancarz@gmail.com"}]},"1.1.0":{"name":"request-etag","version":"1.1.0","description":"Custom hash generator (based on MD5 algorithm)","main":"lib/request-etag.js","scripts":{"lint":"jshint ./ --exclude ./node_modules","code-style":"jscs ./","test":"mocha tests --require should --reporter spec --colors"},"repository":{"type":"git","url":"git+https://github.com/Belema/request-etag.git"},"keywords":["request","etag","request-etag","etag-request","http","http-etag","etag-http"],"author":{"name":"Belema Gancarz"},"contributors":[{"name":"Laurent Zuijdwijk"}],"license":"MIT","bugs":{"url":"https://github.com/Belema/request-etag/issues"},"homepage":"https://github.com/Belema/request-etag#readme","dependencies":{"lodash.assign":"^4.0.0","lru-cache":"^4.0.0","request":"^2.67.0"},"devDependencies":{"jscs":"^2.8.0","jshint":"^2.8.0","mocha":"^2.3.4","should":"^8.1.1"},"gitHead":"e5cdd68b657eee645725e2f9438456fcc7c888cb","_id":"request-etag@1.1.0","_shasum":"44a396f9ecf34566de890f59a8cce209fcbe0f0d","_from":".","_npmVersion":"2.12.1","_nodeVersion":"4.2.3","_npmUser":{"name":"belema","email":"belema.gancarz@gmail.com"},"dist":{"shasum":"44a396f9ecf34566de890f59a8cce209fcbe0f0d","tarball":"https://registry.npmjs.org/request-etag/-/request-etag-1.1.0.tgz","integrity":"sha512-o94FrRTuUcM8KcWwy9DzF9l2IlUdvR6ry5vRX6mg4tODtnrw3pJmGlv5bmJxGKKy7Qr9c8e3htRc5py65JqjKg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDmpRulparOXfsjMkwnsr58+IEXq2ioVdL0hUwdRvTnJAIgb3aKjIdlylTa4IEFbM81cqTWaWE9Aetxu7b+kq4wF58="}]},"maintainers":[{"name":"belema","email":"belema.gancarz@gmail.com"},{"name":"laurent.zuijdwijk","email":"laurent.zuijdwijk@gmail.com"}]},"1.1.1":{"name":"request-etag","version":"1.1.1","description":"Small, ETags-based, HTTP-response-caching module","main":"lib/request-etag.js","scripts":{"lint":"jshint ./ --exclude ./node_modules","code-style":"jscs ./","test":"mocha tests --require should --reporter spec --colors"},"repository":{"type":"git","url":"git+https://github.com/Belema/request-etag.git"},"keywords":["request","etag","request-etag","etag-request","http","http-etag","etag-http"],"author":{"name":"Belema Gancarz"},"contributors":[{"name":"Laurent Zuijdwijk"}],"license":"MIT","bugs":{"url":"https://github.com/Belema/request-etag/issues"},"homepage":"https://github.com/Belema/request-etag#readme","dependencies":{"lodash.assign":"^4.0.0","lru-cache":"^4.0.0","request":"^2.67.0"},"devDependencies":{"jscs":"^2.8.0","jshint":"^2.8.0","mocha":"^2.3.4","should":"^8.1.1"},"gitHead":"3eaa1d913d7c7a5de21d35a3fb71e027db7a5c50","_id":"request-etag@1.1.1","_shasum":"b17caeab7f77b25e27bc5c610cb155695e58eefe","_from":".","_npmVersion":"2.12.1","_nodeVersion":"4.2.3","_npmUser":{"name":"belema","email":"belema.gancarz@gmail.com"},"dist":{"shasum":"b17caeab7f77b25e27bc5c610cb155695e58eefe","tarball":"https://registry.npmjs.org/request-etag/-/request-etag-1.1.1.tgz","integrity":"sha512-Dc5/7f3MSXyt1+PxgP2UKUCHGkcm8YINcRarD851oqOe8cb0bQBUbW8jrkTrTQmnTOgfJg4h4L/7Z4HhX5qQ/g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH+kfw9Unok3xfFihLso/3MkgH/d50Vn3rrP2X60GhL+AiB2u6wHbVbHf/8D0APQNMNLOf1f/VRjAa1Eb2oqhVhsPg=="}]},"maintainers":[{"name":"belema","email":"belema.gancarz@gmail.com"},{"name":"laurent.zuijdwijk","email":"laurent.zuijdwijk@gmail.com"}]},"1.1.2":{"name":"request-etag","version":"1.1.2","description":"Small, ETag-based, HTTP-response-caching module","main":"lib/request-etag.js","scripts":{"lint":"jshint ./ --exclude ./node_modules","code-style":"jscs ./","test":"mocha tests --require should --reporter spec --colors"},"repository":{"type":"git","url":"git+https://github.com/Belema/request-etag.git"},"keywords":["request","etag","request-etag","etag-request","http","http-etag","etag-http"],"author":{"name":"Belema Gancarz"},"contributors":[{"name":"Laurent Zuijdwijk"}],"license":"MIT","bugs":{"url":"https://github.com/Belema/request-etag/issues"},"homepage":"https://github.com/Belema/request-etag#readme","dependencies":{"lodash.assign":"^4.0.0","lru-cache":"^4.0.0","request":"^2.67.0"},"devDependencies":{"jscs":"^2.8.0","jshint":"^2.8.0","mocha":"^2.3.4","should":"^8.1.1"},"gitHead":"26ff5f4c7b3168edba78ee1c103042a59beb0cfe","_id":"request-etag@1.1.2","_shasum":"3ee09f3fb9865995cc79c85e1744fd91b0ea40ea","_from":".","_npmVersion":"2.12.1","_nodeVersion":"4.2.3","_npmUser":{"name":"belema","email":"belema.gancarz@gmail.com"},"dist":{"shasum":"3ee09f3fb9865995cc79c85e1744fd91b0ea40ea","tarball":"https://registry.npmjs.org/request-etag/-/request-etag-1.1.2.tgz","integrity":"sha512-27XLzcMCGr1DTzhTQAqrYSvS0bwoLC3CGldNWsgYltZqIFFRETTO6T6+F7IReblFb3kC0hz1jIZ0npLuvMjdNA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH8NwmW3GuhXpS+e8UHVUzOmgS6cCgAM5gIpTaN8XondAiAJsHv9NjLqyvgRXJJel89PNlsyGg7XWIK+DnjLURjmoA=="}]},"maintainers":[{"name":"belema","email":"belema.gancarz@gmail.com"},{"name":"laurent.zuijdwijk","email":"laurent.zuijdwijk@gmail.com"}]},"1.1.3":{"name":"request-etag","version":"1.1.3","description":"Small, ETag-based, HTTP-response-caching module","main":"lib/request-etag.js","scripts":{"lint":"jshint ./ --exclude ./node_modules","code-style":"jscs ./","test":"mocha tests --require should --reporter spec --colors"},"repository":{"type":"git","url":"git+https://github.com/Belema/request-etag.git"},"keywords":["request","etag","request-etag","etag-request","http","http-etag","etag-http"],"author":{"name":"Belema Gancarz"},"contributors":[{"name":"Laurent Zuijdwijk"}],"license":"MIT","bugs":{"url":"https://github.com/Belema/request-etag/issues"},"homepage":"https://github.com/Belema/request-etag#readme","dependencies":{"lodash.assign":"^4.0.0","lru-cache":"^4.0.0","request":"^2.67.0"},"devDependencies":{"jscs":"^2.8.0","jshint":"^2.8.0","mocha":"^2.3.4","should":"^8.1.1"},"gitHead":"63ca3a628c79e833be3d740ef9106dc5a55725b4","_id":"request-etag@1.1.3","_shasum":"ea89df2147566800870529e99956eb55ba5116e0","_from":".","_npmVersion":"2.12.1","_nodeVersion":"4.2.3","_npmUser":{"name":"belema","email":"belema.gancarz@gmail.com"},"dist":{"shasum":"ea89df2147566800870529e99956eb55ba5116e0","tarball":"https://registry.npmjs.org/request-etag/-/request-etag-1.1.3.tgz","integrity":"sha512-K6kEBOfuENP7Lc7C8roO3606K4LSYgBTw2yzdwxT9rBZajolAbJV/GAER3d74vytLrI/SfGwee928Bjz5IWZAA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC8q+h9JtMzkcTc82ie4eWvgtNdvVgoZwk43tbtWUTtIQIgPadtmwqu1/9hMAXnOf1VaXSfvYNKLkpRSA7Ne3IZCKA="}]},"maintainers":[{"name":"belema","email":"belema.gancarz@gmail.com"},{"name":"laurent.zuijdwijk","email":"laurent.zuijdwijk@gmail.com"}]},"1.1.4":{"name":"request-etag","version":"1.1.4","description":"Small, ETag-based, HTTP-response-caching module","main":"lib/request-etag.js","scripts":{"lint":"jshint ./ --exclude ./node_modules","code-style":"jscs ./","test":"mocha tests --require should --reporter spec --colors"},"repository":{"type":"git","url":"git+https://github.com/Belema/request-etag.git"},"keywords":["request","etag","request-etag","etag-request","http","http-etag","etag-http"],"author":{"name":"Belema Gancarz"},"contributors":[{"name":"Laurent Zuijdwijk"}],"license":"MIT","bugs":{"url":"https://github.com/Belema/request-etag/issues"},"homepage":"https://github.com/Belema/request-etag#readme","dependencies":{"lodash.assign":"^4.0.0","lru-cache":"^4.0.0","request":"^2.67.0"},"devDependencies":{"jscs":"^2.8.0","jshint":"^2.8.0","mocha":"^2.3.4","should":"^8.1.1"},"gitHead":"f475da31d559ab4e17b9c0b0b8ee2c1686349f2f","_id":"request-etag@1.1.4","_shasum":"669d761fc1d89496ed049eab5abda48301447f7e","_from":".","_npmVersion":"2.12.1","_nodeVersion":"4.2.3","_npmUser":{"name":"belema","email":"belema.gancarz@gmail.com"},"dist":{"shasum":"669d761fc1d89496ed049eab5abda48301447f7e","tarball":"https://registry.npmjs.org/request-etag/-/request-etag-1.1.4.tgz","integrity":"sha512-9JtzlDwlBGuEJOvj85C4f2z3gcgyOQuxblBn02f9OhutOZPPDCAW3/nuDu2APMuIQfCeEJWuihNbpK/upZ4gzQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDM/V4eMR2k9soUkbsxJRPhncpOyRG4QWNntC0NrGEvIgIhAJ4zDRGXJWQ1nGcJ4y32SFRRBlPKX4DauvUIwaGhrWBI"}]},"maintainers":[{"name":"belema","email":"belema.gancarz@gmail.com"},{"name":"laurent.zuijdwijk","email":"laurent.zuijdwijk@gmail.com"}]},"1.1.5":{"name":"request-etag","version":"1.1.5","description":"Small, ETag-based, HTTP-response-caching module","main":"lib/request-etag.js","scripts":{"lint":"jshint ./ --exclude ./node_modules","code-style":"jscs ./","test":"mocha tests --require should --reporter spec --colors"},"repository":{"type":"git","url":"git+https://github.com/Belema/request-etag.git"},"keywords":["request","etag","request-etag","etag-request","http","http-etag","etag-http"],"author":{"name":"Belema Gancarz"},"contributors":[{"name":"Laurent Zuijdwijk"}],"license":"MIT","bugs":{"url":"https://github.com/Belema/request-etag/issues"},"homepage":"https://github.com/Belema/request-etag#readme","dependencies":{"lodash.assign":"^4.0.0","lru-cache":"^4.0.0","request":"^2.67.0"},"devDependencies":{"jscs":"^2.8.0","jshint":"^2.8.0","mocha":"^2.3.4","should":"^8.1.1"},"gitHead":"0d0f894f55b0ee500d88ab2a167fcab464ef58be","_id":"request-etag@1.1.5","_shasum":"477320438eb2b5d810b11bc2b1cd2d3a313df7b5","_from":".","_npmVersion":"2.12.1","_nodeVersion":"4.2.3","_npmUser":{"name":"belema","email":"belema.gancarz@gmail.com"},"dist":{"shasum":"477320438eb2b5d810b11bc2b1cd2d3a313df7b5","tarball":"https://registry.npmjs.org/request-etag/-/request-etag-1.1.5.tgz","integrity":"sha512-cX2ruKmwV2bvfDq1oHykzImyRLItY+I015sqmrx5Nmla6TEvVq0QlfYnbtbGH2PvHTLy1YDLh5asw1y4FMmIlg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGdlRsvv0FOQWonsuTiOH6XZjlzkQ8l6JEOKDq9NDLGHAiEAo/9NkOF1qy/6rhKjBSXZ2C7z6aCqMtcNaC+DGp9lPAc="}]},"maintainers":[{"name":"belema","email":"belema.gancarz@gmail.com"},{"name":"laurent.zuijdwijk","email":"laurent.zuijdwijk@gmail.com"}]},"1.1.6":{"name":"request-etag","version":"1.1.6","description":"Small, ETag-based, HTTP-response-caching module","main":"lib/request-etag.js","scripts":{"lint":"jshint ./ --exclude ./node_modules","code-style":"jscs ./","test":"mocha tests --require should --reporter spec --colors"},"repository":{"type":"git","url":"git+https://github.com/Belema/request-etag.git"},"keywords":["request","etag","request-etag","etag-request","http","http-etag","etag-http"],"author":{"name":"Belema Gancarz"},"contributors":[{"name":"Laurent Zuijdwijk"}],"license":"MIT","bugs":{"url":"https://github.com/Belema/request-etag/issues"},"homepage":"https://github.com/Belema/request-etag#readme","dependencies":{"lodash.assign":"^4.0.0","lru-cache":"^4.0.0","request":"^2.67.0"},"devDependencies":{"jscs":"^2.8.0","jshint":"^2.8.0","mocha":"^2.3.4","should":"^8.1.1"},"gitHead":"f5e4ce01dc22c62576e1b2e94353ba906ff4de8f","_id":"request-etag@1.1.6","_shasum":"9ca67f0f35ad465dfd90f52005f7d225ae5c5dbd","_from":".","_npmVersion":"2.12.1","_nodeVersion":"4.2.3","_npmUser":{"name":"belema","email":"belema.gancarz@gmail.com"},"dist":{"shasum":"9ca67f0f35ad465dfd90f52005f7d225ae5c5dbd","tarball":"https://registry.npmjs.org/request-etag/-/request-etag-1.1.6.tgz","integrity":"sha512-MV2Ryd6tVDbtSOifCxH45zK8E55lqTtkccSb7i8Vjk/YUUaoHUNnRstSJ2C4zHZYncZ8Fi2giLIi/DSPWk+S4g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDxJnJTZcCBLwIp5OBG/aJIFUopqgpsoSUEJsnrYkFXLwIgMlps1N1xj/QiWcSXnFnD4NuvukZXI/gcKWsgUrauJzc="}]},"maintainers":[{"name":"belema","email":"belema.gancarz@gmail.com"},{"name":"laurent.zuijdwijk","email":"laurent.zuijdwijk@gmail.com"}]},"2.0.0":{"name":"request-etag","version":"2.0.0","description":"Small, ETag-based, HTTP-response-caching module","main":"lib/request-etag.js","scripts":{"lint":"jshint ./ --exclude ./node_modules","code-style":"jscs ./","test":"mocha tests --require should --reporter spec --colors"},"repository":{"type":"git","url":"git+https://github.com/Belema/request-etag.git"},"keywords":["request","etag","request-etag","etag-request","http","http-etag","etag-http"],"author":{"name":"Belema Gancarz"},"contributors":[{"name":"Laurent Zuijdwijk"}],"license":"MIT","bugs":{"url":"https://github.com/Belema/request-etag/issues"},"homepage":"https://github.com/Belema/request-etag#readme","dependencies":{"lodash.assign":"^4.0.0","lru-cache":"^4.0.0","request":"^2.67.0"},"devDependencies":{"jscs":"^2.8.0","jshint":"^2.8.0","mocha":"^2.3.4","should":"^8.1.1"},"gitHead":"f774752d7c0672c3f3cac4c7eab1262975158603","_id":"request-etag@2.0.0","_shasum":"ab77133c9c8cd6249d57cdfcde741a13a2b61d61","_from":".","_npmVersion":"2.12.1","_nodeVersion":"4.2.3","_npmUser":{"name":"belema","email":"belema.gancarz@gmail.com"},"dist":{"shasum":"ab77133c9c8cd6249d57cdfcde741a13a2b61d61","tarball":"https://registry.npmjs.org/request-etag/-/request-etag-2.0.0.tgz","integrity":"sha512-Lbn5lK3Sf6XMENr7MnRVBwA3J4C/2DsQocVmtiwY4hZh+qho8vi+ewA6WL8W/A0qj/wSVQTuQ2jW5W9CCWbNIQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBsnvMHDPRJqPMm1rSIbIdtYyYxOhjIU7pZhNlcaRIA0AiBL1EW4F8q0Z/goerwBmx8DRF/50V+/DSdGHPCdcaFibQ=="}]},"maintainers":[{"name":"belema","email":"belema.gancarz@gmail.com"},{"name":"laurent.zuijdwijk","email":"laurent.zuijdwijk@gmail.com"}]},"2.0.1":{"name":"request-etag","version":"2.0.1","description":"Small, ETag-based, HTTP-response-caching module","main":"lib/request-etag.js","scripts":{"lint":"jshint ./ --exclude ./node_modules","code-style":"jscs ./","test":"mocha tests --require should --reporter spec --colors"},"repository":{"type":"git","url":"git+https://github.com/Belema/request-etag.git"},"keywords":["request","etag","request-etag","etag-request","http","http-etag","etag-http"],"author":{"name":"Belema Gancarz"},"contributors":[{"name":"Laurent Zuijdwijk"}],"license":"MIT","bugs":{"url":"https://github.com/Belema/request-etag/issues"},"homepage":"https://github.com/Belema/request-etag#readme","dependencies":{"lodash.assign":"^4.0.0","lodash.clonedeep":"^4.0.1","lru-cache":"^4.0.0","request":"^2.67.0"},"devDependencies":{"jscs":"^2.8.0","jshint":"^2.8.0","mocha":"^2.3.4","should":"^8.1.1"},"gitHead":"8190af3ac99410c22d5a01f6756ea791ad99d859","_id":"request-etag@2.0.1","_shasum":"5151fe327f598c4265de13127ffc5b41c08ada91","_from":".","_npmVersion":"2.12.1","_nodeVersion":"4.2.3","_npmUser":{"name":"belema","email":"belema.gancarz@gmail.com"},"dist":{"shasum":"5151fe327f598c4265de13127ffc5b41c08ada91","tarball":"https://registry.npmjs.org/request-etag/-/request-etag-2.0.1.tgz","integrity":"sha512-v48aT+A48p3YB8t6Nh9oz/xcHU+iWEEZ+W3gaCxg2YUIqIyNDI216ZiYUMnoI//fFwo12ry47B86zA7DokV8KQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA+Jddk6iDFKktEEfBw7cToSaaTVyj0SOyoXTCntv+V+AiBQF3p/+/cwZUKNKTyVxmM4RPswYt0ypFAZmOc2DAIfiA=="}]},"maintainers":[{"name":"belema","email":"belema.gancarz@gmail.com"},{"name":"laurent.zuijdwijk","email":"laurent.zuijdwijk@gmail.com"}]},"2.0.2":{"name":"request-etag","version":"2.0.2","description":"Small, ETag-based, HTTP-response-caching module","main":"lib/request-etag.js","scripts":{"lint":"jshint ./ --exclude ./node_modules","code-style":"jscs ./","test":"mocha tests --require should --reporter spec --colors"},"repository":{"type":"git","url":"git+https://github.com/Belema/request-etag.git"},"keywords":["request","etag","request-etag","etag-request","http","http-etag","etag-http"],"author":{"name":"Belema Gancarz"},"contributors":[{"name":"Laurent Zuijdwijk"}],"license":"MIT","bugs":{"url":"https://github.com/Belema/request-etag/issues"},"homepage":"https://github.com/Belema/request-etag#readme","dependencies":{"lodash.assign":"^4.0.0","lodash.clonedeep":"^4.0.1","lru-cache":"^4.0.0","request":"^2.67.0"},"devDependencies":{"jscs":"^2.8.0","jshint":"^2.8.0","mocha":"^2.3.4","should":"^8.1.1"},"gitHead":"96643308e8b2827e834a29a14d128bc62eb7c7a2","_id":"request-etag@2.0.2","_shasum":"328f323f3d148a4ef0a5f4cf7e7c3c9d47da9275","_from":".","_npmVersion":"2.12.1","_nodeVersion":"4.2.3","_npmUser":{"name":"belema","email":"belema.gancarz@gmail.com"},"dist":{"shasum":"328f323f3d148a4ef0a5f4cf7e7c3c9d47da9275","tarball":"https://registry.npmjs.org/request-etag/-/request-etag-2.0.2.tgz","integrity":"sha512-qVF5CZ9Kwd+dC6YvzLyLL+fKhPB/bCnc8grgbFxgtwk2KkLotl9qLtQfI6gaykDt62JKFLUqbV4wbMVzVOMhOQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDw2hvzyr1hCzaBoVeDZahrYJWkpZxp8k8jyFSurYUfcAIgP0Am/fAdLDtEpVVwDI1d65O+qSgRrxLTKBVfEiFeIpY="}]},"maintainers":[{"name":"belema","email":"belema.gancarz@gmail.com"},{"name":"laurent.zuijdwijk","email":"laurent.zuijdwijk@gmail.com"}]},"2.0.3":{"name":"request-etag","version":"2.0.3","description":"Small, ETag-based, HTTP-response-caching module","main":"lib/request-etag.js","scripts":{"lint":"jshint ./ --exclude ./node_modules","code-style":"jscs ./","test":"mocha tests --require should --reporter spec --colors"},"repository":{"type":"git","url":"git+https://github.com/Belema/request-etag.git"},"keywords":["request","etag","request-etag","etag-request","http","http-etag","etag-http"],"author":{"name":"Belema Gancarz"},"contributors":[{"name":"Laurent Zuijdwijk"}],"license":"MIT","bugs":{"url":"https://github.com/Belema/request-etag/issues"},"homepage":"https://github.com/Belema/request-etag#readme","dependencies":{"lodash.assign":"^4.0.0","lodash.clonedeep":"^4.0.1","lru-cache":"^4.0.0","request":"^2.67.0"},"devDependencies":{"jscs":"^2.8.0","jshint":"^2.8.0","mocha":"^2.3.4","should":"^8.1.1"},"gitHead":"d2b1495391db3a63d6734bc6e373a567d568d9a2","_id":"request-etag@2.0.3","_shasum":"13c9237617d6c589eb7185f6f450b8313068bc17","_from":".","_npmVersion":"2.12.1","_nodeVersion":"4.2.3","_npmUser":{"name":"belema","email":"belema.gancarz@gmail.com"},"dist":{"shasum":"13c9237617d6c589eb7185f6f450b8313068bc17","tarball":"https://registry.npmjs.org/request-etag/-/request-etag-2.0.3.tgz","integrity":"sha512-JC0yMkWzIKs25JgMcBL8p95RugnIo/fB0t+8XTaKNWDok5rt8/Tm7tbfQF5jCbEgxYdXF8ljK8UcFIfvUS0Q4A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFBiD8/zXT6xgtdjIPhXx/huyjanpHRWjYRFbmQf4MJRAiEAvp01qA8n7ncDaDUlaumVFWpU8yH7P11RBnNOljGfbtQ="}]},"maintainers":[{"name":"belema","email":"belema.gancarz@gmail.com"},{"name":"laurent.zuijdwijk","email":"laurent.zuijdwijk@gmail.com"}]}},"readme":"request-etag [![Build Status](https://travis-ci.org/Belema/request-etag.svg?branch=master)](https://travis-ci.org/Belema/request-etag)\r\n===========\r\n\r\nSmall, in-memory, ETag-based, HTTP-response-caching module. It is based on the two following popular NPM packages,\r\n\r\n- [lru-cache](https://www.npmjs.com/package/lru-cache): a cache object that deletes the least-recently-used items.\r\n- [request](https://www.npmjs.com/package/request): a simplified HTTP request client. This is used by default, but can be overridden in the `request-etag` constructor.\r\n\r\n\r\nUsage\r\n-----\r\nConfiguration,\r\n\r\n\tvar cacheConfig = {\r\n\t\tmax: 10 * 1024 * 1024\r\n\t};\r\n\r\nA default `length` function is injected into the cache object by `request-etag`. It returns the sum of the length of the key, and the length of the value as JSON.\r\nMore details on the cache configuration options can be found on the lru-cache [webpage](https://www.npmjs.com/package/lru-cache).\r\n\r\n\tvar ETagRequest = require('request-etag');\r\n\tvar eTagRequest = new ETagRequest(cacheConfig);\r\n\r\nThe `ETagRequest` constructor takes a second optional argument which specifies the underlying HTTP request client to use. It defaults to [request](https://www.npmjs.com/package/request), so the above constructor call is equivalent to,\r\n\r\n\tvar eTagRequest = new ETagRequest(cacheConfig, require('request'));\r\n\r\n**Note that the signature of the underlying HTTP request client function MUST be the same as that of [request](https://www.npmjs.com/package/request) (e.g. [requestretry](https://www.npmjs.com/package/requestretry)).**\r\n\r\nThe first GET request will be sent without an `If-None-Match` header, and its response will contain a body.\r\n\r\n\teTagRequest('www.immutablepage.com', function (error, response, body) {\r\n\t\tif (!error && response.statusCode === 200) {\r\n\t\t\tconsole.log('Received 200 - body retrieved from response.');\r\n\t\t\tconsole.log(body);\r\n\t\t}\r\n\t\tif (!error && response.statusCode === 304) {\r\n\t\t\tconsole.log('Received 304 - body retrieved from cache.')\r\n\t\t\tconsole.log(body);\r\n\t\t}\r\n\t});\r\n\r\nSubsequent GET requests to the same URL will be sent with an `If-None-Match` header. The response code will be 304, and the response will not contain a body. However a body will be passed by the cache to the `body` parameter of the callback function.\r\n\r\n\r\nWhy is my request not cached?\r\n----------------------------\r\nSituations where the request response is not cached include,\r\n\r\n- the request is not a GET request,\r\n- The response has no entity tag in the header,\r\n- the request is sent with a non-empty cookie header,\r\n- the response body is bigger than the cache.\r\n\r\n\r\nContributing\r\n-------------\r\nPlease run the following commands before submitting a pull-request,\r\n\r\n\tnpm run lint\r\n\tnpm run code-style\r\n\tnpm run test\r\n","maintainers":[{"name":"belema","email":"belema.gancarz@gmail.com"},{"name":"laurent.zuijdwijk","email":"laurent.zuijdwijk@gmail.com"}],"time":{"modified":"2022-06-26T11:30:27.758Z","created":"2016-01-14T13:53:29.315Z","1.0.0":"2016-01-14T13:53:29.315Z","1.1.0":"2016-01-14T14:25:25.860Z","1.1.1":"2016-01-14T14:37:30.458Z","1.1.2":"2016-01-14T16:01:22.231Z","1.1.3":"2016-01-14T17:20:17.650Z","1.1.4":"2016-01-15T10:28:03.082Z","1.1.5":"2016-01-15T11:37:41.447Z","1.1.6":"2016-01-15T12:00:20.389Z","2.0.0":"2016-01-15T14:06:49.025Z","2.0.1":"2016-01-15T15:40:44.444Z","2.0.2":"2016-01-18T14:39:02.825Z","2.0.3":"2016-01-18T15:16:47.674Z"},"homepage":"https://github.com/Belema/request-etag#readme","keywords":["request","etag","request-etag","etag-request","http","http-etag","etag-http"],"repository":{"type":"git","url":"git+https://github.com/Belema/request-etag.git"},"contributors":[{"name":"Laurent Zuijdwijk"}],"author":{"name":"Belema Gancarz"},"bugs":{"url":"https://github.com/Belema/request-etag/issues"},"license":"MIT","readmeFilename":"README.md"}