Installation
npm install --save @types/chalk-animation
Summary
This package contains type definitions for chalk-animation (https://github.com/bokub/chalk-animation).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chalk-animation.
export const rainbow: AnimationFn;
export const pulse: AnimationFn;
export const glitch: AnimationFn;
export const radar: AnimationFn;
export const neon: AnimationFn;
export const karaoke: AnimationFn;
export type AnimationFn = (text: string, speed?: number) => Animation;
export interface Animation {
text: string[];
lines: number;
stopped: boolean;
init: boolean;
f: number;
start(): void;
stop(): void;
replace(text: string): void;
render(): void;
frame(): string;
}
Additional Details
- Last updated: Tue, 17 Oct 2023 22:10:14 GMT
- Dependencies: none
Credits
These definitions were written by BendingBender.