Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork121
Spinners for use in the terminal
License
NotificationsYou must be signed in to change notification settings
sindresorhus/cli-spinners
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
70+ spinners for use in the terminal
The list of spinners is just aJSON file and can be used wherever.
You probably want to use one of these spinners through theora package.
npm install cli-spinners
importcliSpinnersfrom'cli-spinners';console.log(cliSpinners.dots);/*{interval: 80,frames: ['⠋', '⠙', '⠹', '⠸', '⠼', '⠴', '⠦', '⠧', '⠇', '⠏']}*/
intervalis the intended time per frame, in milliseconds.framesis an array of frames to show for the spinner.
The header GIF is outdated. See all thespinner at once orone at the time.
Each spinner comes with a recommendedinterval and an array offrames.
Get a random spinner.
import{randomSpinner}from'cli-spinners';console.log(randomSpinner());/*{interval: 80,frames: ['⠋', '⠙', '⠹', '⠸', '⠼', '⠴', '⠦', '⠧', '⠇', '⠏']}*/
- ora - Elegant terminal spinner
- CLISpinner - Terminal spinners for Swift
- py-spinners - Python port
- spinners - Terminal spinners for Rust
- go-spinners - Go port
- bash-cli-spinners - Terminal spinners in Bash
About
Spinners for use in the terminal
Resources
License
Code of conduct
Contributing
Security policy
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Packages0
No packages published