cli-spinners

Spinners for use in the terminal

  • 所有者: sindresorhus/cli-spinners
  • 平台:
  • 許可證: MIT License
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

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

主要指標

概覽
名稱與所有者sindresorhus/cli-spinners
主編程語言JavaScript
編程語言JavaScript (語言數: 1)
平台
許可證MIT License
所有者活动
創建於2016-03-03 18:13:57
推送於2025-09-25 03:51:25
最后一次提交
發布數29
最新版本名稱v3.3.0 (發布於 2025-09-25 12:50:18)
第一版名稱v0.1.0 (發布於 2016-03-04 01:21:24)
用户参与
星數2.6k
關注者數20
派生數120
提交數94
已啟用問題?
問題數28
打開的問題數3
拉請求數37
打開的拉請求數1
關閉的拉請求數18
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?