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
New Relic provides the most powerful cloud-based observability platform built to help companies create more perfect software. Icon
New Relic provides the most powerful cloud-based observability platform built to help companies create more perfect software.

Get a live and in-depth view of your network, infrastructure, applications, end-user experience, machine learning models and more.

Correlate issues across your stack. Debug and collaborate from your IDE. AI assistance at every step. All in one connected experience - not a maze of charts.
Start for Free
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