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?
已存档?
是复刻?
已锁定?
是镜像?
是私有?