{"_id":"spinnies","_rev":"4670386","name":"spinnies","description":"Create and manage multiple spinners in command-line interface programs","dist-tags":{"latest":"0.5.1"},"maintainers":[{"name":"jcarpanelli","email":""}],"time":{"modified":"2026-04-10T23:02:54.000Z","created":"2019-05-27T11:24:16.797Z","0.5.1":"2019-12-13T23:30:25.374Z","0.5.0":"2019-08-25T12:10:30.542Z","0.4.3":"2019-07-02T19:32:01.768Z","0.4.2":"2019-06-18T22:38:33.755Z","0.4.1":"2019-06-18T16:11:45.381Z","0.4.0":"2019-06-16T17:55:37.956Z","0.3.2":"2019-06-09T23:48:05.017Z","0.3.1":"2019-06-01T22:41:50.341Z","0.3.0":"2019-05-28T12:55:06.249Z","0.2.0":"2019-05-27T11:24:16.797Z"},"users":{},"author":{"name":"Juan Bautista Carpanelli","email":"juanbanelli@gmail.com"},"repository":{"type":"git","url":"git+ssh://git@github.com/jcarpanelli/spinnies.git"},"versions":{"0.5.1":{"name":"spinnies","version":"0.5.1","description":"Create and manage multiple spinners in command-line interface programs","main":"index.js","scripts":{"test":"npx mocha test"},"keywords":["node","nodejs","node.js","multiple","multi","multispinner","spinner","spinners","loadre","loading","loading-bar","cli","console","command-line","command","terminal"],"author":{"name":"Juan Bautista Carpanelli","email":"juanbanelli@gmail.com"},"repository":{"type":"git","url":"git+ssh://git@github.com/jcarpanelli/spinnies.git"},"bugs":{"url":"https://github.com/jcarpanelli/spinnies/issues"},"homepage":"https://github.com/jcarpanelli/spinnies#readme","license":"MIT","dependencies":{"chalk":"^2.4.2","cli-cursor":"^3.0.0","strip-ansi":"^5.2.0"},"devDependencies":{"chai":"^4.2.0","mocha":"^6.1.4"},"gitHead":"9431e6b1531122ff9639e68dc3d2bb205663ee17","_id":"spinnies@0.5.1","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"shasum":"6ac88455d9117c7712d52898a02c969811819a7e","size":10331,"noattachment":false,"key":"/spinnies/-/spinnies-0.5.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/spinnies/download/spinnies-0.5.1.tgz"},"maintainers":[{"name":"jcarpanelli","email":""}],"_npmUser":{"name":"jcarpanelli","email":"juanbanelli@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/spinnies_0.5.1_1576279825166_0.23889389349599366"},"_hasShrinkwrap":false,"publish_time":1576279825374,"_cnpm_publish_time":1576279825374,"_cnpmcore_publish_time":"2021-12-16T19:14:34.189Z"},"0.5.0":{"name":"spinnies","version":"0.5.0","description":"Create and manage multiple spinners in command-line interface programs","main":"index.js","scripts":{"test":"npx mocha test"},"keywords":["node","nodejs","node.js","multiple","multi","multispinner","spinner","spinners","loadre","loading","loading-bar","cli","console","command-line","command","terminal"],"author":{"name":"Juan Bautista Carpanelli","email":"juanbanelli@gmail.com"},"repository":{"type":"git","url":"git+ssh://git@github.com/jcarpanelli/spinnies.git"},"bugs":{"url":"https://github.com/jcarpanelli/spinnies/issues"},"homepage":"https://github.com/jcarpanelli/spinnies#readme","license":"MIT","dependencies":{"chalk":"^2.4.2","cli-cursor":"^3.0.0","strip-ansi":"^5.2.0"},"devDependencies":{"chai":"^4.2.0","mocha":"^6.1.4"},"gitHead":"6efa4352a7a5ff4fc1e2f51c726edadc31b3cd9c","_id":"spinnies@0.5.0","_nodeVersion":"10.16.3","_npmVersion":"6.9.0","dist":{"shasum":"0935e15e740d05aecb4f5a917761bba716c300ba","size":10295,"noattachment":false,"key":"/spinnies/-/spinnies-0.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/spinnies/download/spinnies-0.5.0.tgz"},"maintainers":[{"name":"jcarpanelli","email":""}],"_npmUser":{"name":"jcarpanelli","email":"juanbanelli@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/spinnies_0.5.0_1566735030426_0.4157469952169872"},"_hasShrinkwrap":false,"publish_time":1566735030542,"_cnpm_publish_time":1566735030542,"_cnpmcore_publish_time":"2021-12-16T19:14:34.414Z"},"0.4.3":{"name":"spinnies","version":"0.4.3","description":"Create and manage multiple spinners in command-line interface programs","main":"index.js","scripts":{"test":"npx mocha test"},"keywords":["node","nodejs","node.js","multiple","multi","multispinner","spinner","spinners","loadre","loading","loading-bar","cli","console","command-line","command","terminal"],"author":{"name":"Juan Bautista Carpanelli","email":"juanbanelli@gmail.com"},"repository":{"type":"git","url":"git+ssh://git@github.com/jcarpanelli/spinnies.git"},"bugs":{"url":"https://github.com/jcarpanelli/spinnies/issues"},"homepage":"https://github.com/jcarpanelli/spinnies#readme","license":"MIT","dependencies":{"chalk":"^2.4.2","cli-cursor":"^3.0.0","strip-ansi":"^5.2.0"},"devDependencies":{"chai":"^4.2.0","mocha":"^6.1.4"},"gitHead":"acb4d185aaf20409436eaddf2da1f875e9d8b757","_id":"spinnies@0.4.3","_nodeVersion":"8.10.0","_npmVersion":"6.9.0","dist":{"shasum":"2ea0ad148e78353ddf621dec3951a6f4c3cbf66e","size":9878,"noattachment":false,"key":"/spinnies/-/spinnies-0.4.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/spinnies/download/spinnies-0.4.3.tgz"},"maintainers":[{"name":"jcarpanelli","email":""}],"_npmUser":{"name":"jcarpanelli","email":"juanbanelli@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/spinnies_0.4.3_1562095921623_0.18710116363925033"},"_hasShrinkwrap":false,"publish_time":1562095921768,"_cnpm_publish_time":1562095921768,"_cnpmcore_publish_time":"2021-12-16T19:14:34.591Z"},"0.4.2":{"name":"spinnies","version":"0.4.2","description":"Create and manage multiple spinners in command-line interface programs","main":"index.js","scripts":{"test":"npx mocha test"},"keywords":["node","nodejs","node.js","multiple","multi","multispinner","spinner","spinners","loadre","loading","loading-bar","cli","console","command-line","command","terminal"],"author":{"name":"Juan Bautista Carpanelli","email":"juanbanelli@gmail.com"},"repository":{"type":"git","url":"git+ssh://git@github.com/jcarpanelli/spinnies.git"},"bugs":{"url":"https://github.com/jcarpanelli/spinnies/issues"},"homepage":"https://github.com/jcarpanelli/spinnies#readme","license":"MIT","dependencies":{"chalk":"^2.4.2","cli-cursor":"^3.0.0","strip-ansi":"^5.2.0"},"devDependencies":{"chai":"^4.2.0","mocha":"^6.1.4"},"gitHead":"6033b14199307949196599f7f8109b6aff09e194","_id":"spinnies@0.4.2","_nodeVersion":"10.15.3","_npmVersion":"6.9.0","dist":{"shasum":"cffff8cdb612b0c328c36d4454fea928405a1af9","size":9670,"noattachment":false,"key":"/spinnies/-/spinnies-0.4.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/spinnies/download/spinnies-0.4.2.tgz"},"maintainers":[{"name":"jcarpanelli","email":""}],"_npmUser":{"name":"jcarpanelli","email":"juanbanelli@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/spinnies_0.4.2_1560897513580_0.7497350731335619"},"_hasShrinkwrap":false,"publish_time":1560897513755,"_cnpm_publish_time":1560897513755,"_cnpmcore_publish_time":"2021-12-16T19:14:34.795Z"},"0.4.1":{"name":"spinnies","version":"0.4.1","description":"Create and manage multiple spinners in command-line interface programs","main":"index.js","scripts":{"test":"npx mocha test"},"keywords":["node","nodejs","node.js","multiple","multi","multispinner","spinner","spinners","loadre","loading","loading-bar","cli","console","command-line","command","terminal"],"author":{"name":"Juan Bautista Carpanelli","email":"juanbanelli@gmail.com"},"repository":{"type":"git","url":"git+ssh://git@github.com/jcarpanelli/spinnies.git"},"bugs":{"url":"https://github.com/jcarpanelli/spinnies/issues"},"homepage":"https://github.com/jcarpanelli/spinnies#readme","license":"MIT","dependencies":{"chalk":"^2.4.2","cli-cursor":"^3.0.0","strip-ansi":"^5.2.0"},"devDependencies":{"chai":"^4.2.0","mocha":"^6.1.4"},"gitHead":"5f5eee8a481197561cc6302bb8c4076cdfdd13d2","_id":"spinnies@0.4.1","_nodeVersion":"10.15.3","_npmVersion":"6.9.0","dist":{"shasum":"84b87ebf1e68678c3c359a8e0349dda088bb744a","size":9645,"noattachment":false,"key":"/spinnies/-/spinnies-0.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/spinnies/download/spinnies-0.4.1.tgz"},"maintainers":[{"name":"jcarpanelli","email":""}],"_npmUser":{"name":"jcarpanelli","email":"juanbanelli@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/spinnies_0.4.1_1560874305209_0.6431821015650023"},"_hasShrinkwrap":false,"publish_time":1560874305381,"_cnpm_publish_time":1560874305381,"_cnpmcore_publish_time":"2021-12-16T19:14:34.978Z"},"0.4.0":{"name":"spinnies","version":"0.4.0","description":"Create and manage multiple spinners in command-line interface programs","main":"index.js","scripts":{"test":"npx mocha test"},"keywords":["node","nodejs","node.js","multiple","multi","multispinner","spinner","spinners","loadre","loading","loading-bar","cli","console","command-line","command","terminal"],"author":{"name":"Juan Bautista Carpanelli","email":"juanbanelli@gmail.com"},"repository":{"type":"git","url":"git+ssh://git@github.com/jcarpanelli/spinnies.git"},"bugs":{"url":"https://github.com/jcarpanelli/spinnies/issues"},"homepage":"https://github.com/jcarpanelli/spinnies#readme","license":"MIT","dependencies":{"chalk":"^2.4.2","cli-cursor":"^3.0.0","strip-ansi":"^5.2.0"},"devDependencies":{"chai":"^4.2.0","mocha":"^6.1.4"},"gitHead":"71e902ac3c39c3c25a4d78475e37018d1193326a","_id":"spinnies@0.4.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"jcarpanelli","email":"juanbanelli@gmail.com"},"dist":{"shasum":"b19f20500421047f44fa7985c67a70f2cacbdc93","size":8553,"noattachment":false,"key":"/spinnies/-/spinnies-0.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/spinnies/download/spinnies-0.4.0.tgz"},"maintainers":[{"name":"jcarpanelli","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/spinnies_0.4.0_1560707737836_0.6688419971642638"},"_hasShrinkwrap":false,"publish_time":1560707737956,"_cnpm_publish_time":1560707737956,"_cnpmcore_publish_time":"2021-12-16T19:14:35.187Z"},"0.3.2":{"name":"spinnies","version":"0.3.2","description":"Create and manage multiple spinners in command-line interface programs","main":"index.js","scripts":{"test":"npx mocha test"},"keywords":["node","nodejs","node.js","multiple","multi","multispinner","spinner","spinners","loadre","loading","loading-bar","cli","console","command-line","command","terminal"],"author":{"name":"Juan Bautista Carpanelli","email":"juanbanelli@gmail.com"},"repository":{"type":"git","url":"git+ssh://git@github.com/jcarpanelli/spinnies.git"},"bugs":{"url":"https://github.com/jcarpanelli/spinnies/issues"},"homepage":"https://github.com/jcarpanelli/spinnies#readme","license":"MIT","dependencies":{"chalk":"^2.4.2","cli-cursor":"^3.0.0"},"devDependencies":{"chai":"^4.2.0","mocha":"^6.1.4"},"gitHead":"61553f7e7c45a7cad103e415257b046e80dbbc79","_id":"spinnies@0.3.2","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"jcarpanelli","email":"juanbanelli@gmail.com"},"dist":{"shasum":"693d85cdaa095e253b13a8dc0dc8808cef23d678","size":8523,"noattachment":false,"key":"/spinnies/-/spinnies-0.3.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/spinnies/download/spinnies-0.3.2.tgz"},"maintainers":[{"name":"jcarpanelli","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/spinnies_0.3.2_1560124084786_0.4493316311706006"},"_hasShrinkwrap":false,"publish_time":1560124085017,"_cnpm_publish_time":1560124085017,"_cnpmcore_publish_time":"2021-12-16T19:14:35.379Z"},"0.3.1":{"name":"spinnies","version":"0.3.1","description":"Create and manage multiple spinners in command-line interface programs","main":"index.js","scripts":{"test":"npx mocha test"},"keywords":["node","nodejs","node.js","multiple","multi","multispinner","spinner","spinners","loadre","loading","loading-bar","cli","console","command-line","command","terminal"],"author":{"name":"Juan Bautista Carpanelli","email":"juanbanelli@gmail.com"},"repository":{"type":"git","url":"git+ssh://git@github.com/jcarpanelli/spinnies.git"},"bugs":{"url":"https://github.com/jcarpanelli/spinnies/issues"},"homepage":"https://github.com/jcarpanelli/spinnies#readme","license":"MIT","dependencies":{"chalk":"^2.4.2","cli-cursor":"^3.0.0"},"devDependencies":{"chai":"^4.2.0","mocha":"^6.1.4"},"gitHead":"ac442f68d35c2f1629d2319f792ec23185faea2b","_id":"spinnies@0.3.1","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"jcarpanelli","email":"juanbanelli@gmail.com"},"dist":{"shasum":"0ff2e8a9868e6f4f5f490bb3a9d498b08dab8b3b","size":8255,"noattachment":false,"key":"/spinnies/-/spinnies-0.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/spinnies/download/spinnies-0.3.1.tgz"},"maintainers":[{"name":"jcarpanelli","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/spinnies_0.3.1_1559428910229_0.8031949997987267"},"_hasShrinkwrap":false,"publish_time":1559428910341,"_cnpm_publish_time":1559428910341,"_cnpmcore_publish_time":"2021-12-16T19:14:35.575Z"},"0.3.0":{"name":"spinnies","version":"0.3.0","description":"Create and manage multiple spinners in command-line interface programs","main":"index.js","scripts":{"test":"npx mocha test"},"keywords":["node","nodejs","node.js","multiple","multi","multispinner","spinner","spinners","loadre","loading","loading-bar","cli","console","command-line","command","terminal"],"author":{"name":"Juan Bautista Carpanelli","email":"juanbanelli@gmail.com"},"license":"MIT","dependencies":{"chalk":"^2.4.2","cli-cursor":"^3.0.0"},"devDependencies":{"chai":"^4.2.0","mocha":"^6.1.4"},"gitHead":"f7ebdbcf4780ce48f83d2249aa8c766046b384b9","_id":"spinnies@0.3.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"jcarpanelli","email":"juanbanelli@gmail.com"},"dist":{"shasum":"eea258599b95ee42dd70e378bbd5b8f091dcaee0","size":8089,"noattachment":false,"key":"/spinnies/-/spinnies-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/spinnies/download/spinnies-0.3.0.tgz"},"maintainers":[{"name":"jcarpanelli","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/spinnies_0.3.0_1559048106140_0.29565353015607276"},"_hasShrinkwrap":false,"publish_time":1559048106249,"_cnpm_publish_time":1559048106249,"_cnpmcore_publish_time":"2021-12-16T19:14:35.815Z"},"0.2.0":{"name":"spinnies","version":"0.2.0","description":"Create and manage multiple spinners in command-line interface programs","main":"index.js","scripts":{"test":"npx mocha test"},"keywords":["node","nodejs","node.js","multiple","multi","multispinner","spinner","spinners","console","cli","command-line","command","terminal"],"author":{"name":"Juan Bautista Carpanelli","email":"juanbanelli@gmail.com"},"license":"MIT","dependencies":{"chalk":"^2.4.2","cli-cursor":"^3.0.0"},"devDependencies":{"chai":"^4.2.0","mocha":"^6.1.4"},"gitHead":"0dc871a90eb76621780b29e7c16bf790ebfeb9f9","_id":"spinnies@0.2.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"jcarpanelli","email":"juanbanelli@gmail.com"},"dist":{"shasum":"2be23f361add4929f567136f30eb6520ed5258f2","size":7788,"noattachment":false,"key":"/spinnies/-/spinnies-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/spinnies/download/spinnies-0.2.0.tgz"},"maintainers":[{"name":"jcarpanelli","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/spinnies_0.2.0_1558956256679_0.18017273042206727"},"_hasShrinkwrap":false,"publish_time":1558956256797,"_cnpm_publish_time":1558956256797,"_cnpmcore_publish_time":"2021-12-16T19:14:35.999Z"}},"readme":"# ![spin](https://i.ibb.co/4M0J13j/spin.png) Spinnies ![spin](https://i.ibb.co/4M0J13j/spin.png)\n> Node.js module to create and manage multiple spinners in command-line interface programs\n\n[![npm](https://img.shields.io/npm/v/spinnies.svg)](https://www.npmjs.com/package/spinnies)\n[![CircleCI](https://circleci.com/gh/jcarpanelli/spinnies.svg?style=shield)](https://circleci.com/gh/jcarpanelli/spinnies)\n[![standard-readme compliant](https://img.shields.io/badge/readme%20style-standard-brightgreen.svg)](https://github.com/RichardLitt/standard-readme)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n<p align=\"center\"> <br> <img src='https://s3.us-west-2.amazonaws.com/jcarpanelli/termtosvg_zb90005u.svg' title='' /> </p>\n\n\n## Installation\n\n```\n$ npm i spinnies\n```\n\n## Usage & Example\n\n```js\nconst spinnies = new Spinnies();\n\nspinnies.add('spinner-1', { text: 'I am a spinner' });\nspinnies.add('spinner-2', { text: 'I am another spinner' });\n\nsetTimeout(() => {\n  spinnies.succeed('spinner-1', { text: 'Success!' });\n  spinnies.fail('spinner-2', { text: 'Fail :(' });\n}, 2000);\n```\n\n## API\n\nThis library follows a **non-error-throwing** philosophy. If you provide an invalid option or an invalid value for a valid option *it will be ignored*.\n\n### Initialization:\n\n#### new Spinnies([options])\n\nParameters\n- **options** - `object`:\n  - **color** - `string`: Any valid [chalk color](https://github.com/chalk/chalk#colors). The default value is `white`.\n  - **succeedColor** - `string`: Any valid [chalk color](https://github.com/chalk/chalk#colors). The default value is `green`.\n  - **failColor** - `string`: Any valid [chalk color](https://github.com/chalk/chalk#colors). The default value is `red`.\n  - **spinnerColor** - `string`: Any valid [chalk color](https://github.com/chalk/chalk#colors). The default value is `greenBright`.\n  - **succeedPrefix** - `string`: The default value is ✓.\n  - **failPrefix**- `string`: The default value is ✖.\n  - **spinner**- `object`:\n    - **interval** - `number`\n    - **frames** - `string[]`\n\n    You can see the already provided spinner [here](https://github.com/jcarpanelli/spinnies/blob/master/spinners.json).\n  - **disableSpins** - `boolean`: Disable spins (will still print raw messages).\n\n*Note: If you are working in any `win32` platform, the default spin animation will be overriden. You can get rid of this defining a different spinner animation manually, or by using the integrated VSCode terminal or Windows Terminal.*\n\nExample:\n\n```js\nconst spinner = { interval: 80, frames: ['????', '????', '????', '????'] }\nconst spinnies = new Spinnies({ color: 'blue', succeedColor: 'green', spinner });\n```\n\n### Instance methods:\n\n#### add(name, [options])\n\nAdds a new spinner with the given name.\n\nParameters:\n- **name** - `string`: spinner reference name.\n- **options** - `object`:\n  - **text**: - `string`: Optional text to show in the spinner. If none is provided, the `name` field will be shown.\n  - **indent**: - `number`: Optional, indent the spinner with the given number of spaces.\n  - **status** - `string`: Initial status of the spinner. Valid statuses are: `succeed`, `fail`, `spinning`, `non-spinnable`and `stopped`.\n  - **color** - `string`: Any valid [chalk color](https://github.com/chalk/chalk#colors).\n  - **succeedColor** - `string`: Any valid [chalk color](https://github.com/chalk/chalk#colors).\n  - **failColor** - `string`: Any valid [chalk color](https://github.com/chalk/chalk#colors).\n\nReturn value: Returns the spinner's options.\n\nExample:\n\n```js\nconst spinnies = new Spinnies();\nspinnies.add('spinner-1');\nspinnies.add('another-spinner', { text: 'Hello, I am a spinner!', color: 'greenBright' });\n\n```\n\n#### pick(name)\nPicks a spinner.\n\nParameters:\n- **name** - `string`: spinner reference name.\n\nReturn value: Returns the spinner's options.\n\n#### remove(name)\nRemoves a spinner.\n\nParameters:\n- **name** - `string`: spinner reference name.\n\nReturn value: Returns the spinner's options.\n\n#### update(name, [options])\n\nUpdates the spinner with name `name` with the provided options.\n\nParameters:\n- **name** - `string`: spinner reference name.\n- **options** - `object`:\n  - **text**: - `string`: Optional text to show in the spinner. If none is provided, the `name` field will be shown.\n  - **status** - `string`: New status of the spinner. Valid statuses are: `succeed`, `fail`, `spinning`, `non-spinnable`and `stopped`.\n  - **color** - `string`: Any valid [chalk color](https://github.com/chalk/chalk#colors).\n  - **succeedColor** - `string`: Any valid [chalk color](https://github.com/chalk/chalk#colors).\n  - **failColor** - `string`: Any valid [chalk color](https://github.com/chalk/chalk#colors).\n\nReturn value: Returns the spinner's options.\n\nExample:\n\n```js\nconst spinnies = new Spinnies();\nspinnies.add('spinner-1', { text: 'Hello! I am the initial text', color: 'green' });\n// some code\nspinnies.update('spinner-1', { text: 'Hello, I am an updated text!', color: 'blue' });\n\n```\n\n#### succeed(name, [options])\n\nSets the specified spinner status as `succeed`.\n\nParameters:\n- **name** - `string`: spinner reference name.\n- **options** - `object`:\n  - **text**: - `string`: Optional text to show in the spinner. If none is provided, the `name` field will be shown.\n  - **succeedColor** - `string`: Any valid [chalk color](https://github.com/chalk/chalk#colors).\n\nReturn value: Returns the spinner's options.\n\nExample:\n\n```js\nconst spinnies = new Spinnies();\nspinnies.add('spinner-1', { text: 'Hello! I am the initial text', color: 'green' });\n// some code\nspinnies.succeed('spinner-1', { text: 'Success!', successColor: 'greenBright' });\n\n```\n\n#### fail(name, [options])\n\nSets the specified spinner status as `fail`.\n\nParameters:\n- **name** - `string`: spinner reference name.\n- **options** - `object`:\n  - **text**: - `string`: Optional text to show in the spinner. If none is provided, the `name` field will be shown.\n  - **failColor** - `string`: Any valid [chalk color](https://github.com/chalk/chalk#colors).\n\nReturn value: Returns the spinner's options.\n\nExample:\n\n```js\nconst spinnies = new Spinnies();\nspinnies.add('spinner-1', { text: 'Hello! I am the initial text', color: 'green' });\n// some code\nspinnies.fail('spinner-1', { text: 'I failed', failColor: 'redBright' });\n\n```\n\n#### stopAll([status])\n\nStops the spinners and sets the non-succeeded and non-failed ones to the provided status, which can be `succeed`, `fail` or `stopped`. You can see an example [here](https://github.com/jcarpanelli/spinnies/blob/master/examples/demo-stop-all.js).\n\n#### hasActiveSpinners()\nReturn value: returns `false` if all spinners have succeeded, failed or have been stopped.\n\n\n## Contribute\n\nStar it, fork it, improve it, PR it! :raised_hands:.\n\n\n## Acknowledgements\n\nThanks to [chalk](https://github.com/chalk/chalk) for helping making this lib colorful :rainbow: and to [ora](https://github.com/sindresorhus/ora) which was a great inspiration :unicorn:.\n\n## License\n\n[MIT](https://github.com/jcarpanelli/spinnies/blob/master/LICENSE)\n","_attachments":{},"homepage":"https://github.com/jcarpanelli/spinnies#readme","bugs":{"url":"https://github.com/jcarpanelli/spinnies/issues"},"license":"MIT"}