GitShow/sindresorhus/ora
sindresorhus

ora

Elegant terminal spinner

by sindresorhus
Star on GitHubForknpm

JavaScript

9.7k stars290 forks57 contributorsActive · 1w agoSince 2016v9.4.1MIT

Meet the team

See all 57 on GitHub →
sindresorhus
sindresorhus130 contributions
stroncium
stroncium6 contributions
jeetiss
jeetiss3 contributions
SamVerschueren
SamVerschueren3 contributions
BendingBender
BendingBender2 contributions
tommy-mitchell
tommy-mitchell2 contributions
agusayerza
agusayerza1 contribution
aminya
aminya1 contribution

Languages

View on GitHub →
JavaScript97%
TypeScript3%

Commit activity

Last 12 weeks · 7 commits

Full graph →

Community health

4 of 6 standards met

Community profile →
85
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template

Recent fixes

View closed PRs →
DrafaKiller
There was a breaking change on v9.4.1 patchClosedIssue

Recently, projects that were compliable using broke because of a breaking change that escaped into a patch. I imagine this was a simple mistake, so I'm just letting you know. The commit bc3a283 changed the interface in a breaking matter by widening the function, and already implemented functions were not ready to handle the broader inputs.

DrafaKiller · 4d ago
Tejakshaya
Remove unused ava devDependency and fix readme typoMergedPR

Removed from -> the test suite uses Node.js built-in , not ava (drops 115 packages from the dev dependency tree) Fixed option default in readme -> was (looks like a string literal) now (property reference) matching / style Test plan [x] passes [x] passes [x] confirms ava removal drops 115 packages Doesnt close any specific issue

Tejakshaya · 1w ago
patrickwehbe
Fix type definitions that contradict the implementationMergedPR

While using the types, I hit two cases where the type definitions disagree with what actually does. allows , but the setter rejects it is typed as on both and the interface, so type-checks. At runtime the setter throws for anything that is not a valid color or : So this compiles but throws: is meaningful (it disables the color), but is not a valid value. This narrows the type to in both places. / on the interface drop the function form On the interface, and are typed as , but the implementation resolves a function by calling it: The JSDoc on both members already says "text or function that returns text", the / types are already exported, and and already use / . Only the interface members were left as plain , so assigning a function to is a type error even though it works at runtime. This widens them to match. Tests Added assertions for the rejected and for the function forms of /.

patrickwehbe · 2w ago
Structured data for AI agents

Repository: sindresorhus/ora. Description: Elegant terminal spinner Stars: 9721, Forks: 290. Primary language: JavaScript. Languages: JavaScript (97%), TypeScript (3%). License: MIT. Latest release: v9.4.1 (2w ago). Open PRs: 0, open issues: 0. Last activity: 1w ago. Community health: 85%. Top contributors: sindresorhus, stroncium, jeetiss, SamVerschueren, BendingBender, tommy-mitchell, agusayerza, aminya, parro-it, andygrunwald and others.

·@ofershap

Replace github.com with gitshow.dev