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
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
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