cli-spinners

Spinners for use in the terminal

  • Owner: sindresorhus/cli-spinners
  • Platform:
  • License:: MIT License
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

cli-spinners Build Status

60+ spinners for use in the terminal

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 module.

Install

$ npm install cli-spinners

Usage

const cliSpinners = require('cli-spinners');

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

Preview

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

API

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

See the spinners.

License

MIT © Sindre Sorhus

Main metrics

Overview
Name With Ownersindresorhus/cli-spinners
Primary LanguageJavaScript
Program languageJavaScript (Language Count: 1)
Platform
License:MIT License
所有者活动
Created At2016-03-03 18:13:57
Pushed At2024-09-07 13:13:36
Last Commit At
Release Count27
Last Release Namev3.2.0 (Posted on 2024-09-07 19:56:25)
First Release Namev0.1.0 (Posted on 2016-03-04 01:21:24)
用户参与
Stargazers Count2.6k
Watchers Count20
Fork Count116
Commits Count88
Has Issues Enabled
Issues Count26
Issue Open Count3
Pull Requests Count34
Pull Requests Open Count0
Pull Requests Close Count17
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private