{"name":"cli-spinners","version":"2.1.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":"a6d31041a45bbe4797639580f4ffe1db7b45f462","bugs":{"url":"https://github.com/sindresorhus/cli-spinners/issues"},"homepage":"https://github.com/sindresorhus/cli-spinners#readme","_id":"cli-spinners@2.1.0","_nodeVersion":"8.15.0","_npmVersion":"6.9.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-8B00fJOEh1HPrx4fo5eW16XmE1PcL1tGpGrxy63CXGP9nHdPBN63X75hA1zhvQuhVztJWLqV58Roj2qlNM7cAA==","shasum":"22c34b4d51f573240885b201efda4e4ec9fff3c7","tarball":"http://registry-npm.ywwl.com/cli-spinners/download/cli-spinners-2.1.0.tgz","fileCount":6,"unpackedSize":16032,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcp8l/CRA9TVsSAnZWagAAZt4P/j7F9RmJyzkKJAL7Nkw1\nmFbux+7PCmPRXxJC4w2XfW74QlT2FA5AL+NPCtFUKYXiKkDTEBkz1nO/oehW\njkLp+rrhURLK2ptoaMh2ysa2uENPKoPfHtss33N+uFf99gLDbpCmA/Fu2F24\nJaf6dcYlNsHY9b2H6CCnqvscEZHB58v57Ugt3Rw/Id/+kSr40XdUWDRHna+7\n6thNz+InEYg1ow3bfeXddHtOop/9b4D6wD37lzQ8v6NoIBbGljcO5Xg/54DJ\nmso0rDFCo4aTBLPc8LTfq6BV2iOFNLGIfqMosOBXHcToM6j5/bXMsr9Ov3i4\n2JUl8jXT3J0vYol9I3Hc+Wwj4PSubQBUABUD/Jgm/HFxo63GKahbniu7qPDN\nWwnzCAKSfWSUC0IhZk4MyjeH8krjn/HG26WbNPy7Yrc5xtWpvh3QNPV/s7UP\nxa2ffGwkwELTgLIt/HurihipQn5c0sw46waM1Apx3Vgi/oMgjRt//3+Po2rR\nlSdjoU9/wE0t1WwN58+q4q5CSoiPVgL3LRmdMz6nr005RAacvPBRLUdc8Sg/\nVJgJ/klF0kK8A6EUKAmz9pLnZ4AloVHrxa70fhyV5LmJhqFZ7/sT1+gN5S/7\n9dykopTOWFm9TOikH6LXTnTw5+hqWZ3HQNpbO3/rzo/mAGhBmBqI3jb8v/2s\nvYI3\r\n=8Xft\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBZrfnmopDODWhwLMIpOCNZV133Z075EwkhDxXYQ/etTAiEAiFY9D7q4NmoLBgh86XAYKiNwqch6RRBMGq3uryaHK7g="}],"size":4643,"noattachment":false,"key":"/cli-spinners/-/cli-spinners-2.1.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cli-spinners_2.1.0_1554499967194_0.2693576254972918"},"_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":1554499967324,"_cnpm_publish_time":1554499967324,"dist-tags":{"latest":"3.4.0"}}