{"_id":"multimeter","_rev":"20-f53bc2cdc9847f73f6627a5bdec0cbd7","name":"multimeter","description":"render multiple progress bars at once on the terminal","dist-tags":{"latest":"0.1.1"},"versions":{"0.0.0":{"name":"multimeter","version":"0.0.0","description":"render multiple progress bars at once on the terminal","main":"index.js","directories":{"lib":".","example":"example","test":"test"},"dependencies":{"charm":">=0.0.4 <0.1"},"repository":{"type":"git","url":"git://github.com/substack/node-multimeter.git"},"keywords":["progress","bar","status","meter","terminal","console","ansi"],"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"license":"MIT/X11","engine":{"node":">=0.4"},"_id":"multimeter@0.0.0","devDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.10","_nodeVersion":"v0.5.0-pre","_defaultsLoaded":true,"dist":{"shasum":"957ee16fec2c193d65bdcb8e2c72f8b4391d82f3","tarball":"https://registry.npmjs.org/multimeter/-/multimeter-0.0.0.tgz","integrity":"sha512-h2yIpH8YNOUfCbSM4JFWK3jFqM0l8Cl8ACs1jqq8ujp92cNPynkpLO+OjRhvtPJkah9k8d6LSbntEJpDCMTjmw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHFi+UL6bYKoDNFiZqucKmV/YQOSjWg1iaUYYkHvbbMvAiBD3/hbstIvwMBb8QOwobXSzOUqlvkCfCCYSKfZkdvAmw=="}]},"scripts":{},"maintainers":[{"name":"substack","email":"mail@substack.net"}]},"0.0.1":{"name":"multimeter","version":"0.0.1","description":"render multiple progress bars at once on the terminal","main":"index.js","directories":{"lib":".","example":"example","test":"test"},"dependencies":{"charm":">=0.0.4 <0.1"},"repository":{"type":"git","url":"git://github.com/substack/node-multimeter.git"},"keywords":["progress","bar","status","meter","terminal","console","ansi"],"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"license":"MIT/X11","engine":{"node":">=0.4"},"_id":"multimeter@0.0.1","devDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.10","_nodeVersion":"v0.5.0-pre","_defaultsLoaded":true,"dist":{"shasum":"aed83ada982b4ede6faaa297c2b70c2f21bf4fa3","tarball":"https://registry.npmjs.org/multimeter/-/multimeter-0.0.1.tgz","integrity":"sha512-Sau+5y3sVl9h1QgWimUM0sI1BsfQzJg3bGns+fRhXGf4boPCXoEfMgXf8PQOZq4GkAfiMDMod7MgSjChBnCqqw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB9GsKRoTS9rQHsP+a/G+R0fBkKXmNVTXcqC3lwHer0XAiBaQzQvw/n+m3SeivMR1UeJKTGpQ5YLvdYTXcPHGotI+w=="}]},"scripts":{},"maintainers":[{"name":"substack","email":"mail@substack.net"}]},"0.1.0":{"name":"multimeter","version":"0.1.0","description":"render multiple progress bars at once on the terminal","main":"index.js","directories":{"lib":".","example":"example","test":"test"},"dependencies":{"charm":">=0.0.5 <0.1"},"repository":{"type":"git","url":"git://github.com/substack/node-multimeter.git"},"keywords":["progress","bar","status","meter","terminal","console","ansi"],"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"license":"MIT/X11","engine":{"node":">=0.4"},"_id":"multimeter@0.1.0","devDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.10","_nodeVersion":"v0.5.0-pre","_defaultsLoaded":true,"dist":{"shasum":"26079e413977da6ca58eeefe9c0df4e895f7c8bf","tarball":"https://registry.npmjs.org/multimeter/-/multimeter-0.1.0.tgz","integrity":"sha512-5Xfdn/q8mOin/MLmVBofHdKMb6gaPGBkGdlHkbEJGP1At0aJ20+iE7OmTagcAVGxUcHAEByCfkFFBvcZTWnl5Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFD0suwLZuIg+F9xCWbPrhpM8lbtMWc4/Ulf2lqu1nk+AiBCseIVUoxD9zaOXVBK3Uj7Mse2p2r9Yd2R442dovENiA=="}]},"scripts":{},"maintainers":[{"name":"substack","email":"mail@substack.net"}]},"0.1.1":{"name":"multimeter","version":"0.1.1","description":"render multiple progress bars at once on the terminal","main":"index.js","directories":{"lib":".","example":"example","test":"test"},"dependencies":{"charm":"~0.1.1"},"repository":{"type":"git","url":"http://github.com/substack/node-multimeter.git"},"keywords":["progress","bar","status","meter","terminal","console","ansi"],"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"license":"MIT/X11","engine":{"node":">=0.4"},"readme":"multimeter\n==========\n\nControl multiple ANSI progress bars on the terminal.\n\n![multibar example output](http://substack.net/images/screenshots/multibar.png)\n\n![multimeter](http://substack.net/images/multimeter.png)\n\nexample\n=======\n\n````javascript\nvar multimeter = require('multimeter');\nvar multi = multimeter(process);\n\nmulti.drop(function (bar) {\n    var iv = setInterval(function () {\n        var p = bar.percent();\n        bar.percent(p + 1);\n        \n        if (p >= 100) clearInterval(iv);\n    }, 25);\n});\n````\n\nmethods\n=======\n\nvar multimeter = require('multimeter');\n\nvar multi = multimeter(stream, ...)\n-----------------------------------\n\nCreate a new multimeter handle on the supplied stream/process objects, which\nwill be passed directly to [charm](https://github.com/substack/node-charm).\n\nIf you pass in a charm object that will be used instead of creating a new one.\n\nvar bar = multi(x, y, params)\n-----------------------------\n\nCreate a new progress bar at `(x,y)` with `params` which default to:\n\n* width : 10\n* before : '['\n* after : '] '\n* solid : { background : 'blue', foreground : 'white', text : '|' }\n* empty : { background : null, foreground : null, text : ' ' }\n\nIf `y` is negative or `'-0'` it will be treated as a relative coordinate.\n\nvar bar = multi.rel(x, y, params)\n---------------------------------\n\nCreate a new progress bar at an absolute `x` and relative `y` coordinate with\nrespect to the present `multi.offset`.\n\nmulti.drop(params, cb)\n----------------------\n\nCreate a new progress bar at the present cursor location. The `bar` object will\nbe passed to `cb(bar)` once the cursor location has been determined. \n\nmulti.on(...), multi.removeListener(...), multi.destroy(...), multi.write(...)\n------------------------------------------------------------------------------\n\nCall event emitter functions on the underlying `charm` object.\n\nmulti.offset\n------------\n\nThis getter/setter controls the positioning for relative progress bars.\n\nIncrement this value whenever you write a newline to the stream to prevent the\npending progress bars from drifting down from their original positions.\n\nbar.percent(p, msg=p + ' %')\n----------------------------\n\nUpdate the progress bar to `p` percent, a value between 0 and 100, inclusive.\n\nThe text to the right of the progress bar will be set to `msg`.\n\nbar.ratio(n, d, msg=n + ' / ' + d)\n----------------------------------\n\nUpdate the progress bar with a ratio, `n/d`.\n\nThe text to the right of the progress bar will be set to `msg`.\n\nattributes\n==========\n\nmulti.charm\n-----------\n\nThe [charm](https://github.com/substack/node-charm) object used internally to\ndraw the progress bars.\n\ninstall\n=======\n\nWith [npm](http://npmjs.org) do:\n\n    npm install multimeter\n","readmeFilename":"README.markdown","_id":"multimeter@0.1.1","dist":{"shasum":"f856c80fc3cf0f1d4ad8eb36ad68735e3ed5b3ea","tarball":"https://registry.npmjs.org/multimeter/-/multimeter-0.1.1.tgz","integrity":"sha512-mhogNm7n9i7KdKx4bd+w1rx0yWA05E+8qS04ZnZTvYruQEWaJeneNee+1WetFX1mZM+Ejz6htoSLmoEiwDw/IA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBlrxdz8VGGsRdifzx6W1TLU1Grsx2zs4o/FYgVmTWThAiAA76W5EZohp64E/m9623lVWZYOC0KBL7aBDFUVL87TiA=="}]},"_from":".","_npmVersion":"1.2.2","_npmUser":{"name":"substack","email":"mail@substack.net"},"maintainers":[{"name":"substack","email":"mail@substack.net"}]}},"maintainers":[{"email":"charlie.robbins@gmail.com","name":"indexzero"}],"time":{"modified":"2022-11-08T10:40:04.673Z","created":"2011-08-15T06:19:18.021Z","0.0.0":"2011-08-15T06:19:18.929Z","0.0.1":"2011-08-19T03:15:40.715Z","0.1.0":"2011-08-24T12:19:29.671Z","0.1.1":"2013-02-22T11:28:51.658Z"},"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"repository":{"type":"git","url":"http://github.com/substack/node-multimeter.git"},"users":{"lvivier":true,"humantriangle":true,"pilus":true,"mastayoda":true,"jason0518":true,"chinaqstar":true,"mseminatore":true}}