Big update!Announcing Socket for GitHub 1.0. Learn more
Socket
BlogLoveFAQ
Install
Log in

cli-spinners

Package Overview
Dependencies
0
Maintainers
1
Versions
20
Issues
File Explorer

Advanced tools

cli-spinners

Spinners for use in the terminal

    2.7.0latest

Version published
Maintainers
1
Weekly downloads
12,777,745
decreased by-2.69%

Weekly downloads

Changelog

Source

  • Add dots13 and sand spinner (#63) 0445ebc

https://github.com/sindresorhus/cli-spinners/compare/v2.6.1...v2.7.0

Readme

Source

cli-spinners

70+ 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.

The random spinner will return a random spinner each time it's called.

Keywords

FAQs

What is cli-spinners?

Spinners for use in the terminal

Is cli-spinners popular?

The npm package cli-spinners receives a total of 10,711,184 weekly downloads. As such, cli-spinners popularity was classified as popular.

Is cli-spinners well maintained?

We found that cli-spinners demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.It has 1 open source maintainer collaborating on the project.

Last updated on 24 Jul 2022
Socket

Product

Subscribe to our newsletter

Get open source security insights delivered straight into your inbox. Be the first to learn about new features and product updates.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc