OptionalcolorOptional function to style the spinner text (e.g., apply colors).
Should accept a string and return a styled string—commonly via ANSI SGR. (en.wikipedia.org)
OptionalintervalTime in milliseconds between frame updates.
Uses setInterval; the timer must be cleared to prevent keeping the Node.js event loop alive. (nodejs.org)
OptionallabelOptional label displayed next to the spinner.
OptionalpersistSymbol to display when using stopAndPersist().
Options to customize the spinner's behavior and appearance.