{"_id":"@motrix/multispinner","_rev":"3-cdec878f766cc89baaaa46f14fbf7136","name":"@motrix/multispinner","dist-tags":{"latest":"0.2.4"},"versions":{"0.2.2":{"name":"@motrix/multispinner","version":"0.2.2","description":"Multiple simultaneous async CLI spinners","main":"index.js","repository":{"type":"git","url":"git+https://github.com/motrixapp/node-multispinner.git"},"scripts":{"test":"mocha","test-ci":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly","cover":"istanbul cover node_modules/mocha/bin/_mocha &> /dev/null && istanbul report text && rm -r ./coverage","dev":"mocha -w -R min","md":"pm2 start pen"},"keywords":["animation","stdout","terminal","cli","update","spinner"],"author":"","license":"MIT","dependencies":{"chalk":"^4.1.0","figures":"^3.2.0","kind-of":"^6.0.3","lodash.clonedeep":"^4.5.0","lodash.merge":"^4.6.2","log-update":"^4.0.0"},"devDependencies":{"chai":"^4.2.0","faker":"^5.1.0","istanbul":"^0.3.22","mocha":"^8.2.1","sinon":"^9.2.2","type-iterator":"^0.1.1"},"gitHead":"318a09dd41acd41eab90ca543f61eff25a12a860","bugs":{"url":"https://github.com/motrixapp/node-multispinner/issues"},"homepage":"https://github.com/motrixapp/node-multispinner#readme","_id":"@motrix/multispinner@0.2.2","_nodeVersion":"12.18.0","_npmVersion":"7.0.15","dist":{"integrity":"sha512-N43p5TdOYg23UY6R0aW+B1Cip5sgkhOYmh1/s4LWY829Cd9vVhrGnexa2mETQZYoAijzwn6XNjaV2xfuh3K7hQ==","shasum":"9e1f4ae6306194928f9eb72ee57e012f6b296f88","tarball":"https://registry.npmjs.org/@motrix/multispinner/-/multispinner-0.2.2.tgz","fileCount":23,"unpackedSize":76380,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf6Zm8CRA9TVsSAnZWagAAb04P/RahhKnKK4EmyXjgQiJP\n8wrbHNOfUupvelJzOt6km6Ieqayf4P6bPIh2GQ51PYj7lE4wDem5/SP9zdEK\nrbMC4eJGqR5+/GEfAzYcCm3p604a5X8SSYU/5Fodg+I8n1YTXl9Bwu2WZFs6\nfUrf9ufxT+tHxMvOmswdCtdGQnNNX5LpUQV20BtPuh7Ci1QyGaV6hB6StcCM\ncm/PSCAtXYFLM64I3gCI/NR0IrZVeLsj2M/8B4F56rOZPsnb9BP8+PMYyTCo\ndQzk1QLQI8k9Sp/u2zdFDshxpC6WEPJSnkZWYdTrGSnw1Fi4wlybCA13WWE9\nWGwV8K32YFSrNg8djmPlSVXvqIoOmV8U95sxqQf+j2KxoturR+ww0VRMfLwJ\nIlonE+/hlA/var/AWrI6KLS/V8AmIL5KQZdsHaiQOGHjkYTrQ3dLgtIrsd0M\nk74S/l5mavu3ysT8YPSvNs96tb9fvzVTx7ArsAwWaCjTCo9pfVm3yKcBs2P8\ne7H0F2UZ/sXF8ZAaQ4Yf/jnmNmy6BMGrMXu3IRjqXde1hFY3576iifgFiw9K\n1qq10rWIV8aGCh2jbCdSNjBiNnTnh/xpUW7uwFRGLo90uAXodcuoLyM/ZJlI\ncftqfb2lt31WBcQ1vZJcM/Ri4nOAi8647dd/VtGzBOmKGkJe8lQjwP8TdZMX\ntm8w\r\n=VYGE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAPrKb2Y8Mq6rr7l7JPE9fwjElb0KWVcQXMu/gmmS6PAAiB78vsWTpF896t9SX2y5jboBkY6Ke9S/T2vn8jaz0rkQQ=="}]},"_npmUser":{"name":"agalwood","email":"agalwood.net@gmail.com"},"directories":{},"maintainers":[{"name":"agalwood","email":"agalwood.net@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/multispinner_0.2.2_1609144763593_0.040438192212227"},"_hasShrinkwrap":false},"0.2.3":{"name":"@motrix/multispinner","version":"0.2.3","description":"Multiple simultaneous async CLI spinners","main":"index.js","repository":{"type":"git","url":"git+https://github.com/motrixapp/node-multispinner.git"},"scripts":{"test":"mocha","test-ci":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly","cover":"istanbul cover node_modules/mocha/bin/_mocha &> /dev/null && istanbul report text && rm -r ./coverage","dev":"mocha -w -R min","md":"pm2 start pen"},"keywords":["animation","stdout","terminal","cli","update","spinner"],"author":"","license":"MIT","dependencies":{"chalk":"^4.1.2","figures":"^3.2.0","kind-of":"^6.0.3","lodash.clonedeep":"^4.5.0","lodash.merge":"^4.6.2","log-update":"^4.0.0"},"devDependencies":{"chai":"^4.3.7","faker":"^5.5.3","istanbul":"^0.3.22","mocha":"^9.2.2","sinon":"^15.0.3","type-iterator":"^0.1.1"},"gitHead":"92e4a00df761100e011c5a07e76fc7a928bb5f5a","bugs":{"url":"https://github.com/motrixapp/node-multispinner/issues"},"homepage":"https://github.com/motrixapp/node-multispinner#readme","_id":"@motrix/multispinner@0.2.3","_nodeVersion":"18.15.0","_npmVersion":"9.5.0","dist":{"integrity":"sha512-OWPS9jK1BajvwuPLgX9h3h3CCwQuQJKXiTflCDwpDY3rqg+8FFzBKd16Zm4pAudHWoj4fo3E3taAAkg4yTmvxw==","shasum":"e600b33f89cbaf09e2734e6eb458e034367a5029","tarball":"https://registry.npmjs.org/@motrix/multispinner/-/multispinner-0.2.3.tgz","fileCount":23,"unpackedSize":76381,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDdM0yFbyhFwGLfTPHuKuKn7Zac8+grzG83sSwcUMepHwIhANCXyXqdzRSn5jnIWmXUFOgEj5qODKkRZtYxbXqBDkun"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkLRtkACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrqKQ//YYDBUdG6L1sqeACjq30fwuHcZeJ9IiWoBCVPxsvCQYBTbmsg\r\nDQluOA0ikwFgKnJcsYNWTcXaBgt6fbTVyd26IVSDeA9xzr74ckPoz4RY85ua\r\nDg3jRzVoMH5Oo4OIXFcICeNrlKbIjMfY2S5KfZmgG0caSKGqrUbLp2IUKVOK\r\niCmRKHf054K1xeEgWpR6zKjXTUkKayQFllf6acVwryqvBDRSWqIEn631dnTl\r\nvKR5+rJ0qa5xLutjNTO99IrmdoQWZLpl/c2C6zHF98AzEppFt3bLeov+x+Zl\r\nV2usZ4AvH7pilsgZhsIfTJ/OnbRBw2EAaN0pH+k9WeYdCKA7VnncWAufPUTr\r\nazbr1RuzNYhSfnqFndmoVe+qfUfLRkWklgBWHTQXmLP7+qe83gCNiB6F1uua\r\nUSOEoc5Nv/pla3zSBlKSBu/5K8ukTJM0EvHWTx24LVfVEp1PgoQH6GNZhUHT\r\nqQyHkND7d3va9+XJ0sMs4EvDIHZnkzT5S29nEzqgCYXwio6WYBbsy2kZPOFm\r\ngppHOgLoPG/NKnnPoCq5/uEmqxBtadLRRuIQ+qMHCJKsgdAJVUII4XNVy1YX\r\nAgQaZMU0J/JARC7IBVZP6SKCwez3pEtaJ75T0yd8JHZdpL0W03LdCCqndEnX\r\nF3M1bocuuMD9fmEgliLf07xMJyv8iKL3dFk=\r\n=h9M6\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"agalwood","email":"agalwood.net@gmail.com"},"directories":{},"maintainers":[{"name":"agalwood","email":"agalwood.net@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/multispinner_0.2.3_1680677731918_0.8397089804900424"},"_hasShrinkwrap":false},"0.2.4":{"name":"@motrix/multispinner","version":"0.2.4","description":"Multiple simultaneous async CLI spinners","main":"index.js","repository":{"type":"git","url":"git+https://github.com/motrixapp/node-multispinner.git"},"scripts":{"test":"mocha","test-ci":"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly","cover":"istanbul cover node_modules/mocha/bin/_mocha &> /dev/null && istanbul report text && rm -r ./coverage","dev":"mocha -w -R min","md":"pm2 start pen"},"keywords":["animation","stdout","terminal","cli","update","spinner"],"author":"","license":"MIT","dependencies":{"chalk":"^4.1.2","figures":"^3.2.0","kind-of":"^6.0.3","lodash.clonedeep":"^4.5.0","lodash.merge":"^4.6.2","log-update":"^4.0.0"},"devDependencies":{"chai":"^4.3.7","faker":"^5.5.3","istanbul":"^0.3.22","mocha":"^9.2.2","sinon":"^15.0.3","type-iterator":"^0.1.1"},"gitHead":"92e4a00df761100e011c5a07e76fc7a928bb5f5a","bugs":{"url":"https://github.com/motrixapp/node-multispinner/issues"},"homepage":"https://github.com/motrixapp/node-multispinner#readme","_id":"@motrix/multispinner@0.2.4","_nodeVersion":"18.15.0","_npmVersion":"9.5.0","dist":{"integrity":"sha512-eOyFraowbsYZCUrtJcyS7u/MpuObk4z8uaiycZvRyAb9U3oqcAGN2dsXGNbSoAtDAaM8VbQK0rFXKv3cDM/CiQ==","shasum":"ca5ad2b723b59696e8243200cbe88d33d7e97924","tarball":"https://registry.npmjs.org/@motrix/multispinner/-/multispinner-0.2.4.tgz","fileCount":23,"unpackedSize":76381,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDF1tAgyeUm54z3sgqnFxaca5Clukj8+9hMpbVRUdKXJgIhAPyV/g3b/vvXyo/3a43PAzKR95/xho4qQGlyxsJRsgev"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkLRuoACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrPUA/9Fd0vl7lMHPywx7v9NvWz73Pc3y7DxSe8FRkKwK2X3ZI8Gshx\r\n5Q6A2L7QTZtNaVl8SP10dSTGcuu5UzXMGQj+8sJ1H2yNFLO3rjWE8H916oQk\r\nwsN4+zvMTyQExoei0S+i4Yxs68ntMXgiOJejONKzauhCveCG/F3vs0Q0M6P4\r\nzqhUxqOM0hQPgCT3Fc43l3X5NcibYLEPHawobUA77/y7MchuU+V4tXFfV9M9\r\nf7+A5YK1dFzugET38ntuJTSR+uHs36NeTcBCtT4h0QY415drLV6RY8pkXGgJ\r\nPmIkmYxR8BY4RnYf1cVsn6VvXih5qYs9L6SvnSImP+B8EDZRPeTV08hjqWgK\r\nVcWLa7osl8kzZJm9zOk/sS7WbnuEGJUW5k3iqMWF7awsbdkm53OSDqOEEhHr\r\nUxK8KbrYxXQWUnwsDXIBxVE0kTFg55FkArwowqi6Pjdi3kW1XxSJ55jMiaC/\r\nCgdca9RRsajgZY7ysa33LLguNVfZXYLdbBy3rEzer0wujmbcwHnAU3CEtM/F\r\nx7GhD4hLw0dhNMO74KAn8phSESguXgSQ9+DECvI14zVUiCC3bOSLApZh2kh/\r\n4K7ouH7JtzzUn2opBBiDRmdGivnqyifWB6D03pyOupProUxt3LoUYNQZQx1E\r\noTBF4wIvk40OiLp+kHd+wGywswpWWljm5zU=\r\n=NDxd\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"agalwood","email":"agalwood.net@gmail.com"},"directories":{},"maintainers":[{"name":"agalwood","email":"agalwood.net@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/multispinner_0.2.4_1680677800114_0.07407474528991953"},"_hasShrinkwrap":false}},"time":{"created":"2020-12-28T08:39:23.389Z","0.2.2":"2020-12-28T08:39:23.776Z","modified":"2023-04-05T06:56:40.461Z","0.2.3":"2023-04-05T06:55:32.091Z","0.2.4":"2023-04-05T06:56:40.344Z"},"maintainers":[{"name":"agalwood","email":"agalwood.net@gmail.com"}],"description":"Multiple simultaneous async CLI spinners","homepage":"https://github.com/motrixapp/node-multispinner#readme","keywords":["animation","stdout","terminal","cli","update","spinner"],"repository":{"type":"git","url":"git+https://github.com/motrixapp/node-multispinner.git"},"bugs":{"url":"https://github.com/motrixapp/node-multispinner/issues"},"license":"MIT","readme":"![node-multispinner](https://raw.githubusercontent.com/codekirei/node-multispinner/master/extras/multispinner.gif)\n---\n[![Build Status][1]][2]\n[![Coverage Status][3]][4]\n\n<b>[About](#about)</b> | \n<b>[Installation](#installation)</b> | \n<b>[API](#api)</b> | \n<b>[Examples](#examples)</b> | \n<b>[Attribution](#attribution)</b> | \n<b>[License](#license)</b>\n\n## About\n\n`node-multispinner` is a [Node.js](https://nodejs.org/) module for managing multiple progress indicators (spinners) in CLI apps.\nThis module is especially useful for apps that benefit from simultaneous async task execution (e.g. with `Promise.all[]`), as it enables live updating individual spinners, in any order, while other spinners continue spinning.\nNode.js 4.0 or newer is required.\n\n![demo-gif](https://raw.githubusercontent.com/codekirei/node-multispinner/master/extras/demo.gif)\n\n## Installation\n\nInstall and require as a standard Node module.\n\n**Install**\n\n```\n  $ npm install --save multispinner\n```\n\n**Require**\n\n```js\n  var Multispinner = require('multispinner')\n```\n\n## API\n\nFull documentation available [here](https://github.com/codekirei/node-multispinner/blob/master/extras/api.md).\n\n## Examples\n\nThe examples discussed below can be found [here](https://github.com/codekirei/node-multispinner/tree/master/extras/examples).\nRun them in a terminal with node:\n\n```\n$ node <example>\n```\n\n**Example:** `events.js`\n\nCreates four spinners from an array, then completes them in succession with staggered `setTimeout` functions.\nResponds to the `success` and `err` completion events.\n\n**Example:** `customAnimation.js`\n\nCreates a custom spinner animation with the `frames` option.\n\n**Example:** `randomInfiniteLoop.js`\n\nCreates three to seven spinners with random lorem text and completes them randomly in less than five seconds in an infinite loop.\nStubs out the `logUpdate.done()` function to overwrite the previous output with every loop.\n\nIt's kind of mesmerising.\n\n**Example:** `cli-with-promises`\n\nA CLI application that reads URLs and parses HTML into text to display in a terminal.\nUses [meow](https://github.com/sindresorhus/meow) for CLI support, [html-to-text](https://github.com/werk85/node-html-to-text) for parsing, and [axios](https://github.com/mzabriskie/axios) for Promise-based HTTP requests.\nCreates spinners for each URL, and uses `Promise.all()` to execute the GET requests in parallel.\n\nThere are certainly edge cases that this example doesn't account for; it is not meant to be a \"real\" application.\nDespite that, the code should be illustrative of how `node-multispinner` could potentially be used in a real application.\n\nThis example is unique in that it requires modules not used in `node-multispinner`.\nBefore running it, `cd` into its directory and install the additional requirements from its `package.json` with `npm install`.\n\n## Attribution\n\nThanks to [sindresorhus](https://sindresorhus.com/hi/) for his [log-update](https://github.com/sindresorhus/log-update) module, which was a major inspiration for and is used extensively in this module.\nLog-update is [MIT licensed](https://raw.githubusercontent.com/sindresorhus/log-update/master/license).\n\n## License\n\n[MIT](https://github.com/codekirei/node-multispinner/blob/master/license)\n\n[1]: https://img.shields.io/travis/codekirei/node-multispinner.svg?style=flat-square\n[2]: https://travis-ci.org/codekirei/node-multispinner\n[3]: http://img.shields.io/coveralls/codekirei/node-multispinner.svg?style=flat-square\n[4]: https://coveralls.io/github/codekirei/node-multispinner?branch=master\n","readmeFilename":"readme.md"}