@types/cli-spinner
- Version 0.2.3
- Published
- 4.13 kB
- 1 dependency
- MIT license
Install
npm i @types/cli-spinner
yarn add @types/cli-spinner
pnpm add @types/cli-spinner
Overview
TypeScript definitions for cli-spinner
Index
Classes
class Spinner
class Spinner {}
constructor
constructor(titleOrOptions?: string | Options);
property stream
readonly stream: NodeJS.WritableStream;
method clearLine
clearLine: (stream: NodeJS.WritableStream) => this;
method isSpinning
isSpinning: () => boolean;
method setDefaultSpinnerDelay
static setDefaultSpinnerDelay: (spinnerDelay: number) => typeof Spinner;
method setDefaultSpinnerString
static setDefaultSpinnerString: ( spinnerString: string | number) => typeof Spinner;
method setSpinnerDelay
setSpinnerDelay: (spinnerDelay: number) => this;
method setSpinnerString
setSpinnerString: (spinnerString: string | number) => this;
method setSpinnerTitle
setSpinnerTitle: (title: string) => this;
method start
start: () => this;
method stop
stop: (clear?: boolean) => this;
Interfaces
Package Files (1)
Dependencies (1)
Dev Dependencies (0)
No dev dependencies.
Peer Dependencies (0)
No peer dependencies.
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@types/cli-spinner
.
- Markdown[![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@types/cli-spinner)
- HTML<a href="https://www.jsdocs.io/package/@types/cli-spinner"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 2335 ms. - Missing or incorrect documentation? Open an issue for this package.