ora
Elegant terminal spinner for command-line applications.
Fit
Bundle (gzip)
14.0 kB
46.5 kB raw
Install size includes transitive dependencies. Bundle size is gzipped browser payload.
Freshness
The Problem
Long-running CLI tasks need feedback, but printing raw log lines or progress text feels unpolished and doesn’t clearly communicate that work is still running.
What It Does
ora displays a lightweight animated spinner in terminals with simple start/stop controls and styled text. It makes CLI status updates feel clean and responsive without extra terminal handling.
Installation
npm install oraUsage Example
import ora from "ora";
const spinner = ora("Saving data...").start();
try {
await saveData();
spinner.succeed("Data saved successfully.");
} catch (error) {
spinner.fail("Save failed.");
}Related packages
Unified TypeScript SDK for building AI-powered apps — switch between 20+ LLM providers without rewriting code.
animejsGeneral JSLightweight JavaScript animation library with a tiny footprint and a powerful, expressive API.
AOSGeneral JSAn easy-to-use library that makes elements fade, slide, or zoom into view as the user scrolls down your page.
archiverGeneral JSStreaming interface for generating ZIP and TAR archives in Node.js — create compressed archives programmatically from files, directories, and buffers.
@formkit/auto-animateGeneral JS> Add smooth transitions to any element with a single line — zero-config animations for adds, removes, and moves.