{"_id":"progbar","_rev":"4251757","name":"progbar","description":"terminal progress bar","dist-tags":{"latest":"1.2.1"},"maintainers":[{"name":"arekinath","email":"alex@cooperi.net"},{"name":"bahamas10","email":""},{"name":"bahamat","email":""},{"name":"dap","email":""},{"name":"jclulow","email":"josh@sysmgr.org"},{"name":"kebesays","email":""},{"name":"kusor","email":""},{"name":"melloc","email":""},{"name":"michael.hicks","email":"michael.hicks@joyent.com"},{"name":"todd.whiteman","email":"todd.whiteman@joyent.com"},{"name":"tpaul","email":""},{"name":"trentm","email":""}],"time":{"modified":"2026-03-31T23:46:31.000Z","created":"2013-05-11T09:11:19.055Z","1.2.1":"2018-08-29T18:07:07.772Z","1.2.0":"2017-04-12T17:24:15.300Z","1.1.1":"2016-09-21T01:40:30.233Z","1.1.0":"2015-01-10T19:36:45.229Z","1.0.0":"2014-08-15T22:39:11.221Z","0.1.0":"2013-12-19T21:48:54.773Z","0.0.3":"2013-12-19T19:52:56.194Z","0.0.2":"2013-05-30T19:09:43.323Z","0.0.1":"2013-05-11T09:11:19.055Z"},"users":{},"author":{"name":"Joshua M. Clulow","email":"jmc@joyent.com"},"repository":{"type":"git","url":"git+https://github.com/joyent/node-progbar.git"},"versions":{"1.2.1":{"name":"progbar","author":{"name":"Joshua M. Clulow","email":"jmc@joyent.com"},"version":"1.2.1","description":"terminal progress bar","main":"./lib/progbar.js","contributors":[{"name":"Trent Mick","email":"trentm@gmail.com"}],"repository":{"type":"git","url":"git+https://github.com/joyent/node-progbar.git"},"dependencies":{"assert-plus":"^1.0.0","extsprintf":"^1.4.0","readable-stream":"~1.0.27-1"},"devDependencies":{"jshint":"^2.7.0"},"keywords":["progress","bar","terminal","console","cli"],"gitHead":"9db6bd4ddc288397b30720ab37f989e7b92b30c6","bugs":{"url":"https://github.com/joyent/node-progbar/issues"},"homepage":"https://github.com/joyent/node-progbar#readme","_id":"progbar@1.2.1","_npmVersion":"6.4.0","_nodeVersion":"8.9.3","_npmUser":{"name":"bahamas10","email":"dave@daveeddy.com"},"dist":{"shasum":"43a8586b7a2d05079bae8e0c845b57276772d258","size":6085,"noattachment":false,"key":"/progbar/-/progbar-1.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/progbar/download/progbar-1.2.1.tgz"},"maintainers":[{"name":"arekinath","email":"alex@cooperi.net"},{"name":"bahamas10","email":""},{"name":"bahamat","email":""},{"name":"dap","email":""},{"name":"jclulow","email":"josh@sysmgr.org"},{"name":"kebesays","email":""},{"name":"kusor","email":""},{"name":"melloc","email":""},{"name":"michael.hicks","email":"michael.hicks@joyent.com"},{"name":"todd.whiteman","email":"todd.whiteman@joyent.com"},{"name":"tpaul","email":""},{"name":"trentm","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/progbar_1.2.1_1535566027659_0.5871836768511267"},"_hasShrinkwrap":false,"publish_time":1535566027772,"_cnpm_publish_time":1535566027772,"_cnpmcore_publish_time":"2021-12-16T23:06:46.608Z"},"1.2.0":{"name":"progbar","author":{"name":"Joshua M. Clulow","email":"jmc@joyent.com"},"version":"1.2.0","description":"terminal progress bar","main":"./lib/progbar.js","contributors":[{"name":"Trent Mick","email":"trentm@gmail.com"}],"repository":{"type":"git","url":"git+https://github.com/joyent/node-progbar.git"},"dependencies":{"assert-plus":"~0.1.5","sprintf":"~0.1.3","readable-stream":"~1.0.27-1"},"devDependencies":{"jshint":"^2.7.0"},"keywords":["progress","bar","terminal","console","cli"],"gitHead":"f24ce58f9328fd55465bdbb4794c9ad28e15e309","bugs":{"url":"https://github.com/joyent/node-progbar/issues"},"homepage":"https://github.com/joyent/node-progbar#readme","_id":"progbar@1.2.0","scripts":{},"_shasum":"6c2ef2de0d8345289cc68425c55523de09247d5c","_from":".","_npmVersion":"2.15.9","_nodeVersion":"4.6.0","_npmUser":{"name":"jclulow","email":"josh@sysmgr.org"},"maintainers":[{"name":"arekinath","email":"alex@cooperi.net"},{"name":"bahamas10","email":""},{"name":"bahamat","email":""},{"name":"dap","email":""},{"name":"jclulow","email":"josh@sysmgr.org"},{"name":"kebesays","email":""},{"name":"kusor","email":""},{"name":"melloc","email":""},{"name":"michael.hicks","email":"michael.hicks@joyent.com"},{"name":"todd.whiteman","email":"todd.whiteman@joyent.com"},{"name":"tpaul","email":""},{"name":"trentm","email":""}],"dist":{"shasum":"6c2ef2de0d8345289cc68425c55523de09247d5c","size":6193,"noattachment":false,"key":"/progbar/-/progbar-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/progbar/download/progbar-1.2.0.tgz"},"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/progbar-1.2.0.tgz_1492017853227_0.8569903816096485"},"directories":{},"publish_time":1492017855300,"_hasShrinkwrap":false,"_cnpm_publish_time":1492017855300,"_cnpmcore_publish_time":"2021-12-16T23:06:46.822Z"},"1.1.1":{"name":"progbar","author":{"name":"Joshua M. Clulow","email":"jmc@joyent.com"},"version":"1.1.1","description":"terminal progress bar","main":"./lib/progbar.js","contributors":[{"name":"Trent Mick","email":"trentm@gmail.com"}],"repository":{"type":"git","url":"git://github.com/jclulow/node-progbar.git"},"dependencies":{"assert-plus":"~0.1.5","sprintf":"~0.1.3","readable-stream":"~1.0.27-1"},"keywords":["progress","bar","terminal","console","cli"],"gitHead":"60bd8a68b8ab17cd0feecfd165b5220a5461dc99","bugs":{"url":"https://github.com/jclulow/node-progbar/issues"},"homepage":"https://github.com/jclulow/node-progbar#readme","_id":"progbar@1.1.1","scripts":{},"_shasum":"832e3f71d72521460f6afbc37cfeb937243cdc13","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"jclulow","email":"josh@sysmgr.org"},"maintainers":[{"name":"arekinath","email":"alex@cooperi.net"},{"name":"bahamas10","email":""},{"name":"bahamat","email":""},{"name":"dap","email":""},{"name":"jclulow","email":"josh@sysmgr.org"},{"name":"kebesays","email":""},{"name":"kusor","email":""},{"name":"melloc","email":""},{"name":"michael.hicks","email":"michael.hicks@joyent.com"},{"name":"todd.whiteman","email":"todd.whiteman@joyent.com"},{"name":"tpaul","email":""},{"name":"trentm","email":""}],"dist":{"shasum":"832e3f71d72521460f6afbc37cfeb937243cdc13","size":6837,"noattachment":false,"key":"/progbar/-/progbar-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/progbar/download/progbar-1.1.1.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/progbar-1.1.1.tgz_1474422029990_0.37190719810314476"},"directories":{},"publish_time":1474422030233,"_hasShrinkwrap":false,"_cnpm_publish_time":1474422030233,"_cnpmcore_publish_time":"2021-12-16T23:06:47.061Z"},"1.1.0":{"name":"progbar","author":{"name":"Joshua M. Clulow","email":"jmc@joyent.com"},"version":"1.1.0","description":"terminal progress bar","main":"./lib/progbar.js","contributors":[{"name":"Trent Mick","email":"trentm@gmail.com"}],"repository":{"type":"git","url":"git://github.com/jclulow/node-progbar.git"},"dependencies":{"assert-plus":"~0.1.5","sprintf":"~0.1.3","readable-stream":"~1.0.27-1"},"keywords":["progress","bar","terminal","console","cli"],"bugs":{"url":"https://github.com/jclulow/node-progbar/issues"},"homepage":"https://github.com/jclulow/node-progbar","_id":"progbar@1.1.0","dist":{"shasum":"b2852f5bfab32894a7492848113bae9827c02ab3","size":6648,"noattachment":false,"key":"/progbar/-/progbar-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/progbar/download/progbar-1.1.0.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"jclulow","email":"josh@sysmgr.org"},"maintainers":[{"name":"arekinath","email":"alex@cooperi.net"},{"name":"bahamas10","email":""},{"name":"bahamat","email":""},{"name":"dap","email":""},{"name":"jclulow","email":"josh@sysmgr.org"},{"name":"kebesays","email":""},{"name":"kusor","email":""},{"name":"melloc","email":""},{"name":"michael.hicks","email":"michael.hicks@joyent.com"},{"name":"todd.whiteman","email":"todd.whiteman@joyent.com"},{"name":"tpaul","email":""},{"name":"trentm","email":""}],"directories":{},"publish_time":1420918605229,"_hasShrinkwrap":false,"_cnpm_publish_time":1420918605229,"_cnpmcore_publish_time":"2021-12-16T23:06:47.273Z"},"1.0.0":{"name":"progbar","author":{"name":"Joshua M. Clulow","email":"jmc@joyent.com"},"version":"1.0.0","description":"terminal progress bar","main":"./lib/progbar.js","repository":{"type":"git","url":"git://github.com/jclulow/node-progbar.git"},"dependencies":{"assert-plus":"~0.1.5","sprintf":"~0.1.3","readable-stream":"~1.0.27-1"},"keywords":["progress","bar","terminal","console","cli"],"bugs":{"url":"https://github.com/jclulow/node-progbar/issues"},"homepage":"https://github.com/jclulow/node-progbar","_id":"progbar@1.0.0","_shasum":"1a3c8a5d9555d39693401ee4baeb5832cabfcd62","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"jclulow","email":"josh@sysmgr.org"},"maintainers":[{"name":"arekinath","email":"alex@cooperi.net"},{"name":"bahamas10","email":""},{"name":"bahamat","email":""},{"name":"dap","email":""},{"name":"jclulow","email":"josh@sysmgr.org"},{"name":"kebesays","email":""},{"name":"kusor","email":""},{"name":"melloc","email":""},{"name":"michael.hicks","email":"michael.hicks@joyent.com"},{"name":"todd.whiteman","email":"todd.whiteman@joyent.com"},{"name":"tpaul","email":""},{"name":"trentm","email":""}],"dist":{"shasum":"1a3c8a5d9555d39693401ee4baeb5832cabfcd62","size":6594,"noattachment":false,"key":"/progbar/-/progbar-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/progbar/download/progbar-1.0.0.tgz"},"directories":{},"publish_time":1408142351221,"_hasShrinkwrap":false,"_cnpm_publish_time":1408142351221,"_cnpmcore_publish_time":"2021-12-16T23:06:47.545Z"},"0.1.0":{"name":"progbar","author":{"name":"Joshua M. Clulow","email":"jmc@joyent.com"},"version":"0.1.0","description":"terminal progress bar","main":"./lib/progbar.js","repository":{"type":"git","url":"git://github.com/jclulow/node-progbar.git"},"dependencies":{"assert-plus":"~0.1.5","sprintf":"~0.1.3"},"keywords":["progress","bar","terminal","console","cli"],"readmeFilename":"README.md","bugs":{"url":"https://github.com/jclulow/node-progbar/issues"},"_id":"progbar@0.1.0","dist":{"shasum":"16e17cda4bd50efe893411e4de26508b642e3b83","size":5832,"noattachment":false,"key":"/progbar/-/progbar-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/progbar/download/progbar-0.1.0.tgz"},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"jclulow","email":"josh@sysmgr.org"},"maintainers":[{"name":"arekinath","email":"alex@cooperi.net"},{"name":"bahamas10","email":""},{"name":"bahamat","email":""},{"name":"dap","email":""},{"name":"jclulow","email":"josh@sysmgr.org"},{"name":"kebesays","email":""},{"name":"kusor","email":""},{"name":"melloc","email":""},{"name":"michael.hicks","email":"michael.hicks@joyent.com"},{"name":"todd.whiteman","email":"todd.whiteman@joyent.com"},{"name":"tpaul","email":""},{"name":"trentm","email":""}],"directories":{},"publish_time":1387489734773,"_hasShrinkwrap":false,"_cnpm_publish_time":1387489734773,"_cnpmcore_publish_time":"2021-12-16T23:06:47.782Z"},"0.0.3":{"name":"progbar","author":{"name":"Joshua M. Clulow","email":"jmc@joyent.com"},"version":"0.0.3","description":"terminal progress bar","main":"./lib/progbar.js","repository":{"type":"git","url":"git://github.com/jclulow/node-progbar.git"},"dependencies":{"assert-plus":"0.1.2","sprintf":"0.1.1"},"keywords":["progress","bar","terminal","console","cli"],"readmeFilename":"README.md","bugs":{"url":"https://github.com/jclulow/node-progbar/issues"},"_id":"progbar@0.0.3","dist":{"shasum":"353bd8c195c6489fe9da7f980abc7d87755a65e7","size":4557,"noattachment":false,"key":"/progbar/-/progbar-0.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/progbar/download/progbar-0.0.3.tgz"},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"jclulow","email":"josh@sysmgr.org"},"maintainers":[{"name":"arekinath","email":"alex@cooperi.net"},{"name":"bahamas10","email":""},{"name":"bahamat","email":""},{"name":"dap","email":""},{"name":"jclulow","email":"josh@sysmgr.org"},{"name":"kebesays","email":""},{"name":"kusor","email":""},{"name":"melloc","email":""},{"name":"michael.hicks","email":"michael.hicks@joyent.com"},{"name":"todd.whiteman","email":"todd.whiteman@joyent.com"},{"name":"tpaul","email":""},{"name":"trentm","email":""}],"directories":{},"publish_time":1387482776194,"_hasShrinkwrap":false,"_cnpm_publish_time":1387482776194,"_cnpmcore_publish_time":"2021-12-16T23:06:48.022Z"},"0.0.2":{"name":"progbar","author":{"name":"Joshua M. Clulow","email":"jmc@joyent.com"},"version":"0.0.2","description":"terminal progress bar","main":"./lib/progbar.js","repository":{"type":"git","url":"git://github.com/jclulow/node-progbar.git"},"dependencies":{"assert-plus":"0.1.2","sprintf":"0.1.1"},"readmeFilename":"README.md","bugs":{"url":"https://github.com/jclulow/node-progbar/issues"},"_id":"progbar@0.0.2","dist":{"shasum":"2b8d2a57016f69d31925a81ccf1690d283278ff9","size":4530,"noattachment":false,"key":"/progbar/-/progbar-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/progbar/download/progbar-0.0.2.tgz"},"_from":".","_npmVersion":"1.2.23","_npmUser":{"name":"jclulow","email":"josh@sysmgr.org"},"maintainers":[{"name":"arekinath","email":"alex@cooperi.net"},{"name":"bahamas10","email":""},{"name":"bahamat","email":""},{"name":"dap","email":""},{"name":"jclulow","email":"josh@sysmgr.org"},{"name":"kebesays","email":""},{"name":"kusor","email":""},{"name":"melloc","email":""},{"name":"michael.hicks","email":"michael.hicks@joyent.com"},{"name":"todd.whiteman","email":"todd.whiteman@joyent.com"},{"name":"tpaul","email":""},{"name":"trentm","email":""}],"directories":{},"publish_time":1369940983323,"_hasShrinkwrap":false,"_cnpm_publish_time":1369940983323,"_cnpmcore_publish_time":"2021-12-16T23:06:48.297Z"},"0.0.1":{"name":"progbar","author":{"name":"Joshua M. Clulow","email":"jmc@joyent.com"},"version":"0.0.1","description":"terminal progress bar","main":"./lib/progbar.js","repository":{"type":"git","url":"git://github.com/jclulow/node-progbar.git"},"dependencies":{"assert-plus":"0.1.2","sprintf":"0.1.1"},"_id":"progbar@0.0.1","dist":{"shasum":"b62edb8619426174f53108d671b23cc9241ed609","size":3905,"noattachment":false,"key":"/progbar/-/progbar-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/progbar/download/progbar-0.0.1.tgz"},"maintainers":[{"name":"arekinath","email":"alex@cooperi.net"},{"name":"bahamas10","email":""},{"name":"bahamat","email":""},{"name":"dap","email":""},{"name":"jclulow","email":"josh@sysmgr.org"},{"name":"kebesays","email":""},{"name":"kusor","email":""},{"name":"melloc","email":""},{"name":"michael.hicks","email":"michael.hicks@joyent.com"},{"name":"todd.whiteman","email":"todd.whiteman@joyent.com"},{"name":"tpaul","email":""},{"name":"trentm","email":""}],"directories":{},"publish_time":1368263479055,"_hasShrinkwrap":false,"_cnpm_publish_time":1368263479055,"_cnpmcore_publish_time":"2021-12-16T23:06:48.590Z"}},"readme":"# node-progbar\n\n`node-progbar` is a library for drawing progress bars in `xterm`-like (or\nhopefully any somewhat *ECMA-48*-compatible) terminals.\n\n## Usage\n\n```javascript\nvar mod_progbar = require('progbar');\n\n/*\n * Instantiate the ProgressBar class, like so.  This instance\n * represents a single transfer operation, and will draw one\n * final status report when the transfer is deemed over.\n *\n * NB: you may also set 'nosize' to true, instead of passing\n *     'size', if you do not know the length of the stream\n *     in advance.\n */\nvar bar = new mod_progbar.ProgressBar({\n\tfilename: 'whatever.zip', // filename to display\n\tsize: 10048               // filesize in bytes\n});\n\n/*\n * Usually, you would use the progress bar in Stream data\n * events, like so:\n */\nstream.on('data', function (data) {\n\tbar.advance(data.length);\n});\nstream.on('end', function (data) {\n\tbar.end();\n});\n\n/*\n * You may also use the stream() method to get a passthrough stream\n * that you may pipe your data through.  The bar will advance with\n * the passage of bytes through the stream, and end() will be called\n * at the end of the stream.\n */\ninput_stream.pipe(bar.stream()).pipe(output_stream);\n```\n","_attachments":{},"homepage":"https://github.com/joyent/node-progbar#readme","bugs":{"url":"https://github.com/joyent/node-progbar/issues"}}