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

std/cli/mod.ts>Spinner#start

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
method Spinner.prototype.start
import { Spinner } from "https://deno.land/std@0.220.0/cli/mod.ts";

Starts the spinner.

Examples

Example 1

import { Spinner } from "https://deno.land/std@0.220.0/cli/spinner.ts";

const spinner = new Spinner({ message: "Loading..." });
spinner.start();