Ora is an elegant terminal spinner. If a string is provided, it is treated as a shortcut for options.text. Spinners provide their own recommended interval, so you don't really need to specify this. Indent the spinner with the given number of spaces. Force enable/disable the spinner. If not specified, the spinner will be enabled if the stream is being run inside a TTY context (not spawned or piped) and/or not in a CI environment. Note that {isEnabled: false} doesn't mean it won't output anything. It just means it won't output the spinner, colors, and other ansi escape codes. It will still log text. Discard stdin input (except Ctrl+C) while running if it's TTY. This prevents the spinner from twitching on input, outputting broken lines on Enter key presses, and prevents buffering of input while the spinner is running.

Features

  • Force enable or disable spinners
  • Display text after the spinner
  • Test out different spinners
  • Spinners provide their own recommended interval
  • Disable the spinner and all log text
  • Stop the spinner and change the symbol or text

Project Samples

Project Activity

See All Activity >

Categories

Terminals

License

MIT License

Follow ora

ora Web Site

Other Useful Business Software
$300 Free Credits for Your Google Cloud Projects Icon
$300 Free Credits for Your Google Cloud Projects

Start building on Google Cloud with $300 in free credits. No commitment, no credit card required until you're ready to scale.

Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Start Free Trial
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of ora!

Additional Project Details

Operating Systems

Windows

Programming Language

JavaScript

Related Categories

JavaScript Terminals

Registered

2021-08-05