{"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","tarball":"http://registry-npm.ywwl.com/elegant-spinner/download/elegant-spinner-1.0.1.tgz","integrity":"sha512-B+ZM+RXvRqQaAmkMlO/oSe5nMUOaUnyfGYCEHoR8wrXsZR2mA0XVibsxV1bvTwxdRWah1PkQqso2EzhILGHtEQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCyZ6R1vbp8YEyZjbzj8Xih0CdXVbTkQ7FEARUCn3VQCwIhAIefuoF2GpPGMT6UwJvgZyfjCSA/xP1b/J9yl+9q/CGV"}],"size":1721,"noattachment":false,"key":"/elegant-spinner/-/elegant-spinner-1.0.1.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"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","publish_time":1443778034384,"_cnpm_publish_time":1443778034384,"dist-tags":{"latest":"3.0.0"}}