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
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start 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