Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/sindresorhus/ora
/ functions
Functions
113 in github.com/sindresorhus/ora
⨍
Functions
113
◇
Types & classes
7
↓ 10 callers
Function
ora
(options)
index.js:819
↓ 8 callers
Method
start
Start the spinner. @param text - Set the current text. @returns The spinner instance.
index.d.ts:272
↓ 6 callers
Method
write
(content)
test.js:169
↓ 5 callers
Method
stop
Stop and clear the spinner. @returns The spinner instance.
index.d.ts:279
↓ 5 callers
Method
toString
()
test.js:189
↓ 4 callers
Method
#buildOutputLine
(symbol, text, prefixText, suffixText)
index.js:318
↓ 4 callers
Method
#clearDisplay
()
index.js:349
↓ 4 callers
Method
#internalWrite
(fn)
index.js:235
↓ 4 callers
Function
rando
(min, max)
test.js:3510
↓ 4 callers
Method
stopAndPersist
(options)
index.js:793
↓ 4 callers
Method
succeed
Stop the spinner, change it to a green `✔` and persist the current text, or `text` if provided. @param text - Will persist text if provided. @retur
index.d.ts:287
↓ 3 callers
Method
#ensureCursorLine
()
test.js:142
↓ 3 callers
Method
#release
()
index.js:292
↓ 3 callers
Method
#showCursor
()
index.js:261
↓ 3 callers
Method
clear
Clear the spinner. @returns The spinner instance.
index.d.ts:325
↓ 3 callers
Method
cursorTo
(x)
test.js:339
↓ 3 callers
Function
getPassThroughStream
()
test.js:369
↓ 3 callers
Method
render
()
index.js:630
↓ 3 callers
Function
rowCount
(text, columns)
index.js:107
↓ 3 callers
Method
stopAndPersist
Stop the spinner and change the symbol or text. @returns The spinner instance.
index.d.ts:318
↓ 3 callers
Method
warn
Stop the spinner, change it to a yellow `⚠` and persist the current text, or `text` if provided. @param text - Will persist text if provided. @retu
index.d.ts:303
↓ 3 callers
Method
write
(content, encoding, callback)
test.js:246
↓ 2 callers
Method
#startRenderTimer
()
index.js:331
↓ 2 callers
Method
#tryRender
()
index.js:247
↓ 2 callers
Method
clearLine
(direction = 0)
test.js:311
↓ 2 callers
Function
doRawSpinner
(function_, extraOptions = {})
test.js:445
↓ 2 callers
Method
getCursorPos
()
test.js:294
↓ 2 callers
Method
getFrames
()
test.js:298
↓ 2 callers
Function
layOut
(text, columns)
index.js:40
↓ 2 callers
Method
moveCursor
(dx, dy)
test.js:325
↓ 2 callers
Function
startRow
()
index.js:46
↓ 2 callers
Function
stripSynchronizedOutputSequences
test.js:354
↓ 2 callers
Function
toScreen
test.js:367
↓ 2 callers
Function
withFakeStdin
(options = {}, callback)
test.js:394
↓ 1 callers
Method
#applyAnsiSequence
(sequence)
test.js:38
↓ 1 callers
Method
#clearLine
(mode)
test.js:83
↓ 1 callers
Method
#eraseRows
(count)
index.js:371
↓ 1 callers
Method
#hookStream
(stream)
index.js:386
↓ 1 callers
Method
#hookedWrite
(stream, originalWrite, chunk, encoding, callback)
index.js:447
↓ 1 callers
Method
#installHook
Intercept stream writes while spinner is active to handle external writes cleanly without visual corruption. Hooks process stdio streams and the acti
index.js:411
↓ 1 callers
Method
#scrollIfNeeded
()
test.js:133
↓ 1 callers
Method
#stringifyChunk
(chunk, encoding)
index.js:271
↓ 1 callers
Method
#uninstallHook
()
index.js:423
↓ 1 callers
Method
#writeCharacter
(character)
test.js:100
↓ 1 callers
Function
action
test.js:1959
↓ 1 callers
Method
addSequencer
(add, shouldClear = false)
test.js:274
↓ 1 callers
Function
applySynchronizedOutputFilter
test.js:356
↓ 1 callers
Function
assertNoAnsi
(result, name)
test.js:630
↓ 1 callers
Function
assertPauseStatePreserved
test.js:858
↓ 1 callers
Function
clearedLines
()
test.js:3388
↓ 1 callers
Function
createSpinner
(t, {columns, rows, stream = new LocalTransformTTY({columns, rows}), ...options} = {})
test.js:378
↓ 1 callers
Function
currentClearMethod
test.js:3267
↓ 1 callers
Function
cursorAtRow
()
test.js:3383
↓ 1 callers
Function
doSpinner
(function_, extraOptions = {})
test.js:466
↓ 1 callers
Method
fail
Stop the spinner, change it to a red `✖` and persist the current text, or `text` if provided. @param text - Will persist text if provided. @returns
index.d.ts:295
↓ 1 callers
Function
formatAffix
(value, separator, isPlaceBefore)
index.js:109
↓ 1 callers
Method
frame
()
index.js:597
↓ 1 callers
Method
frame
Get a new frame. @returns The rendered frame text.
index.d.ts:339
↓ 1 callers
Method
get
()
index.js:195
↓ 1 callers
Function
getLastSynchronizedOutput
test.js:344
↓ 1 callers
Method
getSequenceStrings
()
test.js:302
↓ 1 callers
Function
getTtyStreamWithoutCursorMethods
()
test.js:2052
↓ 1 callers
Method
info
Stop the spinner, change it to a blue `ℹ` and persist the current text, or `text` if provided. @param text - Will persist text if provided. @return
index.d.ts:311
↓ 1 callers
Function
makeSpinner
test.js:4099
↓ 1 callers
Method
onlyAnsi
(string)
test.js:201
↓ 1 callers
Function
oraPromise
(action, options)
index.js:823
↓ 1 callers
Function
rAnDoMaNiMaLs
(min, max)
test.js:3516
↓ 1 callers
Function
randomize
(s1, s2)
test.js:3530
↓ 1 callers
Function
randos
()
test.js:3528
↓ 1 callers
Method
render
Manually render a new frame. @returns The spinner instance.
index.d.ts:332
↓ 1 callers
Function
reset
()
test.js:1379
↓ 1 callers
Method
resize
(columns)
test.js:163
↓ 1 callers
Function
resolveText
(value, argument)
index.js:839
↓ 1 callers
Function
seededRandom
test.js:440
↓ 1 callers
Method
set
(newValue)
index.js:198
↓ 1 callers
Method
stop
()
index.js:759
↓ 1 callers
Function
tabStopWidth
(column, columns)
index.js:30
↓ 1 callers
Function
withLinuxConsole
test.js:424
↓ 1 callers
Function
writeGrapheme
(grapheme, width)
index.js:52
↓ 1 callers
Function
writeTab
()
index.js:70
Method
#canMoveCursor
()
index.js:341
Method
#columns
()
index.js:337
Method
clear
()
index.js:617
Method
clear
()
test.js:155
Method
color
()
index.js:561
Method
columns
()
test.js:227
Method
constructor
(options)
index.js:141
Method
constructor
({columns = 80, rows = undefined} = {})
test.js:33
Method
constructor
({rows = 25, columns = 80} = {})
test.js:211
Method
cursorPosition
()
test.js:148
Method
fail
(text)
index.js:781
Function
failText
()
test.js:986
Method
indent
()
index.js:477
Method
info
(text)
index.js:789
Method
interval
()
index.js:489
Method
interval
The interval between each frame. The interval is decided by the chosen spinner.
index.d.ts:264
Method
isEnabled
()
index.js:573
Method
isSilent
()
index.js:585
Method
isSpinning
()
index.js:557
Method
isSpinning
A boolean indicating whether the instance is currently spinning.
index.d.ts:247
next →
1–100 of 113, ranked by callers