Skip to main content

@std/cli@0.215.0

latest
Works with
It is unknown whether this package works with Browsers, Deno, Node.js, Cloudflare Workers, Bun
It is unknown whether this package works with Browsers
It is unknown whether this package works with Deno
It is unknown whether this package works with Node.js
It is unknown whether this package works with Cloudflare Workers
It is unknown whether this package works with Bun
JSR Score64%
Published2 years ago (0.215.0)
interface SpinnerOptions

Options for Spinner.

Properties

optional
spinner: string[] = ["⠋", "⠙", "⠹", "⠸", "⠼", "⠴", "⠦", "⠧", "⠇", "⠏"]

The sequence of characters to be iterated through for animation.

The message to display next to the spinner. This can be changed while the spinner is active.

The time between each frame of the spinner in milliseconds.

The color of the spinner. Defaults to the default terminal color. This can be changed while the spinner is active.

Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@std/cli

Import symbol

import { type SpinnerOptions } from "@std/cli/spinner";
or

Import directly with a jsr specifier

import { type SpinnerOptions } from "jsr:@std/cli/spinner";