{"_id":"request-progress","_rev":"112179","name":"request-progress","description":"Tracks the download progress of a request made with mikeal/request, giving insight of various metrics including progress percent, download speed and time remaining","dist-tags":{"latest":"3.0.0"},"maintainers":[{"name":"satazor","email":"andremiguelcruz@msn.com"}],"time":{"modified":"2021-06-03T10:44:14.000Z","created":"2013-07-14T09:33:58.434Z","3.0.0":"2016-12-01T20:00:09.591Z","2.0.1":"2016-01-20T14:36:17.770Z","2.0.0":"2016-01-20T14:29:44.584Z","1.0.2":"2016-01-04T21:00:00.545Z","1.0.1":"2016-01-04T08:56:26.608Z","1.0.0":"2016-01-04T03:17:53.373Z","0.4.0":"2015-11-29T21:15:48.118Z","0.3.1":"2013-08-28T21:36:42.860Z","0.3.0":"2013-08-28T21:31:00.337Z","0.2.3":"2013-08-01T13:00:32.105Z","0.2.2":"2013-08-01T08:46:51.390Z","0.2.1":"2013-07-14T16:08:38.389Z","0.2.0":"2013-07-14T10:45:08.990Z","0.1.1":"2013-07-14T10:21:18.314Z","0.1.0":"2013-07-14T09:33:58.434Z"},"users":{"j3kz":true,"amirmehmood":true,"nguru":true,"leodutra":true,"gfilip":true,"avalexandrov":true,"satazor":true,"xieranmaya":true,"bcipriano":true,"vbarbarosh":true,"ronin161":true,"dimayak":true,"visual.io":true,"olonam":true,"wenhsiaoyi":true,"demian_dark":true,"nuer":true,"laggingreflex":true,"hyloque":true,"rocket0191":true,"django_wong":true,"springy":true,"namhyun-gu":true,"xinwangwang":true,"yanrivera":true,"wangnan0610":true,"sammy_winchester":true,"wangxx":true,"jochemstoel":true,"yanghcc":true},"author":{"name":"IndigoUnited","email":"hello@indigounited.com","url":"http://indigounited.com"},"repository":{"type":"git","url":"git://github.com/IndigoUnited/node-request-progress.git"},"versions":{"3.0.0":{"name":"request-progress","version":"3.0.0","description":"Tracks the download progress of a request made with mikeal/request, giving insight of various metrics including progress percent, download speed and time remaining","main":"index.js","dependencies":{"throttleit":"^1.0.0"},"devDependencies":{"coveralls":"^2.11.6","expect.js":"^0.3.1","istanbul":"^0.4.1","mocha":"^3.0.2"},"scripts":{"test":"mocha --bail","test-cov":"istanbul cover --dir test/coverage _mocha -- --bail && echo open test/coverage/lcov-report/index.html","test-travis":"istanbul cover _mocha --report lcovonly -- --bail && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"},"repository":{"type":"git","url":"git://github.com/IndigoUnited/node-request-progress.git"},"bugs":{"url":"http://github.com/IndigoUnited/node-request-progress/issues"},"keywords":["progress","request","mikeal","size","bytes","percent","percentage","speed","eta","etr"],"author":{"name":"IndigoUnited","email":"hello@indigounited.com","url":"http://indigounited.com"},"license":"MIT","gitHead":"329976448037eaef4c1af2c28690067adba91d07","homepage":"https://github.com/IndigoUnited/node-request-progress#readme","_id":"request-progress@3.0.0","_shasum":"4ca754081c7fec63f505e4faa825aa06cd669dbe","_from":".","_npmVersion":"3.10.8","_nodeVersion":"7.0.0","_npmUser":{"name":"satazor","email":"andremiguelcruz@msn.com"},"dist":{"shasum":"4ca754081c7fec63f505e4faa825aa06cd669dbe","size":5487,"noattachment":false,"key":"/request-progress/-/request-progress-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/request-progress/download/request-progress-3.0.0.tgz"},"maintainers":[{"name":"satazor","email":"andremiguelcruz@msn.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/request-progress-3.0.0.tgz_1480622408929_0.9601270244456828"},"directories":{},"publish_time":1480622409591,"_cnpm_publish_time":1480622409591,"_hasShrinkwrap":false},"2.0.1":{"name":"request-progress","version":"2.0.1","description":"Tracks the download progress of a request made with mikeal/request, giving insight of various metrics including progress percent, download speed and time remaining","main":"index.js","dependencies":{"throttleit":"^1.0.0"},"devDependencies":{"coveralls":"^2.11.6","expect.js":"^0.3.1","istanbul":"^0.4.1","mocha":"^2.3.4"},"scripts":{"test":"mocha --bail","test-cov":"istanbul cover --dir test/coverage _mocha -- --bail && echo open test/coverage/lcov-report/index.html","test-travis":"istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- --bail && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"},"repository":{"type":"git","url":"git://github.com/IndigoUnited/node-request-progress"},"bugs":{"url":"http://github.com/IndigoUnited/node-request-progress/issues"},"keywords":["progress","request","mikeal","size","bytes","percent","percentage","speed","eta","etr"],"author":{"name":"IndigoUnited","email":"hello@indigounited.com","url":"http://indigounited.com"},"license":"MIT","gitHead":"f009ab876ce80234547bf155fa13b73fadc43edc","homepage":"https://github.com/IndigoUnited/node-request-progress","_id":"request-progress@2.0.1","_shasum":"5d36bb57961c673aa5b788dbc8141fdf23b44e08","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.4","_npmUser":{"name":"satazor","email":"andremiguelcruz@msn.com"},"maintainers":[{"name":"satazor","email":"andremiguelcruz@msn.com"}],"dist":{"shasum":"5d36bb57961c673aa5b788dbc8141fdf23b44e08","size":5509,"noattachment":false,"key":"/request-progress/-/request-progress-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/request-progress/download/request-progress-2.0.1.tgz"},"directories":{},"publish_time":1453300577770,"_cnpm_publish_time":1453300577770,"_hasShrinkwrap":false},"2.0.0":{"name":"request-progress","version":"2.0.0","description":"Tracks the download progress of a request made with mikeal/request, giving insight of various metrics including progress percent, download speed and time remaining","main":"index.js","dependencies":{"throttleit":"^1.0.0"},"devDependencies":{"coveralls":"^2.11.6","expect.js":"^0.3.1","istanbul":"^0.4.1","mocha":"^2.3.4"},"scripts":{"test":"mocha --bail","test-cov":"istanbul cover --dir test/coverage _mocha -- --bail && echo open test/coverage/lcov-report/index.html","test-travis":"istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- --bail && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"},"repository":{"type":"git","url":"git://github.com/IndigoUnited/node-request-progress"},"bugs":{"url":"http://github.com/IndigoUnited/node-request-progress/issues"},"keywords":["progress","request","mikeal","size","bytes","percent","percentage","speed","eta","etr"],"author":{"name":"IndigoUnited","email":"hello@indigounited.com","url":"http://indigounited.com"},"license":"MIT","gitHead":"34c55a56318f9f57b95611edd8a0732d5221d23c","homepage":"https://github.com/IndigoUnited/node-request-progress","_id":"request-progress@2.0.0","_shasum":"3340c210489c6e8a1abaa0b85b099cc29b266219","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.4","_npmUser":{"name":"satazor","email":"andremiguelcruz@msn.com"},"maintainers":[{"name":"satazor","email":"andremiguelcruz@msn.com"}],"dist":{"shasum":"3340c210489c6e8a1abaa0b85b099cc29b266219","size":5500,"noattachment":false,"key":"/request-progress/-/request-progress-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/request-progress/download/request-progress-2.0.0.tgz"},"directories":{},"publish_time":1453300184584,"_cnpm_publish_time":1453300184584,"_hasShrinkwrap":false},"1.0.2":{"name":"request-progress","version":"1.0.2","description":"Tracks the download progress of a request made with mikeal/request, giving insight of various metrics including progress percent, download speed and time remaining","main":"index.js","dependencies":{"throttleit":"^1.0.0"},"devDependencies":{"coveralls":"^2.11.6","expect.js":"^0.3.1","istanbul":"^0.4.1","mocha":"^2.3.4"},"scripts":{"test":"mocha -R spec --bail","test-cov":"istanbul cover --dir test/coverage _mocha -- --bail && echo open test/coverage/lcov-report/index.html","test-travis":"istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- --bail && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"},"repository":{"type":"git","url":"git://github.com/IndigoUnited/node-request-progress.git"},"bugs":{"url":"http://github.com/IndigoUnited/node-request-progress/issues"},"keywords":["progress","request","mikeal","size","bytes","percent","percentage","speed","eta","etr"],"author":{"name":"IndigoUnited","email":"hello@indigounited.com","url":"http://indigounited.com"},"license":"MIT","gitHead":"c1dce072d8877718f3b24a6b2973e2bc56201032","homepage":"https://github.com/IndigoUnited/node-request-progress#readme","_id":"request-progress@1.0.2","_shasum":"5d406f081309df61b4a8aa83cd5734df63f18bf5","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.3","_npmUser":{"name":"satazor","email":"andremiguelcruz@msn.com"},"maintainers":[{"name":"satazor","email":"andremiguelcruz@msn.com"}],"dist":{"shasum":"5d406f081309df61b4a8aa83cd5734df63f18bf5","size":5529,"noattachment":false,"key":"/request-progress/-/request-progress-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/request-progress/download/request-progress-1.0.2.tgz"},"directories":{},"publish_time":1451941200545,"_cnpm_publish_time":1451941200545,"_hasShrinkwrap":false},"1.0.1":{"name":"request-progress","version":"1.0.1","description":"Tracks the download progress of a request made with mikeal/request, giving insight of various metrics including progress percent, download speed and time remaining","main":"index.js","dependencies":{"throttleit":"^1.0.0"},"devDependencies":{"coveralls":"^2.11.6","expect.js":"^0.3.1","istanbul":"^0.4.1","mocha":"^2.3.4"},"scripts":{"test":"mocha -R spec --bail","test-cov":"istanbul cover --dir test/coverage _mocha -- --bail && echo open test/coverage/lcov-report/index.html","test-travis":"istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- --bail && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"},"repository":{"type":"git","url":"git://github.com/IndigoUnited/node-request-progress.git"},"bugs":{"url":"http://github.com/IndigoUnited/node-request-progress/issues"},"keywords":["progress","request","mikeal","size","bytes","percent","percentage","speed","eta","etr"],"author":{"name":"IndigoUnited","email":"hello@indigounited.com","url":"http://indigounited.com"},"license":"MIT","gitHead":"e3680736b5eb6c27762f6eeadfd2581fbb78d2fe","homepage":"https://github.com/IndigoUnited/node-request-progress#readme","_id":"request-progress@1.0.1","_shasum":"7bfec96c7eeee7d6718a59abe84c7f7e94e8fb66","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.3","_npmUser":{"name":"satazor","email":"andremiguelcruz@msn.com"},"maintainers":[{"name":"satazor","email":"andremiguelcruz@msn.com"}],"dist":{"shasum":"7bfec96c7eeee7d6718a59abe84c7f7e94e8fb66","size":5438,"noattachment":false,"key":"/request-progress/-/request-progress-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/request-progress/download/request-progress-1.0.1.tgz"},"directories":{},"publish_time":1451897786608,"_cnpm_publish_time":1451897786608,"_hasShrinkwrap":false},"1.0.0":{"name":"request-progress","version":"1.0.0","description":"Tracks the download progress of a request made with mikeal/request, giving insight of various metrics including progress percent, download speed and time remaining","main":"index.js","dependencies":{"throttleit":"^1.0.0"},"devDependencies":{"coveralls":"^2.11.6","expect.js":"^0.3.1","istanbul":"^0.4.1","mocha":"^2.3.4"},"scripts":{"test":"mocha -R spec --bail","test-cov":"istanbul cover --dir test/coverage _mocha && echo open test/coverage/lcov-report/index.html","test-travis":"istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- --bail && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"},"repository":{"type":"git","url":"git://github.com/IndigoUnited/node-request-progress.git"},"bugs":{"url":"http://github.com/IndigoUnited/node-request-progress/issues"},"keywords":["progress","request","mikeal","size","bytes","percent","percentage","speed","eta","etr"],"author":{"name":"IndigoUnited","email":"hello@indigounited.com","url":"http://indigounited.com"},"license":"MIT","gitHead":"03f78f4d4272624eac324c0d0c7d9db10c29e463","homepage":"https://github.com/IndigoUnited/node-request-progress#readme","_id":"request-progress@1.0.0","_shasum":"ef640bcbf33c035567581e457962bbaf7bafb5c1","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.3","_npmUser":{"name":"satazor","email":"andremiguelcruz@msn.com"},"maintainers":[{"name":"satazor","email":"andremiguelcruz@msn.com"}],"dist":{"shasum":"ef640bcbf33c035567581e457962bbaf7bafb5c1","size":5431,"noattachment":false,"key":"/request-progress/-/request-progress-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/request-progress/download/request-progress-1.0.0.tgz"},"directories":{},"publish_time":1451877473373,"_cnpm_publish_time":1451877473373,"_hasShrinkwrap":false},"0.4.0":{"name":"request-progress","version":"0.4.0","description":"Tracks the download progress of a request made with mikeal/request","main":"index.js","dependencies":{"node-eta":"^0.1.1","throttleit":"^0.0.2"},"devDependencies":{"mocha":"^1.12.0","expect.js":"^0.2.0"},"scripts":{"test":"mocha -R spec"},"repository":{"type":"git","url":"git://github.com/IndigoUnited/node-request-progress.git"},"bugs":{"url":"http://github.com/IndigoUnited/node-request-progress/issues"},"keywords":["progress","request","mikeal","size","bytes","percent","percentage"],"author":{"name":"IndigoUnited","email":"hello@indigounited.com","url":"http://indigounited.com"},"license":"MIT","gitHead":"e676d906621fceb7f1403915749fc469253640ea","homepage":"https://github.com/IndigoUnited/node-request-progress#readme","_id":"request-progress@0.4.0","_shasum":"c1954e39086aa85269c5660bcee0142a6a70d7e7","_from":".","_npmVersion":"2.13.1","_nodeVersion":"0.12.7","_npmUser":{"name":"satazor","email":"andremiguelcruz@msn.com"},"maintainers":[{"name":"satazor","email":"andremiguelcruz@msn.com"}],"dist":{"shasum":"c1954e39086aa85269c5660bcee0142a6a70d7e7","size":3271,"noattachment":false,"key":"/request-progress/-/request-progress-0.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/request-progress/download/request-progress-0.4.0.tgz"},"directories":{},"publish_time":1448831748118,"_cnpm_publish_time":1448831748118,"_hasShrinkwrap":false},"0.3.1":{"name":"request-progress","version":"0.3.1","description":"Tracks the download progress of a request made with mikeal/request","main":"index.js","dependencies":{"throttleit":"~0.0.2"},"devDependencies":{"mocha":"~1.12.0","expect.js":"~0.2.0"},"scripts":{"test":"mocha -R spec"},"repository":{"type":"git","url":"git://github.com/IndigoUnited/node-request-progress"},"bugs":{"url":"http://github.com/IndigoUnited/node-request-progress/issues"},"keywords":["progress","request","mikeal","size","bytes","percent","percentage"],"author":{"name":"IndigoUnited","email":"hello@indigounited.com","url":"http://indigounited.com"},"license":"MIT","readmeFilename":"README.md","_id":"request-progress@0.3.1","dist":{"shasum":"0721c105d8a96ac6b2ce8b2c89ae2d5ecfcf6b3a","size":3058,"noattachment":false,"key":"/request-progress/-/request-progress-0.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/request-progress/download/request-progress-0.3.1.tgz"},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"satazor","email":"andremiguelcruz@msn.com"},"maintainers":[{"name":"satazor","email":"andremiguelcruz@msn.com"}],"directories":{},"publish_time":1377725802860,"_cnpm_publish_time":1377725802860,"_hasShrinkwrap":false},"0.3.0":{"name":"request-progress","version":"0.3.0","description":"Tracks the download progress of a request made with mikeal/request","main":"index.js","dependencies":{"throttleit":"~0.0.2"},"devDependencies":{"mocha":"~1.12.0","expect.js":"~0.2.0"},"scripts":{"test":"mocha -R spec"},"repository":{"type":"git","url":"git://github.com/IndigoUnited/node-request-progress"},"bugs":{"url":"http://github.com/IndigoUnited/node-request-progress/issues"},"keywords":["progress","request","mikeal","size","bytes","percent","percentage"],"author":{"name":"IndigoUnited","email":"hello@indigounited.com","url":"http://indigounited.com"},"license":"MIT","readmeFilename":"README.md","_id":"request-progress@0.3.0","dist":{"shasum":"bdf2062bfc197c5d492500d44cb3aff7865b492e","size":3051,"noattachment":false,"key":"/request-progress/-/request-progress-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/request-progress/download/request-progress-0.3.0.tgz"},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"satazor","email":"andremiguelcruz@msn.com"},"maintainers":[{"name":"satazor","email":"andremiguelcruz@msn.com"}],"directories":{},"publish_time":1377725460337,"_cnpm_publish_time":1377725460337,"_hasShrinkwrap":false},"0.2.3":{"name":"request-progress","version":"0.2.3","description":"Tracks the download progress of a request made with mikeal/request","main":"index.js","dependencies":{"throttleit":"~0.0.2"},"devDependencies":{"mocha":"~1.12.0","expect.js":"~0.2.0"},"scripts":{"test":"mocha -R spec"},"repository":{"type":"git","url":"git://github.com/IndigoUnited/node-request-progress"},"bugs":{"url":"http://github.com/IndigoUnited/node-request-progress/issues"},"keywords":["progress","request","mikeal","size","bytes","percent","percentage"],"author":{"name":"IndigoUnited","email":"hello@indigounited.com","url":"http://indigounited.com"},"license":"MIT","readmeFilename":"README.md","_id":"request-progress@0.2.3","dist":{"shasum":"5be7088f66642e2739e9058a07cceef0c2868b8b","size":2892,"noattachment":false,"key":"/request-progress/-/request-progress-0.2.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/request-progress/download/request-progress-0.2.3.tgz"},"_from":".","_npmVersion":"1.3.2","_npmUser":{"name":"satazor","email":"andremiguelcruz@msn.com"},"maintainers":[{"name":"satazor","email":"andremiguelcruz@msn.com"}],"directories":{},"publish_time":1375362032105,"_cnpm_publish_time":1375362032105,"_hasShrinkwrap":false},"0.2.2":{"name":"request-progress","version":"0.2.2","description":"Tracks the download progress of a request made with mikeal/request","main":"index.js","dependencies":{"throttleit":"~0.0.2"},"devDependencies":{"mocha":"~1.12.0","expect.js":"~0.2.0"},"scripts":{"test":"mocha -R spec"},"repository":{"type":"git","url":"git://github.com/IndigoUnited/node-request-progress"},"bugs":{"url":"http://github.com/IndigoUnited/node-request-progress/issues"},"keywords":["progress","request","mikeal","size","bytes","percent","percentage"],"author":{"name":"IndigoUnited","email":"hello@indigounited.com","url":"http://indigounited.com"},"license":"MIT","readmeFilename":"README.md","_id":"request-progress@0.2.2","dist":{"shasum":"72dab596274ddef4b62f01dc5248eba590ffedb8","size":2888,"noattachment":false,"key":"/request-progress/-/request-progress-0.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/request-progress/download/request-progress-0.2.2.tgz"},"_from":".","_npmVersion":"1.3.2","_npmUser":{"name":"satazor","email":"andremiguelcruz@msn.com"},"maintainers":[{"name":"satazor","email":"andremiguelcruz@msn.com"}],"directories":{},"publish_time":1375346811390,"_cnpm_publish_time":1375346811390,"_hasShrinkwrap":false},"0.2.1":{"name":"request-progress","version":"0.2.1","description":"Tracks the download progress of a request made with mikeal/request","main":"index.js","dependencies":{"throttleit":"~0.0.2"},"devDependencies":{"mocha":"~1.12.0","expect.js":"~0.2.0"},"scripts":{"test":"mocha -R spec"},"repository":{"type":"git","url":"git://github.com/IndigoUnited/node-request-progress"},"bugs":{"url":"http://github.com/IndigoUnited/node-request-progress/issues"},"keywords":["progress","request","mikeal","size","bytes","percent","percentage"],"author":{"name":"IndigoUnited","email":"hello@indigounited.com","url":"http://indigounited.com"},"license":"MIT","readmeFilename":"README.md","_id":"request-progress@0.2.1","dist":{"shasum":"878c61d62f72ba35f0d4c70b4464c9de2b9eb106","size":2884,"noattachment":false,"key":"/request-progress/-/request-progress-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/request-progress/download/request-progress-0.2.1.tgz"},"_from":".","_npmVersion":"1.3.2","_npmUser":{"name":"satazor","email":"andremiguelcruz@msn.com"},"maintainers":[{"name":"satazor","email":"andremiguelcruz@msn.com"}],"directories":{},"publish_time":1373818118389,"_cnpm_publish_time":1373818118389,"_hasShrinkwrap":false},"0.2.0":{"name":"request-progress","version":"0.2.0","description":"Tracks the download progress of a request made with mikeal/request","main":"index.js","dependencies":{"throttleit":"~0.0.2"},"devDependencies":{"mocha":"~1.12.0","expect.js":"~0.2.0"},"scripts":{"test":"mocha -R spec"},"repository":{"type":"git","url":"git://github.com/IndigoUnited/node-request-progress"},"bugs":{"url":"http://github.com/IndigoUnited/node-request-progress/issues"},"keywords":["progress","request","mikeal","size","bytes","percent","percentage"],"author":{"name":"IndigoUnited","email":"hello@indigounited.com","url":"http://indigounited.com"},"license":"MIT","readmeFilename":"README.md","_id":"request-progress@0.2.0","dist":{"shasum":"f5115288b89bf86e1973717b507f890f93188f1a","size":2842,"noattachment":false,"key":"/request-progress/-/request-progress-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/request-progress/download/request-progress-0.2.0.tgz"},"_from":".","_npmVersion":"1.3.2","_npmUser":{"name":"satazor","email":"andremiguelcruz@msn.com"},"maintainers":[{"name":"satazor","email":"andremiguelcruz@msn.com"}],"directories":{},"publish_time":1373798708990,"_cnpm_publish_time":1373798708990,"_hasShrinkwrap":false},"0.1.1":{"name":"request-progress","version":"0.1.1","description":"Tracks the download progress of a request made with mikeal/request","main":"index.js","dependencies":{"throttleit":"~0.0.2"},"devDependencies":{"mocha":"~1.12.0","expect.js":"~0.2.0"},"scripts":{"test":"mocha -R spec"},"repository":{"type":"git","url":"git://github.com/IndigoUnited/node-request-progress"},"bugs":{"url":"http://github.com/IndigoUnited/node-request-progress/issues"},"keywords":["progress","request","mikeal","size","bytes","percent","percentage"],"author":{"name":"IndigoUnited","email":"hello@indigounited.com","url":"http://indigounited.com"},"license":"MIT","readmeFilename":"README.md","_id":"request-progress@0.1.1","dist":{"shasum":"2a0d13ecb5349aa8151b14bcf8fc50387f8d74b1","size":2851,"noattachment":false,"key":"/request-progress/-/request-progress-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/request-progress/download/request-progress-0.1.1.tgz"},"_from":".","_npmVersion":"1.3.2","_npmUser":{"name":"satazor","email":"andremiguelcruz@msn.com"},"maintainers":[{"name":"satazor","email":"andremiguelcruz@msn.com"}],"directories":{},"publish_time":1373797278314,"_cnpm_publish_time":1373797278314,"_hasShrinkwrap":false},"0.1.0":{"name":"request-progress","version":"0.1.0","description":"Tracks the download progress of a request made with mikeal/request","main":"index.js","dependencies":{"throttleit":"~0.0.2"},"devDependencies":{"mocha":"~1.12.0","expect.js":"~0.2.0"},"scripts":{"test":"mocha -R spec"},"repository":{"type":"git","url":"git://github.com/IndigoUnited/node-request-progress"},"bugs":{"url":"http://github.com/IndigoUnited/node-request-progress/issues"},"keywords":["progress","request","mikeal","size","bytes","percent","percentage"],"author":{"name":"IndigoUnited","email":"hello@indigounited.com","url":"http://indigounited.com"},"license":"MIT","readmeFilename":"README.md","_id":"request-progress@0.1.0","dist":{"shasum":"459d0c873ca678ce6d93f8e72d2be880a1e9775a","size":2730,"noattachment":false,"key":"/request-progress/-/request-progress-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/request-progress/download/request-progress-0.1.0.tgz"},"_from":".","_npmVersion":"1.3.2","_npmUser":{"name":"satazor","email":"andremiguelcruz@msn.com"},"maintainers":[{"name":"satazor","email":"andremiguelcruz@msn.com"}],"directories":{},"publish_time":1373794438434,"_cnpm_publish_time":1373794438434,"_hasShrinkwrap":false}},"readme":"# request-progress\n\n[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Coverage Status][coveralls-image]][coveralls-url] [![Dependency status][david-dm-image]][david-dm-url] [![Dev Dependency status][david-dm-dev-image]][david-dm-dev-url]\n\n[npm-url]:https://npmjs.org/package/request-progress\n[downloads-image]:http://img.shields.io/npm/dm/request-progress.svg\n[npm-image]:http://img.shields.io/npm/v/request-progress.svg\n[travis-url]:https://travis-ci.org/IndigoUnited/node-request-progress\n[travis-image]:http://img.shields.io/travis/IndigoUnited/node-request-progress/master.svg\n[coveralls-url]:https://coveralls.io/r/IndigoUnited/node-request-progress\n[coveralls-image]:https://img.shields.io/coveralls/IndigoUnited/node-request-progress/master.svg\n[david-dm-url]:https://david-dm.org/IndigoUnited/node-request-progress\n[david-dm-image]:https://img.shields.io/david/IndigoUnited/node-request-progress.svg\n[david-dm-dev-url]:https://david-dm.org/IndigoUnited/node-request-progress#info=devDependencies\n[david-dm-dev-image]:https://img.shields.io/david/dev/IndigoUnited/node-request-progress.svg\n\nTracks the download progress of a request made with [request](https://github.com/mikeal/request), giving insight of various metrics including progress percentage, download speed and time remaining.\n\n\n## Installation\n\n`$ npm install request-progress`\n\n\n## Usage\n\n```js\nvar fs = require('fs');\nvar request = require('request');\nvar progress = require('request-progress');\n\n// The options argument is optional so you can omit it\nprogress(request('https://az412801.vo.msecnd.net/vhd/VMBuild_20141027/VirtualBox/IE11/Windows/IE11.Win8.1.For.Windows.VirtualBox.zip'), {\n    // throttle: 2000,                    // Throttle the progress event to 2000ms, defaults to 1000ms\n    // delay: 1000,                       // Only start to emit after 1000ms delay, defaults to 0ms\n    // lengthHeader: 'x-transfer-length'  // Length header to use, defaults to content-length\n})\n.on('progress', function (state) {\n    // The state is an object that looks like this:\n    // {\n    //     percent: 0.5,               // Overall percent (between 0 to 1)\n    //     speed: 554732,              // The download speed in bytes/sec\n    //     size: {\n    //         total: 90044871,        // The total payload size in bytes\n    //         transferred: 27610959   // The transferred payload size in bytes\n    //     },\n    //     time: {\n    //         elapsed: 36.235,        // The total elapsed seconds since the start (3 decimals)\n    //         remaining: 81.403       // The remaining seconds to finish (3 decimals)\n    //     }\n    // }\n    console.log('progress', state);\n})\n.on('error', function (err) {\n    // Do something with err\n})\n.on('end', function () {\n    // Do something after request finishes\n})\n.pipe(fs.createWriteStream('IE11.Win8.1.For.Windows.VirtualBox.zip'));\n```\n\nIf the request's response does not include the `content-length` header, the values of some metrics will be `null`.\nAlso `speed` and `time.remaining` will be `null` until it can be calculated.\n\nThe `state` object emitted in the `progress` event is reused to avoid creating a new object for each event.   \nIf you wish to peek the `state` object at any time, it is available in `request.progressState`.\n\n\n## Tests\n\n`$ npm test`   \n`$ npm test-cov` to get coverage report\n\n\n## License\n\nReleased under the [MIT License](http://www.opensource.org/licenses/mit-license.php).\n","_attachments":{},"homepage":"https://github.com/IndigoUnited/node-request-progress#readme","bugs":{"url":"http://github.com/IndigoUnited/node-request-progress/issues"},"license":"MIT"}