{"name":"cli-spinners","version":"2.5.0","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","tsd":"^0.7.2","xo":"^0.24.0"},"gitHead":"07c83e7b9d8a08080d71ac8bda2115c83501d9d6","bugs":{"url":"https://github.com/sindresorhus/cli-spinners/issues"},"homepage":"https://github.com/sindresorhus/cli-spinners#readme","_id":"cli-spinners@2.5.0","_nodeVersion":"14.11.0","_npmVersion":"6.14.8","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-PC+AmIuK04E6aeSs/pUccSujsTzBhu4HzC2dL+CfJB/Jcc2qTRbEwZQDfIUpt2Xl8BodYBEq8w4fc0kU2I9DjQ==","shasum":"12763e47251bf951cb75c201dfa58ff1bcb2d047","tarball":"http://registry-npm.ywwl.com/cli-spinners/download/cli-spinners-2.5.0.tgz","fileCount":6,"unpackedSize":25685,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfhEwlCRA9TVsSAnZWagAAFA4P/inHYKTJxw5vzMCrjeVb\nqKfcC8PaC+Er2o3hrCZWZQPB0t1iw8DfJFDfsXhd2aCaZmC2FMmWl6m9hwTQ\ndc6TwUlQ1p2uqzbRwtg5neoEYJkdsvR1AP8d2Ih64VTzaNvGNZYJIkhhnO3p\nbWXTp/K5hw3cHeDIRWVWaH5rzE7PQ9ayEPVU4NKGdtEeWMteNHz4bfBHnrxR\nbUGKqHWrY2efKC8+hMbu35RyKefweHzaPBPKEw2zzJUJs7IWeOmXzCKyVws3\nPomaZD+Naf/PA4kf+8Ger7F8XyF8hhAH4RJ+eFAxcd9nT7X6RbeF0zyXmZET\nfsHrmkK7abN0Souka6ZhmyrJt8Rlyq1B7DsDe4BIM3GnTDBoB/4MfU6Q35H5\n2c83HLEpXzjv7WeUgWD1AeOxN/i+Crjj+fReprrxtXysXA7Fm5ECokIOCCM7\nkssy3u+JDmNrpxVnjDI1NAs0wlrFMzbOelsCKYU0leCFd3T5zVzyqd+t2t3l\n8fbMW4zydrYJB6sopFjkXWSIK1WBWdl5BGMuFa/XXOBKc8wXoNbZ7DXsBVFP\nPuJD857GD0OzGPbBkXcL94YdL6ERCkRdN/zvS+94W8W7voVVFOekfeC8+Qxp\n5mOyIcACT1fZJLamO7DFHgXMZNCwBnJrvBQbWNTjqKF5FHy8BrVtPelZjDgb\nIv+o\r\n=zwO1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCqKikinnaXvmFy87gKABeunpQd1QpSb35dwK6WxF3kqgIgeo+yR3mXOoUrONut4OgyhKbO5zDA+xUbuZmQ4UIiXDM="}],"size":5803,"noattachment":false,"key":"/cli-spinners/-/cli-spinners-2.5.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cli-spinners_2.5.0_1602505765470_0.42022053333522136"},"_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":1602505765617,"_cnpm_publish_time":1602505765617,"dist-tags":{"latest":"3.4.0"}}