Complexity Score
Low
Open Issues
0
Dependent Projects
146
Weekly Downloadsglobal
2,010,884
Downloads
Readme
elegant-spinner
Elegant spinner for interactive CLI apps
You probably want ora
instead, which includes this spinner and handles the animation for you.
Install
$ npm install elegant-spinner
Usage
import elegantSpinner from 'elegant-spinner';
import logUpdate from 'log-update';
const frame = elegantSpinner();
setInterval(() => {
logUpdate(frame());
}, 50);
Related
- log-update - Log by overwriting the previous output in the terminal. Useful for rendering progress bars, animations, etc.
Tidelift helps make open source sustainable for maintainers while giving companies
assurances about security, maintenance, and licensing for their dependencies.
Dependencies
No runtime dependency information found for this package.
CVE IssuesActive
0
Scorecards Score
4.20
Test Coverage
No Data
Follows Semver
Yes
Github Stars
227
Dependenciestotal
3
DependenciesOutdated
3
DependenciesDeprecated
0
Threat Modelling
No
Repo Audits
No
Learn how to distribute elegant-spinner in your own private NPM registry
$npm config set registry
https://npm.cloudsmith.com/owner/repo
/Processing...
✓Done
$npm install elegant-spinner
/Processing...
✓Done
4 Releases
NPM on Cloudsmith