{"name":"cli-spinners","version":"2.6.1","description":"Spinners for use in the terminal","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/cli-spinners.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://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","string-length":"^4.0.1","tsd":"^0.7.2","xo":"^0.24.0"},"gitHead":"00de8fbeee16fa49502fa4f687449f70f2c8ca2c","bugs":{"url":"https://github.com/sindresorhus/cli-spinners/issues"},"homepage":"https://github.com/sindresorhus/cli-spinners#readme","_id":"cli-spinners@2.6.1","_nodeVersion":"12.22.1","_npmVersion":"7.20.3","dist":{"integrity":"sha512-x/5fWmGMnbKQAaNwN+UZlV79qBLM9JFnJuJ03gIi5whrob0xV0ofNVHy9DhwGdsMJQc2OKv0oGmLzvaqvAVv+g==","shasum":"adc954ebe281c37a6319bfa401e6dd2488ffb70d","tarball":"http://registry-npm.ywwl.com/cli-spinners/download/cli-spinners-2.6.1.tgz","fileCount":6,"unpackedSize":27522,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2mJmCRA9TVsSAnZWagAAxsEQAJ+feU/iZurMoHHX2lZ3\nfjJFlNr2YfTWj/7r/yiIwWXXRe0cxmyoEdEwq/QcA14i0y23gZNZ8592SmqM\nQm6xfC6E+PLSr5KS2DNHHJ8N7eVnFjIC4EiUqZ6+Wyr4aDAhnXyjCkftXBuj\nudRldUN5SAjKbjNC5rvm8PXvCLfZt3FsRBkhrLFPezJY3OJKCr/rL28+EG16\njeZOxu7eJu8/HGs0s4P68H1dtF8ZvPlcnNHPYMTC0qXWb3g7YehQUAXkmhiw\n4ziPx8AhwRXvNKv011omyRemAXRa80tAz0GcrXLDLVSOCxNL3AXhhGwBj8TN\nYhVmPlLQoEfv8H0PXuoVc4h2Hngz4Jatp8Vza9uYwoJC+A8pN15bP57xLdsQ\nLPUx+L7jC+bYyG2Mo9792fYoiBc6M5fojNSqW230TPugukGPsihoEEqd97nd\nJ0h/IN5Ea5TTm4uGVqWP1zKM6q+hIYNhjtCMeI0jiphwqMcg7XYFW9SH06QA\nhjCBnfclnoi8tR/x+eESSoXf8CF+BDiwdVUwY/FJmqFfKK9+cUqY8oQm2YSM\nWcqYiE5Z9kJ4qJOYzPytYByIk4LoLpaMp8kEY1iUg1LfREJSEMlJQWmCIoxU\nWRozWu6rTLGlh3j5yrq3+ZkHKTeQiBP98mh7ljg9RIOmEdPRQVJ+TmMygY7v\nendM\r\n=7GI+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCle4zPaV4nyiqDGf5GPr4qxkxuM1xNlefUy+SpJfpbagIgYSxW0FgfFj2jfPxbA8o+MSKiFM6u+PfBgNS/JTNUZ9M="}],"size":6031,"noattachment":false,"key":"/cli-spinners/-/cli-spinners-2.6.1.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cli-spinners_2.6.1_1633109493169_0.7761200247029678"},"_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":1633109493310,"_cnpm_publish_time":1633109493310,"dist-tags":{"latest":"3.4.0"}}