mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-09-30 17:27:22 +08:00
Drive-by-fix: Also properly log error messages from the build. Bug: 411328609 Change-Id: I928f2015028b4645ff9e3e6111a4193d8f7eba1b Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6468993 Auto-Submit: Benedikt Meurer <bmeurer@chromium.org> Reviewed-by: Nikolay Vitkov <nvitkov@chromium.org> Commit-Queue: Benedikt Meurer <bmeurer@chromium.org>
cli-spinners
70+ spinners for use in the terminal
The list of spinners is just a JSON file and can be used wherever.
You probably want to use one of these spinners through the ora module.
Install
npm install cli-spinners
Usage
const cliSpinners = require('cli-spinners');
console.log(cliSpinners.dots);
/*
{
interval: 80,
frames: ['⠋', '⠙', '⠹', '⠸', '⠼', '⠴', '⠦', '⠧', '⠇', '⠏']
}
*/
Preview
The header GIF is outdated. See all the spinner at once or one at the time.
API
Each spinner comes with a recommended interval and an array of frames.
The random spinner will return a random spinner each time it's called.
Related
- ora - Elegant terminal spinner
- CLISpinner - Terminal spinners for Swift
- py-spinners - Python port
- spinners - Terminal spinners for Rust
- go-spinners - Go port