{"name":"cli-spinners","version":"2.2.0","description":"Spinners for use in the terminal","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/cli-spinners.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=6"},"scripts":{"test":"xo && ava && tsd","asciicast":"asciinema rec --command='node example-all.js' --title='cli-spinner' --quiet"},"keywords":["cli","spinner","spinners","terminal","term","console","ascii","unicode","loading","indicator","progress","busy","wait","idle","json"],"devDependencies":{"ava":"^1.4.1","log-update":"^3.2.0","tsd":"^0.7.2","xo":"^0.24.0"},"gitHead":"af93e2f345a73a16c7686066c08dd970d66d8870","bugs":{"url":"https://github.com/sindresorhus/cli-spinners/issues"},"homepage":"https://github.com/sindresorhus/cli-spinners#readme","_id":"cli-spinners@2.2.0","_nodeVersion":"8.16.0","_npmVersion":"6.9.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-tgU3fKwzYjiLEQgPMD9Jt+JjHVL9kW93FiIMX/l7rivvOD4/LL0Mf7gda3+4U2KJBloybwgj5KEoQgGRioMiKQ==","shasum":"e8b988d9206c692302d8ee834e7a85c0144d8f77","tarball":"http://registry-npm.ywwl.com/cli-spinners/download/cli-spinners-2.2.0.tgz","fileCount":6,"unpackedSize":16102,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdFc5LCRA9TVsSAnZWagAAH20P/114/Mt/dvezTYANGY2K\nWXHZN23xYOC2P9WRwXFr6r5m/1iOZnnoBRPcqAFbZa0sL3rZKbg1bgJzLfMv\nRlsKfHw/Tx2pcxRU6sJPj2idMSWvO1ymOVwwEVJrukxGj1qiUAEdChKe+afQ\nVLAiEHYQbvM0EPWjiWX2O+MJGRqv9xXZC+dGO8X78KrwEw7vmWFjsv9OqXn9\n1Otx6cxfWt8sA6msqlb1PXGP+b//DS8RJnCLEaWY1nTHsdh9R1ULsVF/l3mZ\nOap1hjRc0WpnV+7dhR7rrmohfku/8qnAEW+WOM6kRSZDD4UmMnb7qD4o84gQ\n/PL+PU0s8bZLdUUBxcVgAtSgoIbgrZjAfEgvAgfU5BzbL+hgj4UdBYlFJXwK\nVOkRHmV7TODBEfbAflkqUvYTvRbyVejluvHGsib3MW3wnhxnJMwca0btxMSx\nishxWBw8f8MZ+t25o76rdeJ24M7d8oniOPSFc5dcy8Db/Xp1EPTXXxckyF5d\nUkG9UvHt68os2lG/Lq0FsDEY5QAkDDvflFAwWm34utrrCzaIUsFXioHZQjqW\nrhwupPTOb5L3IfywbTqaIBwTODU8r6IMvKn/oa5VH/8dWtP/Jrma5WeC4mfe\nBMzQ5rQdOLCbw+cr7GHSKT9rlqR1K4Wo5HLa2APn6oeMd+ICRuA1Bsx9PIIL\n1uu3\r\n=ru8m\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDxMiXY9TXA+dohT+0x2TK7SpeiffQ+b9iyvnEMrKTi9AIhAPuV1MC4uOzvIhRwDlk4PrsamLvKidt6QXMpkl/yDt/l"}],"size":4604,"noattachment":false,"key":"/cli-spinners/-/cli-spinners-2.2.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cli-spinners_2.2.0_1561710154781_0.8228281984919519"},"_hasShrinkwrap":false,"readme":"# cli-spinners\n\n> 70+ spinners for use in the terminal\n\n<p align=\"center\">\n\t<br>\n\t<img width=\"700\" src=\"screenshot.svg\">\n\t<br>\n\t<br>\n</p>\n\nThe list of spinners is just a [JSON file](spinners.json) and can be used wherever.\n\nYou probably want to use one of these spinners through the [`ora`](https://github.com/sindresorhus/ora) package.\n\n## Install\n\n```sh\nnpm install cli-spinners\n```\n\n## Usage\n\n```js\nimport cliSpinners from 'cli-spinners';\n\nconsole.log(cliSpinners.dots);\n/*\n{\n\tinterval: 80,\n\tframes: ['⠋', '⠙', '⠹', '⠸', '⠼', '⠴', '⠦', '⠧', '⠇', '⠏']\n}\n*/\n```\n\n## Preview\n\nThe header GIF is outdated. See all the [spinner at once](https://jsfiddle.net/sindresorhus/2eLtsbey/embedded/result/) or [one at the time](https://asciinema.org/a/95348?size=big).\n\n## API\n\n### cliSpinners\n\nEach spinner comes with a recommended `interval` and an array of `frames`.\n\n[See the spinners.](spinners.json)\n\n### randomSpinner()\n\nGet a random spinner.\n\n```js\nimport {randomSpinner} from 'cli-spinners';\n\nconsole.log(randomSpinner());\n/*\n{\n\tinterval: 80,\n\tframes: ['⠋', '⠙', '⠹', '⠸', '⠼', '⠴', '⠦', '⠧', '⠇', '⠏']\n}\n*/\n```\n\n## Related\n\n- [ora](https://github.com/sindresorhus/ora) - Elegant terminal spinner\n- [CLISpinner](https://github.com/kiliankoe/CLISpinner) - Terminal spinners for Swift\n- [py-spinners](https://github.com/ManrajGrover/py-spinners) - Python port\n- [spinners](https://github.com/FGRibreau/spinners) - Terminal spinners for Rust\n- [go-spinners](https://github.com/gabe565/go-spinners) - Go port\n","publish_time":1561710154878,"_cnpm_publish_time":1561710154878,"dist-tags":{"latest":"3.4.0"}}