# @types/multi-progress

> TypeScript definitions for multi-progress

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

## Install

```sh
npm install @types/multi-progress
pnpm add @types/multi-progress
yarn add @types/multi-progress
bun add @types/multi-progress
```

## 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 | 2.0.6 |
| Published | 2023-11-07 |
| First published | 2018-12-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 4.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51439 |
| Maintainers | types |

## Links

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

## Dependencies (2)

- [@types/node](https://npm.io/package/@types/node.md) *
- [@types/progress](https://npm.io/package/@types/progress.md) *

## Recent versions

- 2.0.6 (latest) — 2023-11-07
- 2.0.3 (ts2.0) — 2018-12-17
- 2.0.5 — 2023-10-18
- 2.0.4 — 2023-09-27
- 2.0.2 — 2018-12-14
- 2.0.1 — 2018-12-12
- 2.0.0 — 2018-12-12

## README

# Installation
> `npm install --save @types/multi-progress`

# Summary
This package contains type definitions for multi-progress (https://github.com/pitaj/multi-progress).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/multi-progress.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/multi-progress/index.d.ts)
````ts
/// <reference types="node"/>

import ProgressBar = require("progress");
import { Stream } from "stream";

export as namespace MultiProgress;

export = MultiProgress;

declare class MultiProgress {
    /**
     * Create a new @see MultiProgress with the given stream, or stderr by default
     * @param stream A stream to write the progress bars to
     */
    constructor(stream?: Stream);

    /**
     * Add a new bar
     */
    newBar: (format: string, options: ProgressBar.ProgressBarOptions) => ProgressBar;

    /**
     * Close all bars
     */
    terminate: () => void;

    /**
     * Render the given progress bar
     */
    move: (index: number) => void;

    /**
     * Move the bar indicated by index forward the number of steps indicated by value
     */
    tick: (index: number, value: number, options?: any) => void;

    /**
     * Update the bar indicated by index to the value given
     */
    update: (index: number, value: number, options?: any) => void;
}

declare namespace MultiProgress {}

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 09:09:39 GMT
 * Dependencies: [@types/node](https://npmjs.com/package/@types/node), [@types/progress](https://npmjs.com/package/@types/progress)

# Credits
These definitions were written by [David Brett](https://github.com/DHBrett).

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