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
GWI: On-demand Consumer Research Icon
GWI: On-demand Consumer Research

For marketing agencies and media organizations requiring a solution to get consumer insights

Need easy access to consumer insights? Our intuitive platform is the answer. Get the ultra-reliable research that brands and agencies need to stay ahead of changing consumer behavior.
Learn More
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