Installations
npm install ink-spinner
Developer Guide
Typescript
No
Module System
ESM
Min. Node Version
>=14.16
Node Version
16.19.1
NPM Version
8.19.3
Releases
Contributors
Unable to fetch Contributors
Languages
TypeScript (100%)
Love this project? Help keep it running — sponsor us today! 🚀
Developer
vadimdemedes
Download Statistics
Total Downloads
58,221,598
Last Day
52,735
Last Week
52,735
Last Month
916,390
Last Year
13,331,124
GitHub Statistics
164 Stars
29 Commits
21 Forks
3 Watching
1 Branches
9 Contributors
Package Meta Information
Latest Version
5.0.0
Package Id
ink-spinner@5.0.0
Unpacked Size
5.34 kB
Size
2.50 kB
File Count
6
NPM Version
8.19.3
Node Version
16.19.1
Publised On
01 Mar 2023
Total Downloads
Cumulative downloads
Total Downloads
58,221,598
Last day
0%
52,735
Compared to previous day
Last week
-70.9%
52,735
Compared to previous week
Last month
-3.2%
916,390
Compared to previous month
Last year
55%
13,331,124
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
ink-spinner ![test](https://github.com/vadimdemedes/ink-spinner/workflows/test/badge.svg)
Spinner component for Ink. Uses cli-spinners for the collection of spinners.
Looking for a version compatible with Ink 2.x? Check out this release.
Install
$ npm install ink-spinner
Usage
1import React from 'react'; 2import { render, Text } from 'ink'; 3import Spinner from 'ink-spinner'; 4 5render( 6 <Text> 7 <Text color="green"> 8 <Spinner type="dots" /> 9 </Text> 10 {' Loading'} 11 </Text> 12);
![](media/demo.gif)
Props
type
Type: string
Defaults: dots
Type of a spinner. See cli-spinners for available spinners.
![Empty State](/_next/static/media/empty.e5fae2e5.png)
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
- Info: project has a license file: license:0
- Info: FSF or OSI recognized license: MIT License: license:0
Reason
Found 7/29 approved changesets -- score normalized to 2
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/vadimdemedes/ink-spinner/test.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/vadimdemedes/ink-spinner/test.yml/master?enable=pin
- Warn: npmCommand not pinned by hash: .github/workflows/test.yml:19
- Warn: npmCommand not pinned by hash: .github/workflows/test.yml:20
- Info: 0 out of 2 GitHub-owned GitHubAction dependencies pinned
- Info: 0 out of 2 npmCommand dependencies pinned
Reason
detected GitHub workflow tokens with excessive permissions
Details
- Warn: no topLevel permission defined: .github/workflows/test.yml:1
- Info: no jobLevel write permissions found
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 10 are checked with a SAST tool
Score
3.6
/10
Last Scanned on 2025-01-27
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More