MCPcopy Create free account

hub / github.com/sindresorhus/ora / functions

Functions113 in github.com/sindresorhus/ora

↓ 10 callersFunctionora
(options)
index.js:819
↓ 8 callersMethodstart
Start the spinner. @param text - Set the current text. @returns The spinner instance.
index.d.ts:272
↓ 6 callersMethodwrite
(content)
test.js:169
↓ 5 callersMethodstop
Stop and clear the spinner. @returns The spinner instance.
index.d.ts:279
↓ 5 callersMethodtoString
()
test.js:189
↓ 4 callersMethod#buildOutputLine
(symbol, text, prefixText, suffixText)
index.js:318
↓ 4 callersMethod#clearDisplay
()
index.js:349
↓ 4 callersMethod#internalWrite
(fn)
index.js:235
↓ 4 callersFunctionrando
(min, max)
test.js:3510
↓ 4 callersMethodstopAndPersist
(options)
index.js:793
↓ 4 callersMethodsucceed
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 callersMethod#ensureCursorLine
()
test.js:142
↓ 3 callersMethod#release
()
index.js:292
↓ 3 callersMethod#showCursor
()
index.js:261
↓ 3 callersMethodclear
Clear the spinner. @returns The spinner instance.
index.d.ts:325
↓ 3 callersMethodcursorTo
(x)
test.js:339
↓ 3 callersFunctiongetPassThroughStream
()
test.js:369
↓ 3 callersMethodrender
()
index.js:630
↓ 3 callersFunctionrowCount
(text, columns)
index.js:107
↓ 3 callersMethodstopAndPersist
Stop the spinner and change the symbol or text. @returns The spinner instance.
index.d.ts:318
↓ 3 callersMethodwarn
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 callersMethodwrite
(content, encoding, callback)
test.js:246
↓ 2 callersMethod#startRenderTimer
()
index.js:331
↓ 2 callersMethod#tryRender
()
index.js:247
↓ 2 callersMethodclearLine
(direction = 0)
test.js:311
↓ 2 callersFunctiondoRawSpinner
(function_, extraOptions = {})
test.js:445
↓ 2 callersMethodgetCursorPos
()
test.js:294
↓ 2 callersMethodgetFrames
()
test.js:298
↓ 2 callersFunctionlayOut
(text, columns)
index.js:40
↓ 2 callersMethodmoveCursor
(dx, dy)
test.js:325
↓ 2 callersFunctionstartRow
()
index.js:46
↓ 2 callersFunctionstripSynchronizedOutputSequences
test.js:354
↓ 2 callersFunctiontoScreen
test.js:367
↓ 2 callersFunctionwithFakeStdin
(options = {}, callback)
test.js:394
↓ 1 callersMethod#applyAnsiSequence
(sequence)
test.js:38
↓ 1 callersMethod#clearLine
(mode)
test.js:83
↓ 1 callersMethod#eraseRows
(count)
index.js:371
↓ 1 callersMethod#hookStream
(stream)
index.js:386
↓ 1 callersMethod#hookedWrite
(stream, originalWrite, chunk, encoding, callback)
index.js:447
↓ 1 callersMethod#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 callersMethod#scrollIfNeeded
()
test.js:133
↓ 1 callersMethod#stringifyChunk
(chunk, encoding)
index.js:271
↓ 1 callersMethod#uninstallHook
()
index.js:423
↓ 1 callersMethod#writeCharacter
(character)
test.js:100
↓ 1 callersFunctionaction
test.js:1959
↓ 1 callersMethodaddSequencer
(add, shouldClear = false)
test.js:274
↓ 1 callersFunctionapplySynchronizedOutputFilter
test.js:356
↓ 1 callersFunctionassertNoAnsi
(result, name)
test.js:630
↓ 1 callersFunctionassertPauseStatePreserved
test.js:858
↓ 1 callersFunctionclearedLines
()
test.js:3388
↓ 1 callersFunctioncreateSpinner
(t, {columns, rows, stream = new LocalTransformTTY({columns, rows}), ...options} = {})
test.js:378
↓ 1 callersFunctioncurrentClearMethod
test.js:3267
↓ 1 callersFunctioncursorAtRow
()
test.js:3383
↓ 1 callersFunctiondoSpinner
(function_, extraOptions = {})
test.js:466
↓ 1 callersMethodfail
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 callersFunctionformatAffix
(value, separator, isPlaceBefore)
index.js:109
↓ 1 callersMethodframe
()
index.js:597
↓ 1 callersMethodframe
Get a new frame. @returns The rendered frame text.
index.d.ts:339
↓ 1 callersMethodget
()
index.js:195
↓ 1 callersFunctiongetLastSynchronizedOutput
test.js:344
↓ 1 callersMethodgetSequenceStrings
()
test.js:302
↓ 1 callersFunctiongetTtyStreamWithoutCursorMethods
()
test.js:2052
↓ 1 callersMethodinfo
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 callersFunctionmakeSpinner
test.js:4099
↓ 1 callersMethodonlyAnsi
(string)
test.js:201
↓ 1 callersFunctionoraPromise
(action, options)
index.js:823
↓ 1 callersFunctionrAnDoMaNiMaLs
(min, max)
test.js:3516
↓ 1 callersFunctionrandomize
(s1, s2)
test.js:3530
↓ 1 callersFunctionrandos
()
test.js:3528
↓ 1 callersMethodrender
Manually render a new frame. @returns The spinner instance.
index.d.ts:332
↓ 1 callersFunctionreset
()
test.js:1379
↓ 1 callersMethodresize
(columns)
test.js:163
↓ 1 callersFunctionresolveText
(value, argument)
index.js:839
↓ 1 callersFunctionseededRandom
test.js:440
↓ 1 callersMethodset
(newValue)
index.js:198
↓ 1 callersMethodstop
()
index.js:759
↓ 1 callersFunctiontabStopWidth
(column, columns)
index.js:30
↓ 1 callersFunctionwithLinuxConsole
test.js:424
↓ 1 callersFunctionwriteGrapheme
(grapheme, width)
index.js:52
↓ 1 callersFunctionwriteTab
()
index.js:70
Method#canMoveCursor
()
index.js:341
Method#columns
()
index.js:337
Methodclear
()
index.js:617
Methodclear
()
test.js:155
Methodcolor
()
index.js:561
Methodcolumns
()
test.js:227
Methodconstructor
(options)
index.js:141
Methodconstructor
({columns = 80, rows = undefined} = {})
test.js:33
Methodconstructor
({rows = 25, columns = 80} = {})
test.js:211
MethodcursorPosition
()
test.js:148
Methodfail
(text)
index.js:781
FunctionfailText
()
test.js:986
Methodindent
()
index.js:477
Methodinfo
(text)
index.js:789
Methodinterval
()
index.js:489
Methodinterval
The interval between each frame. The interval is decided by the chosen spinner.
index.d.ts:264
MethodisEnabled
()
index.js:573
MethodisSilent
()
index.js:585
MethodisSpinning
()
index.js:557
MethodisSpinning
A boolean indicating whether the instance is currently spinning.
index.d.ts:247
next →1–100 of 113, ranked by callers