{"_id":"downcache","_rev":"30-5a7d3b76218e4d374af1a3b59a44140d","name":"downcache","description":"Download and cache webpages and write them to disk for fast future retrieval","dist-tags":{"latest":"0.1.2"},"versions":{"0.0.1":{"name":"downcache","version":"0.0.1","author":{"name":"Chris Wilson","email":"christopher.e.wilson@gmail.com"},"description":"Retrieve HTML pages and write them to disk for fast future retrieval","main":"index.js","repository":{"type":"git","url":"https://github.com/wilson428/downcache"},"keywords":["cache"],"scripts":{"test":"test/test.js"},"dependencies":{"mkdirp":"~0.3.5","request":"2.34.0","graceful-fs":"2.0.3","npmlog":"*"},"bugs":{"url":"https://github.com/wilson428/downcache/issues"},"homepage":"https://github.com/wilson428/downcache","_id":"downcache@0.0.1","dist":{"shasum":"e5f95711f30df8cb3d5feba261807c4dfd64e20d","tarball":"https://registry.npmjs.org/downcache/-/downcache-0.0.1.tgz","integrity":"sha512-StO3HFxaEcpGKOQz5vWbUj8EJf7pxN3gmm7M0MVgN47EDUkRsZuPOGzP+zNg9CXkQi0F/jre4QzOTE23hv/1jQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDOtvCUKs4WK6/c1EFQMDb7M+uyfJlFOBAnn9USlfh2FwIhAI2oSdJBge/Cw1Gtu89Ewxjkcw0npx3EjPbklofz6frK"}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"wilson428","email":"christopher.e.wilson@gmail.com"},"maintainers":[{"name":"wilson428","email":"christopher.e.wilson@gmail.com"}],"directories":{}},"0.0.2":{"name":"downcache","version":"0.0.2","author":{"name":"Chris Wilson","email":"christopher.e.wilson@gmail.com"},"description":"Download and cache webpages and write them to disk for fast future retrieval","main":"index.js","repository":{"type":"git","url":"https://github.com/wilson428/downcache"},"keywords":["cache"],"scripts":{"test":"test/test.js"},"dependencies":{"mkdirp":"~0.3.5","request":"2.34.0","graceful-fs":"2.0.3","npmlog":"*"},"bugs":{"url":"https://github.com/wilson428/downcache/issues"},"homepage":"https://github.com/wilson428/downcache","_id":"downcache@0.0.2","dist":{"shasum":"eefc682ac510f7a39a687e0539997b63090f7cf1","tarball":"https://registry.npmjs.org/downcache/-/downcache-0.0.2.tgz","integrity":"sha512-gFpzcmfg381tDnX10CBwV5B0aq5CfPXaE5SaSv/wU4KUo6q0xplyJq1pkiEq+YS2ZjaATGgAAkQF44KoBWfdlw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDBxf9KoULOJNEuvFXh3ue7rPIlwktbGDi31QIG+PeFtgIhAJ1sVwj8hTXq+x/WgpmKvLpbXd+KUoPAOHpaT0slf1La"}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"wilson428","email":"christopher.e.wilson@gmail.com"},"maintainers":[{"name":"wilson428","email":"christopher.e.wilson@gmail.com"}],"directories":{}},"0.0.3":{"name":"downcache","version":"0.0.3","author":{"name":"Chris Wilson","email":"christopher.e.wilson@gmail.com"},"description":"Download and cache webpages and write them to disk for fast future retrieval","main":"index.js","repository":{"type":"git","url":"https://github.com/wilson428/downcache"},"keywords":["cache"],"scripts":{"test":"test/test.js"},"dependencies":{"mkdirp":"~0.3.5","request":"2.34.0","graceful-fs":"2.0.3","npmlog":"*"},"bugs":{"url":"https://github.com/wilson428/downcache/issues"},"homepage":"https://github.com/wilson428/downcache","_id":"downcache@0.0.3","dist":{"shasum":"b8c35553c1a90dc8fabb12f5953dd6bf9794b28b","tarball":"https://registry.npmjs.org/downcache/-/downcache-0.0.3.tgz","integrity":"sha512-pirHBblOW0D+yJd7RyC4vBWxKpp8Bu+Osm+IN7QuRYcA3Xs1BK+M1Ks7JkUBrIyBhvrZFajLqY9gCtVd+fXJ2Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICYnK5lfrmxFEqyZUiOBLv7pCZVlMglYwFygl8xbIatDAiEArITxIXnF/dKVKV3psbzSPeJfLX7pyO+KNp9gNKyFTOE="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"wilson428","email":"christopher.e.wilson@gmail.com"},"maintainers":[{"name":"wilson428","email":"christopher.e.wilson@gmail.com"}],"directories":{}},"0.0.4":{"name":"downcache","version":"0.0.4","author":{"name":"Chris Wilson","email":"christopher.e.wilson@gmail.com"},"description":"Download and cache webpages and write them to disk for fast future retrieval","main":"index.js","repository":{"type":"git","url":"https://github.com/wilson428/downcache"},"keywords":["cache"],"scripts":{"test":"test/test.js"},"dependencies":{"mkdirp":"~0.3.5","request":"2.34.0","graceful-fs":"2.0.3","npmlog":"*"},"bugs":{"url":"https://github.com/wilson428/downcache/issues"},"homepage":"https://github.com/wilson428/downcache","_id":"downcache@0.0.4","dist":{"shasum":"b1bbff89b1272d14928c127588f22c64fab8a212","tarball":"https://registry.npmjs.org/downcache/-/downcache-0.0.4.tgz","integrity":"sha512-U1AUC894m2WRj97INVLNLNSSwT2dlpMmwOoPtIZvymzW0I77+kbJr5zdYRBZgu+DZDvHIUUzJWGwcFPX18Tnmg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCp9/1IhLkD3vDeB7xXMYynnLLTFNSO2ZJErnc1VwhE/gIgeY3JO4+jEyFSfWlUUxZ2vPX3N4N4Imc9H+reDXjSQUM="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"wilson428","email":"christopher.e.wilson@gmail.com"},"maintainers":[{"name":"wilson428","email":"christopher.e.wilson@gmail.com"}],"directories":{}},"0.0.5":{"name":"downcache","version":"0.0.5","author":{"name":"Chris Wilson","email":"christopher.e.wilson@gmail.com"},"description":"Download and cache webpages and write them to disk for fast future retrieval","main":"index.js","repository":{"type":"git","url":"https://github.com/wilson428/downcache"},"keywords":["cache"],"scripts":{"test":"test/test.js"},"dependencies":{"mkdirp":"~0.3.5","request":"2.34.0","graceful-fs":"2.0.3","npmlog":"*"},"bugs":{"url":"https://github.com/wilson428/downcache/issues"},"homepage":"https://github.com/wilson428/downcache","_id":"downcache@0.0.5","dist":{"shasum":"5245ffc5a03a9cbdb8187e073eb14446db3cf2b0","tarball":"https://registry.npmjs.org/downcache/-/downcache-0.0.5.tgz","integrity":"sha512-oXEn2e0PxhT+fNnQK1z4EqSMswmzRxY+xtt5FXxjxzhpZJRUm7NoIiGNTaZrQfXQHC4T7bTzsoOGN6rnCFNKew==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB2+rRCGDAyiyBUoUm3BAkIBeIor8d/gCiyQPAk5dCvYAiALQp/dSokhsxgEfGRIYA6BEhETq4TZBgvoSZNdXUcCEA=="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"wilson428","email":"christopher.e.wilson@gmail.com"},"maintainers":[{"name":"wilson428","email":"christopher.e.wilson@gmail.com"}],"directories":{}},"0.0.5-a":{"name":"downcache","version":"0.0.5-a","author":{"name":"Chris Wilson","email":"christopher.e.wilson@gmail.com"},"description":"Download and cache webpages and write them to disk for fast future retrieval","main":"index.js","repository":{"type":"git","url":"https://github.com/wilson428/downcache"},"keywords":["cache"],"scripts":{"test":"test/test.js"},"dependencies":{"mkdirp":"~0.3.5","request":"2.34.0","graceful-fs":"2.0.3","npmlog":"*"},"bugs":{"url":"https://github.com/wilson428/downcache/issues"},"homepage":"https://github.com/wilson428/downcache","_id":"downcache@0.0.5-a","dist":{"shasum":"d63b8a3ecf619e589fd6249d65670c0fc40ba4a5","tarball":"https://registry.npmjs.org/downcache/-/downcache-0.0.5-a.tgz","integrity":"sha512-AwBTdHluVl/aUke+SFZwMZyyNPaQU4iJiD5imnhcaaDudcQlgarkHaqe/l0e1uwxLLE1VGyhgClhEOD7ZiNKQA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE0Dn/b7iRuUMC9j2vTRTe74zStOQexH33jxnDkbQB7DAiA+CeSdFIMtRaqFFbGYRE+Z4mZDXq0Jd7Y/j5cJR3gyAg=="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"wilson428","email":"christopher.e.wilson@gmail.com"},"maintainers":[{"name":"wilson428","email":"christopher.e.wilson@gmail.com"}],"directories":{}},"0.0.5-b":{"name":"downcache","version":"0.0.5-b","author":{"name":"Chris Wilson","email":"christopher.e.wilson@gmail.com"},"description":"Download and cache webpages and write them to disk for fast future retrieval","main":"index.js","repository":{"type":"git","url":"https://github.com/wilson428/downcache"},"keywords":["cache"],"scripts":{"test":"test/test.js"},"dependencies":{"mkdirp":"~0.3.5","request":"2.34.0","graceful-fs":"2.0.3","npmlog":"*","limiter":"1.0.x","extend":"2.0.x"},"devDependencies":{"rimraf":"2.2.x"},"gitHead":"91ec11130d74f79a688b6b387dce2124d8944c6b","bugs":{"url":"https://github.com/wilson428/downcache/issues"},"homepage":"https://github.com/wilson428/downcache","_id":"downcache@0.0.5-b","_shasum":"022cc090f800d6a705311a1602c9679957fea1be","_from":".","_npmVersion":"2.1.7","_nodeVersion":"0.10.33","_npmUser":{"name":"wilson428","email":"christopher.e.wilson@gmail.com"},"maintainers":[{"name":"wilson428","email":"christopher.e.wilson@gmail.com"}],"dist":{"shasum":"022cc090f800d6a705311a1602c9679957fea1be","tarball":"https://registry.npmjs.org/downcache/-/downcache-0.0.5-b.tgz","integrity":"sha512-1xo5O0qpXSW7qWqd25YJXZ46Vj0VrdH4RQiqHSK/+2LCuVnhXOGdA6qxC3E4JvuwZEcBDQbBc+HbsW75rSJNlQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCm8a01xtzfWND7v256EN1CVOnvL/9mIPTiQ3aq2f/95wIgHXIC2qvdA+4YEgvWWOarobgjvjRCK7PetDlEs+qdcjU="}]},"directories":{}},"0.0.6":{"name":"downcache","version":"0.0.6","author":{"name":"Chris Wilson","email":"christopher.e.wilson@gmail.com"},"description":"Download and cache webpages and write them to disk for fast future retrieval","main":"index.js","repository":{"type":"git","url":"https://github.com/wilson428/downcache"},"keywords":["cache"],"scripts":{"test":"test/test.js"},"dependencies":{"mkdirp":"~0.3.5","request":"2.34.0","graceful-fs":"2.0.3","npmlog":"1.0.0","limiter":"1.0.x","extend":"2.0.x"},"devDependencies":{"rimraf":"2.2.x"},"gitHead":"3fdfd6cb5430d13abfb896c658d79040a6e3889d","bugs":{"url":"https://github.com/wilson428/downcache/issues"},"homepage":"https://github.com/wilson428/downcache","_id":"downcache@0.0.6","_shasum":"021cd57c40aba1cf30c465c82c57912606973de0","_from":".","_npmVersion":"2.1.7","_nodeVersion":"0.10.33","_npmUser":{"name":"wilson428","email":"christopher.e.wilson@gmail.com"},"maintainers":[{"name":"wilson428","email":"christopher.e.wilson@gmail.com"}],"dist":{"shasum":"021cd57c40aba1cf30c465c82c57912606973de0","tarball":"https://registry.npmjs.org/downcache/-/downcache-0.0.6.tgz","integrity":"sha512-ngfkSo3t2v6wBIaHr6OIL6lr53aN/ttgA0Ajy8VOzUMf6Vp6L13YcIqs9C7mwZ3b0N251/bQaXvaXKuinyrqZA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCsDErxkY92BhuuUN/4p/C1+rbeQBEnV1pJ6R4Lm887KQIgDwu138MWEawj4aGnBt8Nnj9/7kXwz0qMD9uDYSihG0k="}]},"directories":{}},"0.0.6-a":{"name":"downcache","version":"0.0.6-a","author":{"name":"Chris Wilson","email":"christopher.e.wilson@gmail.com"},"description":"Download and cache webpages and write them to disk for fast future retrieval","main":"index.js","repository":{"type":"git","url":"https://github.com/wilson428/downcache"},"keywords":["cache"],"scripts":{"test":"test/test.js"},"dependencies":{"mkdirp":"~0.3.5","request":"2.34.0","graceful-fs":"2.0.3","npmlog":"1.0.0","limiter":"1.0.x","extend":"2.0.x"},"devDependencies":{"rimraf":"2.2.x"},"gitHead":"f0eefb195e88c3398438939c70a3ee99da4a49a5","bugs":{"url":"https://github.com/wilson428/downcache/issues"},"homepage":"https://github.com/wilson428/downcache","_id":"downcache@0.0.6-a","_shasum":"5660fd70d4ac1b3c93127ca7930c2c53838cc780","_from":".","_npmVersion":"2.1.7","_nodeVersion":"0.10.33","_npmUser":{"name":"wilson428","email":"christopher.e.wilson@gmail.com"},"maintainers":[{"name":"wilson428","email":"christopher.e.wilson@gmail.com"}],"dist":{"shasum":"5660fd70d4ac1b3c93127ca7930c2c53838cc780","tarball":"https://registry.npmjs.org/downcache/-/downcache-0.0.6-a.tgz","integrity":"sha512-qjnFra8WsYvWP4XwIt1iQYpSj8h0598Zl+jbz762vsZ7MnqqS+9jy7vY9K2YafovpoAhSW88XzJMxH1/ctN4IA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFbR9BaQ0cDO/7Kj1e3nHZUSBhs8AuVmeAI1txiySonMAiEAx6URTTSNqP/wlw1kuzVfRgYS1vvRrNLGMxLOB43jgb8="}]},"directories":{}},"0.0.6-b":{"name":"downcache","version":"0.0.6-b","author":{"name":"Chris Wilson","email":"christopher.e.wilson@gmail.com"},"description":"Download and cache webpages and write them to disk for fast future retrieval","main":"index.js","repository":{"type":"git","url":"https://github.com/wilson428/downcache"},"keywords":["cache"],"scripts":{"test":"test/test.js"},"dependencies":{"extend":"2.0.x","graceful-fs":"2.0.3","limiter":"1.0.x","mkdirp":"~0.3.5","npmlog":"1.0.0","request":"^2.34.0"},"devDependencies":{"rimraf":"2.2.x"},"gitHead":"5d9a33b2501cc27a1340853942610b485078adf4","bugs":{"url":"https://github.com/wilson428/downcache/issues"},"homepage":"https://github.com/wilson428/downcache","_id":"downcache@0.0.6-b","_shasum":"cad60ecef75b6104a196c73efb7fdceeefcad4f9","_from":".","_npmVersion":"2.1.9","_nodeVersion":"0.10.33","_npmUser":{"name":"wilson428","email":"christopher.e.wilson@gmail.com"},"maintainers":[{"name":"wilson428","email":"christopher.e.wilson@gmail.com"}],"dist":{"shasum":"cad60ecef75b6104a196c73efb7fdceeefcad4f9","tarball":"https://registry.npmjs.org/downcache/-/downcache-0.0.6-b.tgz","integrity":"sha512-um0y3HK1xIzj/qQwvXmvRBwhOzPao+qTUpWTbp6zs/iIxUalglUObFonRjTL9X+PG7oOXiLpZm+SJ6olN+W7QQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBjlSUB5kjyjoYxhNFLSk4HQvE74x5sw6uSaYgAzuskVAiAOUaidd6kACrH2wCEExtIB5SUbp91UbBB/OyKjTz9mJw=="}]},"directories":{}},"0.0.7":{"name":"downcache","version":"0.0.7","author":{"name":"Chris Wilson","email":"christopher.e.wilson@gmail.com"},"description":"Download and cache webpages and write them to disk for fast future retrieval","main":"index.js","repository":{"type":"git","url":"https://github.com/wilson428/downcache"},"keywords":["cache"],"scripts":{"test":"test/test.js"},"dependencies":{"extend":"2.0.x","graceful-fs":"2.0.3","limiter":"1.0.x","mkdirp":"~0.3.5","npmlog":"1.0.0","request":"^2.34.0"},"devDependencies":{"rimraf":"2.2.x"},"gitHead":"c5923e4808db2be77cb7b11b6ea7108554102357","bugs":{"url":"https://github.com/wilson428/downcache/issues"},"homepage":"https://github.com/wilson428/downcache","_id":"downcache@0.0.7","_shasum":"1a1e04a1b9cb05a7d978f834c086cde84b6e0642","_from":".","_npmVersion":"2.1.7","_nodeVersion":"0.10.33","_npmUser":{"name":"wilson428","email":"christopher.e.wilson@gmail.com"},"maintainers":[{"name":"wilson428","email":"christopher.e.wilson@gmail.com"}],"dist":{"shasum":"1a1e04a1b9cb05a7d978f834c086cde84b6e0642","tarball":"https://registry.npmjs.org/downcache/-/downcache-0.0.7.tgz","integrity":"sha512-t9jHBLwUl6MMoZJ24kioK9V2OWYlrXb85b6AtAnk9HYc04wJPcGEPilSXVu+BmcVm8DkNyCzmwLi5w46zOYgHw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC8Y4mHggijr0mVWcr2MwvFqn57yxRucJGoUKOFKXjSYQIhALepAtMctNBYF9i0Z+8NI0TO5vwfTMWjBtnbTIWovTzR"}]},"directories":{}},"0.0.8":{"name":"downcache","version":"0.0.8","author":{"name":"Chris Wilson","email":"christopher.e.wilson@gmail.com"},"description":"Download and cache webpages and write them to disk for fast future retrieval","main":"index.js","repository":{"type":"git","url":"https://github.com/wilson428/downcache"},"keywords":["cache"],"scripts":{"test":"test/test.js"},"dependencies":{"extend":"2.0.x","graceful-fs":"2.0.3","limiter":"1.0.x","mkdirp":"~0.3.5","npmlog":"1.0.0","request":"^2.34.0"},"devDependencies":{"rimraf":"2.2.x"},"gitHead":"cef996320859c002edc035e4e1a632e96ed1518f","bugs":{"url":"https://github.com/wilson428/downcache/issues"},"homepage":"https://github.com/wilson428/downcache","_id":"downcache@0.0.8","_shasum":"332320dde5806ea55d2e6d2ea674990bda4e8b75","_from":".","_npmVersion":"2.1.7","_nodeVersion":"0.10.33","_npmUser":{"name":"wilson428","email":"christopher.e.wilson@gmail.com"},"maintainers":[{"name":"wilson428","email":"christopher.e.wilson@gmail.com"}],"dist":{"shasum":"332320dde5806ea55d2e6d2ea674990bda4e8b75","tarball":"https://registry.npmjs.org/downcache/-/downcache-0.0.8.tgz","integrity":"sha512-qkOx1fPmkFl++OJuEvWeDjrxHDwiIbYoxMnq+QPTM5a6WHstsbKxXfOSGXKIM37/iHl9daxBORQRUCuctLjZVQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEiBZK6a5H2KuEHDoQJ00QVTvVOd6/RNqxaL3GjeyPeGAiB/Y5CpBO8y9IhY1SYWt6ajBqT+0rgdohD7CzgMQu/lQg=="}]},"directories":{}},"0.0.9":{"name":"downcache","version":"0.0.9","author":{"name":"Chris Wilson","email":"christopher.e.wilson@gmail.com"},"description":"Download and cache webpages and write them to disk for fast future retrieval","main":"index.js","repository":{"type":"git","url":"git+https://github.com/wilson428/downcache.git"},"keywords":["cache"],"scripts":{"test":"test/test.js"},"dependencies":{"extend":"^3.0.0","graceful-fs":"^4.1.3","limiter":"^1.1.0","mkdirp":"^0.5.1","npmlog":"^2.0.3","request":"^2.69.0","rimraf":"^2.5.2"},"devDependencies":{"rimraf":"*"},"gitHead":"1a9a450baa81233f69825aa6a554e0ef42d943c5","bugs":{"url":"https://github.com/wilson428/downcache/issues"},"homepage":"https://github.com/wilson428/downcache#readme","_id":"downcache@0.0.9","_shasum":"790bb0424689136115ce93f2aa15946c6d806d0e","_from":".","_npmVersion":"3.8.6","_nodeVersion":"5.10.0","_npmUser":{"name":"wilson428","email":"christopher.e.wilson@gmail.com"},"dist":{"shasum":"790bb0424689136115ce93f2aa15946c6d806d0e","tarball":"https://registry.npmjs.org/downcache/-/downcache-0.0.9.tgz","integrity":"sha512-AssoVsNYu5DnPY0Ro67lkbiAr66sk5IHuiIGm3pzFzWmTzkcEoFjDlG8szzP4x+ZN2OHehKTZbwDrC7l2Q52+g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDxf4v1zDtZEwl/xHijbBANWGwQKZLx335W1IhhgmndjgIhALy5qqwPbO7T/dJEbB1WwQPapvsOu+bXkznXWVo3wJup"}]},"maintainers":[{"name":"wilson428","email":"christopher.e.wilson@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/downcache-0.0.9.tgz_1459743288889_0.3830944332294166"},"directories":{}},"0.1.0":{"name":"downcache","version":"0.1.0","author":{"name":"Chris Wilson","email":"christopher.e.wilson@gmail.com"},"description":"Download and cache webpages and write them to disk for fast future retrieval","main":"index.js","repository":{"type":"git","url":"git+https://github.com/wilson428/downcache.git"},"keywords":["cache"],"scripts":{"test":"test/test.js"},"dependencies":{"extend":"^3.0.0","graceful-fs":"^4.1.3","limiter":"^1.1.0","mkdirp":"^0.5.1","npmlog":"^4.1.2","request":"^2.69.0","rimraf":"^2.5.2"},"devDependencies":{"rimraf":"*"},"gitHead":"c57c707f6597fdf51bcb4267d2f20a4c21644255","bugs":{"url":"https://github.com/wilson428/downcache/issues"},"homepage":"https://github.com/wilson428/downcache#readme","_id":"downcache@0.1.0","_npmVersion":"6.1.0","_nodeVersion":"9.11.2","_npmUser":{"name":"wilson428","email":"christopher.e.wilson@gmail.com"},"dist":{"integrity":"sha512-+EoLYcMRNcU4ZYfWSlB0sSLYsNBixBd1NNp+Mci2fZ0O7ZMULUaRgnZ7jN+pm2pJt45yvQCF7ZqWSSUFtboGTQ==","shasum":"93c2623938d2a5742a0ac3889011c9f6ad6e26a7","tarball":"https://registry.npmjs.org/downcache/-/downcache-0.1.0.tgz","fileCount":6,"unpackedSize":19232,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbOylvCRA9TVsSAnZWagAACN4P/0qtS+35/iHTIldZmAcs\nw2hnbDjgtptsaLAxLT83BJC2MASnq1P3mfZ93HMMo0EhasJDSByTU9HoRs56\n6zI74VqG10qSw3PO1rq1dBgSEMJ9ADN7VYjw/eCfmmjjsQk8/lHcnNSk/DP4\n10zLOq1UFCYfvv3eRTrg4oMzeIB6rN0ovBhEWu+g8D128LVWE384BSoII+Bj\nd4j4GMd66QkNIh6kp7Dj1jpoXgQbZwy1Eh1qZfkw77nvDdG6Op+oGHW2xOMi\nFfHxnzdCscBkkuJ28Wzyk73dPZyabZ5ajtTUtssjgxiM1uEzRAdwBJLvtCZD\nw+c8/zbuOT6PvNh60ZbhKhW7zoqusLfAdqX7/zmbiXaR29WdmbZOiXNx12q+\nIBzphYPqhdKlHUDQ8Dtb2Eq5OxRGFTl1R9HaAcPY4hATKSZurKYmFeMnT+2P\nvHeF4PUx7GNtveFqNOrXbBNACKN2zcXTy79iVEHnAjRZsgPXHzrB69vFJOYy\n9aWYSZaeAXZqunveSDDz5uaR2ABqiPdTK9c2avxwiH/ZY6xRUzoewbOgEpO4\njx5l7b0JqgTgJhUuup6qrK166NZPfhQwerQ9YIBxu4G7sUuDjIGomVR4h6I3\noKC71/qbHMUMBwp+ogZxubisjHuHh+5TPP4eV3yiI4WuOmGQXcU6cZ0AX0CP\nScbg\r\n=ka1a\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDukjb12ScSyXYOfrwz/YwhuvuAxI7dtZL6BCDfLLvF0AiBjz+ZQQPNSNJU/WUi9m+tax6TSiKQgVLHz+5kjOon7Bw=="}]},"maintainers":[{"name":"wilson428","email":"christopher.e.wilson@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/downcache_0.1.0_1530603887511_0.7119342162808602"},"_hasShrinkwrap":false},"0.1.1":{"name":"downcache","version":"0.1.1","author":{"name":"Chris Wilson","email":"christopher.e.wilson@gmail.com"},"description":"Download and cache webpages and write them to disk for fast future retrieval","main":"index.js","repository":{"type":"git","url":"git+https://github.com/wilson428/downcache.git"},"keywords":["cache"],"scripts":{"test":"test/test.js"},"dependencies":{"request":"^2.88.0","graceful-fs":"^4.1.15","limiter":"^1.1.4","mkdirp":"^0.5.1","npmlog":"^4.1.2"},"devDependencies":{"rimraf":"^2.6.3"},"gitHead":"c402bea5ecaed7051643672ed65e3a365594c9a4","bugs":{"url":"https://github.com/wilson428/downcache/issues"},"homepage":"https://github.com/wilson428/downcache#readme","_id":"downcache@0.1.1","_nodeVersion":"10.15.1","_npmVersion":"6.9.0","dist":{"integrity":"sha512-ViRYstj5lKokqPAFf4egMzyeKtv3usOd28ph86ePGU03Kv3R/srKeJhGQo2i4KsAnTa86+FS/RHmEu7hwxuL5A==","shasum":"c8409bc2eca92602a8b60c4b9e1ec06de58313c4","tarball":"https://registry.npmjs.org/downcache/-/downcache-0.1.1.tgz","fileCount":7,"unpackedSize":20443,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcmsC+CRA9TVsSAnZWagAAaPQQAI+zO3hAtz/SbIBm/PpN\nsDZPjbmCNjvAheu6UU6F4SszKdUdo1hjpWXBl/bSUx3M0rwYMyrfHR9iPWFc\n2YIjHh6ut0HzxPpw/oBaed685UTZnN9CindvrXUf5tJctCISRsEbibDB3pBa\ncwiVr7g9RR8I3w2tVYYQBW+OsLRJScnkr8dshM13RhdOHbrXCaq+e2QtV4Os\nMSbi5FPLrGvnvAFWoLBeC3afwb5wG+ru/5TM+LIAIC+Ss7Z7O/5qqFJeUfpx\nTjmI2drmGgoAO06cHw9fuKB+JugA6WY28giVYiOqfbohCOaOAD+LI+KVPOcz\nZj4ePXIYCmjYLxBHHEOB0+Zk+g/VY0LaK8iPmaddjZ62VqR0IItfGxHAkVoF\nYK4c3BDOqJjohH3SYHEc8o9o+1Ea3Ca5QYqeRwrc5R5zjtsIH3wXi2Q7OAsv\nyT0xSDJ8mpsffdcLTwISONPia+LufTfUTmtDJrGs1soUWGzPKS/81drrvAZp\n2B8GjbOWiJ2ZRk3WiMPCjIoUiTjdFMWwrhSRdhwihEhutRoELu5azq3w2fYH\nTyGwUky7G/oksPHuzq1gJgqs8MLrsSxCnuvSU1XPQC1ozpXlPP1MVLIuqF0B\nefwb5EKwrreuGGi5rPOcr1hNsvevvikZoOR5txCWpjRka3PapzMd82UovCJc\nqj4A\r\n=ODQl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC503Oo5CyY8Z6L2RrywzRuedWcw2Eh189Hcj6I9ZcrfQIhAJyHDVoMPMWKnuPdVkZukhJ8V/Ayam+FjRqj7uIqtoem"}]},"maintainers":[{"name":"wilson428","email":"christopher.e.wilson@gmail.com"}],"_npmUser":{"name":"wilson428","email":"christopher.e.wilson@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/downcache_0.1.1_1553645758064_0.8792813695603199"},"_hasShrinkwrap":false},"0.1.2":{"name":"downcache","version":"0.1.2","author":{"name":"Chris Wilson","email":"christopher.e.wilson@gmail.com"},"description":"Download and cache webpages and write them to disk for fast future retrieval","main":"index.js","repository":{"type":"git","url":"git+https://github.com/wilson428/downcache.git"},"keywords":["cache"],"scripts":{"test":"test/test.js"},"dependencies":{"request":"^2.88.0","graceful-fs":"^4.1.15","limiter":"^1.1.4","mkdirp":"^0.5.1","npmlog":"^4.1.2"},"devDependencies":{"rimraf":"^2.6.3"},"bugs":{"url":"https://github.com/wilson428/downcache/issues"},"homepage":"https://github.com/wilson428/downcache#readme","_id":"downcache@0.1.2","_nodeVersion":"12.11.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-eObretcAiWLo81GgUGa2DkoqsysqD6U9luu3nXd+bx++aBXD91Z7nXtISv0NbvXtlVMbNltz/d4S95WzMfqQpA==","shasum":"81d5279d4d46ee404b032a8d155aac976c7e08c2","tarball":"https://registry.npmjs.org/downcache/-/downcache-0.1.2.tgz","fileCount":8,"unpackedSize":36480,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfCzdKCRA9TVsSAnZWagAAwoQQAJYD/Kn3YEu6nO9LfHQD\nmnBxfnVZj/a7Hjq6Tph3X5xfh5ZCc1GTRNGAmzfzV+PS75QfSVP0NZuzl0Nd\nlhoV6M/JBP2n4vAQacfc+Q/E4YexogkWI26WMkK9e1CJgcWIB7H4VYwKfKpr\nmLuLv0B+27hseOtXjkKonpNDJAQsenQLSwQPDWlG2Vlp0R1+3kD4sRo+P2d3\nO15e+BTYXV109t9XBW/izO5Q44UA5jeNBZgNcqhrYIhXFfaGuYD2GgGauExD\nRGBEffOnaVEU8SdX2wOMZFqJMVyy/LRRriyLBhDfp++nJBSdwpVW8NmGNnZT\nP6UnXvxqYTftbbB2NEA+72I4HMVQxw7611RE72bJ/FzOlxZivgolZiME+Tke\nYM5VuR2I7E99AF6miEkE49VszFKhGvmNoGHhBqbe6Cs3VxrlnzJfwwHTMB5x\na6xyHM4epEtMdnB8Wpa34w+lX+BzDwxh/iUn3D0+lKiOH3WK1fcfXhXc1CHP\n4BGaVXG/RhR5GKIymPfjWABPkyWeuH3A0nHpRRjJtCNjMDdWSZLDyD1D3zyI\n5G5gmTZe9dcW+RA+8uX+njfziyoSwJX1nk8AHRNFXfW3Sk8aTEC5o0c18rgj\noVugD7bAXpykHjGc1eCqny2sBv80aCiDPXgupsg5rHNwOYIHloivqg47C430\nvcoY\r\n=aFWN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD+aZD0K8t8Q62MMQj0xuGPIszjT+0fg3o0dQF6vZZbjwIhAOLkaRdjXPL9fRgUaWeqxQwkBrywelro5o6uv+hvPU2f"}]},"maintainers":[{"name":"wilson428","email":"christopher.e.wilson@gmail.com"}],"_npmUser":{"name":"wilson428","email":"wilson@mechanicalscribe.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/downcache_0.1.2_1594570570212_0.9854328706282154"},"_hasShrinkwrap":false}},"readme":"downcache\n=========\nv0.1.2\n\n*NOTE*: I am in the process of moving the dependency for `downcache` from `request` to a more modern alternative and implementing promises. Help is welcome!\n\n[![Build Status](https://travis-ci.org/wilson428/downcache.png)](https://travis-ci.org/wilson428/downcache)\n[![Dependency Status](https://david-dm.org/wilson428/downcache.svg)](https://david-dm.org/wilson428/downcache)\n[![devDependencies](https://david-dm.org/wilson428/downcache/dev-status.svg)](https://david-dm.org/wilson428/downcache#info=devDependencies)\n\nDowncache is a Node.js module for downloading and caching webpages for fast future retrieval. It is modeled on the [download function](https://github.com/unitedstates/congress/blob/master/tasks/utils.py) we use at the [UnitedStates](https://github.com/unitedstates) project.\n\nAny sort of scraping project often ends up hitting pages far more often than is reasonably necessary. This module functions like @mikeal's [request](https://github.com/mikeal/request) -- in fact, it uses it as a dependency -- but stores a copy of the HTML on your local machine. The next time you make a request to that page using `downcache`, it checks for that local copy before making another call to the live page.\n\n# Installation\n\n`npm install downcache`\n\n# Usage\n\n\tconst downcache = require(\"downcache\");\n\n\tdowncache(\"http://en.wikipedia.org/w/api.php?action=query&prop=revisions&titles=Jimmy%20Rollins&rvprop=content&format=json\", (err, resp, body) => {\n\t\t// do something with the HTML body response\n\t});\n\nIf you request this page sometime later, you will see that the response returns MUCH faster. That's because the response is loading from your hard drive, not the Internet.\n\n# Callbacks\n\nThe only required input to `downcache` is a url. Most of the time, you'll want to pass a callback function as well, which return three arguments, just like `request`: An error (hopefully null), a response object that is either the response provided by `request` or an object indicating that the page was loaded from cache, and the body of the page requested. Do with them what you will (or not).\n\n\tdowncache(\"http://time.com/7612/americas-mood-map-an-interactive-guide-to-the-united-states-of-attitude/\", (err, resp, body) => {\n\t\tif (err) throw err;\n\t\tif (resp.socket) {\n\t\t\tconsole.log(resp.socket.bytesRead);\n\t\t} else {\n\t\t\tconsole.log(resp);\n\t\t}\n\t});\n\nAny error from the request, file retrieval or file writing is elevated to the callback.\n\n# Caching\n\nBy default, this module creates a `cache` directory in the current directory. The path to the cached file is created from the url so that the local file structure resembles the website being crawled. \n\n# Options\n\nThere are a variety of options for you to specify and two ways to specify them.\n\n| option | default | description |\n| -------| ------- | ----------- |\n| dir    | './cache' | The directory where pages will be cached. Will be created if not present. | \n| path   | url      | The file path to write the url response to inside the cache directory. Default is the url itself as a file structure. |\n| force  | false   | If true, don't bother looking for the file in cache and call it live. |\n| nocache | false  | Don't write the response to cache. Then question why you are using this module. |\n| json   | false | Run `JSON.parse` on the response. |\n| log    | 'warn' | Log level for module, using [npmlog](https://www.npmjs.com/package/npmlog) values: `verbose`, `info`, `warn`, `error`. |\n| limit  | 100  | How long to wait in milliseconds between each http call. |\n| noindex | false | Don't tack on an `/index.html` to the cache path where appropriate |\n| post   | null | an object to send as POST parameters. |\n| encoding   | \"utf-8\" | the type of encoding to both read the cached files and call uncached files |\n\n\nTo specify options for a _single URL call_, you can pass a third argument to `downcache` between the url and the callback, like so:\n\n\tdowncache(\"http://example.com/article.html\", { \n\t\tdir: '/Users/jsmith/Desktop/cache/', \n\t\tlog: 'verbose'\n\t}, function(err, resp, body) {\n\t\t//callback\n\t});\n\nBut if you want to store the cache somewhere else, like in the above example, it would be a hassle to specify this every time. So you can also set pseudo-global options that apply to all future `downcache` calls using the `set` method:\n\n\tdowncache.set(\"dir\", \"/Users/jsmith/Desktop/cache/\");\n\t// or \n\tdowncache.set({\n\t\tlog: \"info\",\n\t\tjson: true\n\t});\n\nIf you specify these universal options, you can still override them with options passed to the main `downcache()` function call, but doing so with not overwrite the options specified by `.set()` for future calls.\n\n# Note on downcache and wget\n\nThe default behavior for \"path\" is similar to the structure created by `wget`, in which the directory structure of the website is replicated on disk. At some future point, I may make this identical so that one can \"precache\" a site by mirroring it and then use this module to make requests to it, falling back on the live site.\n\nThe most common case for specifying your own path is if the site that you're requesting attaches session keys to the links in the source code, as many government database search results have the awful habit of doing. If you don't specify a path without these keys, they will fool the module into requesting a new URL each time.\n\nDowncache will also append `/index.html` to URLs that end without an extensions. (Thanks to @josephfrazier for catching that this [wasn't happening for the root URL](https://github.com/wilson428/downcache/pull/5).) For example, the IMDB page for \"The Godfather\" resolves thus:\n\n\thttp://www.imdb.com/title/tt0068646 -> http://www.imdb.com/title/tt0068646/index.html\n\nThe reason is so that, when you later make a call to `http://www.imdb.com/title/tt0068646/fullcredits`, `tt0068646` is a directory instead of a file in the cache system. Otherwise, the caching won't work. You can override this behavior by setting `noindex` to true in the options.\n\n# Rate limiting\n\nIf you invoke this module many times in a row, there is built-in rate limiting to prevent bad behavior. The default is not more than one call per 100 milliseconds, which you can adjust with the `limit` option. (Feel free to call `downcache()` as you would normally, and the rate limiter will store the calls until their turn comes up.) I recommend you set the rate limiting interval using `.set()` at the beginning of the program and leave it at that value for the duration of the execution. Changing it midstream should not cause an interruption, but it can create some confusing race conditions.\n\n# To Do\n\n+ Allow for optional \"should I cache?\" logic so as to ignore certain types of responses you don't want (say, those that are under 1KB, indicating an error)\n+ Allow for cache expiration\n+ Return a better response when called from cache\n+ Make caching identical to `wget` for pre-caching\n+ Support Promises ([Issue #4](https://github.com/wilson428/downcache/issues/4))\n\n# License\n[MIT](/LICENSE.md)","maintainers":[{"name":"wilson428","email":"christopher.e.wilson@gmail.com"}],"time":{"modified":"2022-06-15T22:55:50.975Z","created":"2014-03-30T02:53:57.410Z","0.0.1":"2014-03-30T02:53:57.410Z","0.0.2":"2014-03-30T14:57:13.845Z","0.0.3":"2014-05-30T14:44:39.990Z","0.0.4":"2014-06-17T20:50:18.858Z","0.0.5":"2014-07-12T04:17:56.982Z","0.0.5-a":"2014-08-08T14:46:55.799Z","0.0.5-b":"2015-01-14T19:32:09.026Z","0.0.6":"2015-01-16T21:53:53.328Z","0.0.6-a":"2015-01-16T22:35:26.501Z","0.0.6-b":"2015-02-22T20:16:14.748Z","0.0.7":"2015-02-27T20:41:15.415Z","0.0.8":"2015-04-03T15:47:10.589Z","0.0.9":"2016-04-04T04:14:51.181Z","0.1.0":"2018-07-03T07:44:47.580Z","0.1.1":"2019-03-27T00:15:58.182Z","0.1.2":"2020-07-12T16:16:10.338Z"},"homepage":"https://github.com/wilson428/downcache#readme","keywords":["cache"],"repository":{"type":"git","url":"git+https://github.com/wilson428/downcache.git"},"author":{"name":"Chris Wilson","email":"christopher.e.wilson@gmail.com"},"bugs":{"url":"https://github.com/wilson428/downcache/issues"},"readmeFilename":"README.md"}