MCPcopy Create free account
hub / github.com/sindresorhus/cli-spinners

github.com/sindresorhus/cli-spinners @v3.4.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v3.4.0 ↗ · + Follow
5 symbols 17 edges 5 files 0 documented · 0% 13 cross-repo links ● updated 2mo agov3.4.0 · 2026-01-13★ 2,9441 open issues

Browse by type

⨍ Functions 5◇ Types & classes 0
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

cli-spinners

70+ spinners for use in the terminal

<img width="700" src="https://github.com/sindresorhus/cli-spinners/raw/v3.4.0/screenshot.svg">

The list of spinners is just a JSON file and can be used wherever.

You probably want to use one of these spinners through the ora package.

Install

npm install cli-spinners

Usage

import cliSpinners from 'cli-spinners';

console.log(cliSpinners.dots);
/*
{
    interval: 80,
    frames: ['⠋', '⠙', '⠹', '⠸', '⠼', '⠴', '⠦', '⠧', '⠇', '⠏']
}
*/
  • interval is the intended time per frame, in milliseconds.
  • frames is an array of frames to show for the spinner.

Preview

The header GIF is outdated. See all the spinner at once or one at the time.

API

cliSpinners

Each spinner comes with a recommended interval and an array of frames.

See the spinners.

randomSpinner()

Get a random spinner.

import {randomSpinner} from 'cli-spinners';

console.log(randomSpinner());
/*
{
    interval: 80,
    frames: ['⠋', '⠙', '⠹', '⠸', '⠼', '⠴', '⠦', '⠧', '⠇', '⠏']
}
*/

Related

Core symbols most depended-on inside this repo

browse all functions →

Shape

Function 5

Languages

TypeScript100%

Modules by API surface

test.js2 symbols
example-all.js2 symbols
index.js1 symbols

For agents

$ claude mcp add cli-spinners \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page