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
推送於2024-09-07 13:13:36
最后一次提交
發布數27
最新版本名稱v3.2.0 (發布於 2024-09-07 19:56:25)
第一版名稱v0.1.0 (發布於 2016-03-04 01:21:24)
用户参与
星數2.6k
關注者數20
派生數116
提交數88
已啟用問題?
問題數26
打開的問題數3
拉請求數34
打開的拉請求數0
關閉的拉請求數17
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?