{"_id":"elegant-spinner","_rev":"275500","name":"elegant-spinner","description":"Elegant spinner for interactive CLI apps","dist-tags":{"latest":"3.0.0"},"maintainers":[{"name":"sindresorhus","email":""}],"time":{"modified":"2023-09-20T17:32:56.000Z","created":"2015-08-16T08:26:42.409Z","3.0.0":"2021-09-07T13:54:44.061Z","2.0.0":"2019-04-12T19:32:48.806Z","1.0.1":"2015-10-02T09:27:14.384Z","1.0.0":"2015-08-16T08:26:42.409Z"},"users":{},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"repository":{"type":"git","url":"git+https://github.com/sindresorhus/elegant-spinner.git"},"versions":{"3.0.0":{"name":"elegant-spinner","version":"3.0.0","description":"Elegant spinner for interactive CLI apps","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/elegant-spinner.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"scripts":{"test":"xo && ava && tsd"},"keywords":["ansi","terminal","console","cli","string","log","logging","spinner","busy","indicator","loading","loader","progress","elegant","loiter","interactive"],"devDependencies":{"ava":"^3.15.0","tsd":"^0.17.0","xo":"^0.44.0"},"gitHead":"37bd16b92248bf666a67dd246f0e6f25b18cbdef","bugs":{"url":"https://github.com/sindresorhus/elegant-spinner/issues"},"homepage":"https://github.com/sindresorhus/elegant-spinner#readme","_id":"elegant-spinner@3.0.0","_nodeVersion":"14.17.5","_npmVersion":"7.20.3","dist":{"shasum":"e693ff62f3cd4c566c5add7f9e10e595c71c0953","size":2076,"noattachment":false,"key":"/elegant-spinner/-/elegant-spinner-3.0.0.tgz","tarball":"http://name.csiicloud.com:7001/elegant-spinner/download/elegant-spinner-3.0.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/elegant-spinner_3.0.0_1631022883929_0.5451395172610254"},"_hasShrinkwrap":false,"publish_time":1631022884061,"_cnpm_publish_time":1631022884061,"_cnpmcore_publish_time":"2021-12-14T04:34:13.937Z"},"2.0.0":{"name":"elegant-spinner","version":"2.0.0","description":"Elegant spinner for interactive CLI apps","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/elegant-spinner.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=8"},"scripts":{"test":"xo && ava && tsd"},"keywords":["ansi","terminal","console","cli","string","log","logging","spinner","busy","indicator","loading","loader","progress","elegant","loiter","interactive"],"devDependencies":{"ava":"^1.4.1","tsd":"^0.7.2","xo":"^0.24.0"},"gitHead":"923cdf90a83c10bd4c82db82c77853e9b00d6b0f","bugs":{"url":"https://github.com/sindresorhus/elegant-spinner/issues"},"homepage":"https://github.com/sindresorhus/elegant-spinner#readme","_id":"elegant-spinner@2.0.0","_nodeVersion":"8.15.0","_npmVersion":"6.9.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"f236378985ecd16da75488d166be4b688fd5af94","size":1862,"noattachment":false,"key":"/elegant-spinner/-/elegant-spinner-2.0.0.tgz","tarball":"http://name.csiicloud.com:7001/elegant-spinner/download/elegant-spinner-2.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/elegant-spinner_2.0.0_1555097568650_0.17207949771881714"},"_hasShrinkwrap":false,"publish_time":1555097568806,"_cnpm_publish_time":1555097568806},"1.0.1":{"name":"elegant-spinner","version":"1.0.1","description":"Elegant spinner for interactive CLI apps","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/elegant-spinner"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && node test.js"},"files":["index.js"],"keywords":["ansi","terminal","console","cli","string","log","logging","spinner","busy","indicator","loading","loader","progress","elegant","loiter","interactive"],"devDependencies":{"ava":"0.0.4","xo":"*"},"gitHead":"669a9813b4ee7d459b982dd623e72672d9f4f114","bugs":{"url":"https://github.com/sindresorhus/elegant-spinner/issues"},"homepage":"https://github.com/sindresorhus/elegant-spinner","_id":"elegant-spinner@1.0.1","_shasum":"db043521c95d7e303fd8f345bedc3349cfb0729e","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"db043521c95d7e303fd8f345bedc3349cfb0729e","size":1721,"noattachment":false,"key":"/elegant-spinner/-/elegant-spinner-1.0.1.tgz","tarball":"http://name.csiicloud.com:7001/elegant-spinner/download/elegant-spinner-1.0.1.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1443778034384,"_cnpm_publish_time":1443778034384,"_hasShrinkwrap":false},"1.0.0":{"name":"elegant-spinner","version":"1.0.0","description":"Elegant spinner for interactive CLI apps","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/elegant-spinner"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && node test.js"},"files":["index.js"],"keywords":["ansi","terminal","console","cli","string","log","logging","spinner","busy","indicator","loading","loader","progress","elegant","loiter","interactive"],"devDependencies":{"ava":"0.0.4","xo":"*"},"gitHead":"6cb32ab72adab3657f92274f517981dde09290e9","bugs":{"url":"https://github.com/sindresorhus/elegant-spinner/issues"},"homepage":"https://github.com/sindresorhus/elegant-spinner","_id":"elegant-spinner@1.0.0","_shasum":"737e58bf031f0592d01e370bf09da912c3fa806b","_from":".","_npmVersion":"2.11.2","_nodeVersion":"0.12.5","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"737e58bf031f0592d01e370bf09da912c3fa806b","size":1722,"noattachment":false,"key":"/elegant-spinner/-/elegant-spinner-1.0.0.tgz","tarball":"http://name.csiicloud.com:7001/elegant-spinner/download/elegant-spinner-1.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1439713602409,"_cnpm_publish_time":1439713602409,"_hasShrinkwrap":false}},"readme":"# elegant-spinner\n\n> Elegant spinner for interactive CLI apps\n\n<img width=\"173\" src=\"screenshot.gif\">\n\n**You probably want [`ora`](https://github.com/sindresorhus/ora) instead, which includes this spinner and handles the animation for you.**\n\n## Install\n\n```\n$ npm install elegant-spinner\n```\n\n## Usage\n\n```js\nimport elegantSpinner from 'elegant-spinner';\nimport logUpdate from 'log-update';\n\nconst frame = elegantSpinner();\n\nsetInterval(() => {\n\tlogUpdate(frame());\n}, 50);\n```\n\n## Related\n\n- [log-update](https://github.com/sindresorhus/log-update) - Log by overwriting the previous output in the terminal. Useful for rendering progress bars, animations, etc.\n\n---\n\n<div align=\"center\">\n\t<b>\n\t\t<a href=\"https://tidelift.com/subscription/pkg/npm-elegant-spinner?utm_source=npm-elegant-spinner&utm_medium=referral&utm_campaign=readme\">Get professional support for this package with a Tidelift subscription</a>\n\t</b>\n\t<br>\n\t<sub>\n\t\tTidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.\n\t</sub>\n</div>\n","_attachments":{},"homepage":"https://github.com/sindresorhus/elegant-spinner#readme","bugs":{"url":"https://github.com/sindresorhus/elegant-spinner/issues"},"license":"MIT"}