Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 2.2% on proxy.golang.org
Top 0.4% dependent packages on proxy.golang.org
Top 0.5% dependent repos on proxy.golang.org
Top 6.3% forks on proxy.golang.org
Top 0.7% docker downloads on proxy.golang.org

proxy.golang.org : github.com/theckman/yacspin

Package yacspin provides Yet Another CLi Spinner for Go, taking inspiration (and some utility code) from the https://github.com/briandowns/spinner project. Specifically this project borrows the default character sets, and color mappings to github.com/fatih/color colors, from that project. This spinner should support all major operating systems, and is tested against Linux, MacOS, and Windows. This spinner also supports an alternate mode of operation when the TERM environment variable is set to "dumb". This is discovered automatically when constructing the spinner. Within the yacspin package there are some default spinners stored in the yacspin.CharSets variable, and you can also provide your own. There is also a list of known colors in the yacspin.ValidColors variable, if you'd like to see what's supported. If you've used github.com/fatih/color before, they should look familiar. Check out the Config struct to see all of the possible configuration options supported by the Spinner.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/theckman/yacspin
Keywords: cli, go, golang, spinner, statusbar, terminal, terminal-ui
License: Apache-2.0
Latest release: over 2 years ago
First release: over 4 years ago
Namespace: github.com/theckman
Dependent packages: 123
Dependent repositories: 197
Stars: 393 on GitHub
Forks: 11 on GitHub
Docker dependents: 28
Docker downloads: 23,881,071
See more repository details: repos.ecosyste.ms
Last synced: 29 days ago

    Loading...
    Readme
    Loading...