# @types/progress-bar-webpack-plugin

> TypeScript definitions for progress-bar-webpack-plugin

Latest version **2.1.6** (published 2025-10-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/progress-bar-webpack-plugin
pnpm add @types/progress-bar-webpack-plugin
yarn add @types/progress-bar-webpack-plugin
bun add @types/progress-bar-webpack-plugin
```

## Health

**Score 65/100 (B)** — status: stable.

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

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 2.1.6 |
| Published | 2025-10-24 |
| First published | 2020-03-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51449 |
| Maintainers | types |

## Links

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

## Dependencies (2)

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

## Recent versions

- 2.1.6 (latest) — 2025-10-24
- 2.1.5 (ts5.1) — 2023-11-07
- 2.1.2 (ts3.7) — 2021-07-08
- 2.1.0 (ts2.8) — 2020-03-27
- 2.1.4 — 2023-10-18
- 2.1.3 — 2023-09-24
- 2.1.1 — 2021-03-25

## README

# Installation
> `npm install --save @types/progress-bar-webpack-plugin`

# Summary
This package contains type definitions for progress-bar-webpack-plugin (https://github.com/clessg/progress-bar-webpack-plugin#readme).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/progress-bar-webpack-plugin.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/progress-bar-webpack-plugin/index.d.ts)
````ts
import ProgressBar = require("progress");
import { Plugin } from "webpack";

export = ProgressBarPlugin;

declare namespace ProgressBarPlugin {
    interface Options extends ProgressBar.ProgressBarOptions {
        /**
         * the format of the progress bar
         * @default ':bar'
         */
        format?: string | undefined;
        /**
         * optional function to call when the progress bar completes
         */
        callback?: (() => void) | undefined;
        /**
         * option to show summary of time taken
         * @default true
         */
        summary?: boolean | undefined;
        /**
         * custom summary message if summary option is false
         */
        summaryContent?: boolean | undefined;
        /**
         * function to display a custom summary
         * (passed build time)
         */
        customSummary?: ((summary: string) => void) | undefined;
    }
}

/**
 * A progress bar plugin for Webpack.
 */
declare class ProgressBarPlugin extends Plugin {
    constructor(options?: ProgressBarPlugin.Options);
}

````

### Additional Details
 * Last updated: Fri, 24 Oct 2025 04:02:41 GMT
 * Dependencies: [@types/progress](https://npmjs.com/package/@types/progress), [@types/webpack](https://npmjs.com/package/@types/webpack)

# Credits
These definitions were written by [Piotr Błażejewicz (Peter Blazejewicz)](https://github.com/peterblazejewicz).

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