# @types/chalk-animation

> TypeScript definitions for chalk-animation

Latest version **1.6.3** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/chalk-animation
pnpm add @types/chalk-animation
yarn add @types/chalk-animation
bun add @types/chalk-animation
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.6.3 |
| Published | 2023-11-07 |
| First published | 2018-12-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51434 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/chalk-animation
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chalk-animation
- npm.io page: https://npm.io/package/@types/chalk-animation

## Recent versions

- 1.6.3 (latest) — 2023-11-07
- 1.6.1 (ts3.6) — 2021-08-18
- 1.6.0 (ts2.0) — 2018-12-17
- 1.6.2 — 2023-10-17

## README

# 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.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chalk-animation/index.d.ts)
````ts
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: Mon, 06 Nov 2023 22:41:05 GMT
 * Dependencies: none

# Credits
These definitions were written by [BendingBender](https://github.com/BendingBender).

---
_Source: https://npm.io/package/@types/chalk-animation · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
