Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/netzo/cli/deps.ts>Spinner

Netzo - roll out internal tools faster
Go to Latest
class Spinner
import { Spinner } from "https://deno.land/x/netzo@v0.1.80/cli/deps.ts";

Constructors

new
Spinner(opts: Required<SpinnerOptions>)

Properties

color: string | ColorFunction
indent: number
interval: number
isSpinning: boolean
prefix: string
spinner: string | SpinnerAnimation
text: string

Methods

private
write(data: string)
clear(): void
fail(text?: string)
frame(): string
info(text?: string)
render(): void
stopAndPersist(options?: PersistOptions)
succeed(text?: string)
updateLines(): void
warn(text?: string)