# ghost-progress-webpack-plugin

> A no side effects progress plugin for webpack.

Latest version **0.1.0** (published 2018-08-19) · MIT license · 0 weekly downloads

## Install

```sh
npm install ghost-progress-webpack-plugin
pnpm add ghost-progress-webpack-plugin
yarn add ghost-progress-webpack-plugin
bun add ghost-progress-webpack-plugin
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2018-08-19 |
| First published | 2018-07-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 38.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | ZSkycat |
| Maintainers | zskycat |
| Keywords | webpack, plugin, progress |

## Links

- npm: https://www.npmjs.com/package/ghost-progress-webpack-plugin
- Repository: https://github.com/ZSkycat/ghost-progress-webpack-plugin
- Homepage: https://github.com/ZSkycat/ghost-progress-webpack-plugin#readme
- Issues: https://github.com/ZSkycat/ghost-progress-webpack-plugin/issues
- npm.io page: https://npm.io/package/ghost-progress-webpack-plugin

## Dependencies (4)

- [chalk](https://npm.io/package/chalk.md) ^2.4.1
- [cjk-regex](https://npm.io/package/cjk-regex.md) ^2.0.0
- [ansi-regex](https://npm.io/package/ansi-regex.md) ^3.0.0
- [cli-cursor](https://npm.io/package/cli-cursor.md) ^2.1.0

## Alternatives

- [raw-loader](https://npm.io/package/raw-loader.md) — 4.3M weekly downloads
- [plop](https://npm.io/package/plop.md) — 1.4M weekly downloads
- [webpack-deadcode-plugin](https://npm.io/package/webpack-deadcode-plugin.md) — 80.3K weekly downloads
- [@storybook/preact-vite](https://npm.io/package/@storybook/preact-vite.md) — 54.2K weekly downloads
- [vite-plugin-transform](https://npm.io/package/vite-plugin-transform.md) — 2.4K weekly downloads

## Recent versions

- 0.1.0 (latest) — 2018-08-19
- 0.0.4 — 2018-07-08

## README

# ghost-progress-webpack-plugin
[![version](https://img.shields.io/npm/v/ghost-progress-webpack-plugin.svg)](https://www.npmjs.com/package/ghost-progress-webpack-plugin)
[![downloads](https://img.shields.io/npm/dt/ghost-progress-webpack-plugin.svg)](https://www.npmjs.com/package/ghost-progress-webpack-plugin)

A no side effects progress plugin for webpack.

Languages: [English](https://github.com/ZSkycat/ghost-progress-webpack-plugin#readme) | [中文](https://github.com/ZSkycat/ghost-progress-webpack-plugin/blob/master/README.zh.md)

## Feature
- Will not affect output from other tools
- Will not leave ugly output
- Not suitable for use in a CI environment (can use [simple-progress-webpack-plugin](https://github.com/dominique-mueller/simple-progress-webpack-plugin))

![preview-ghost](https://user-images.githubusercontent.com/20368649/42288692-5ee77a00-7fee-11e8-9480-eeac3469a8a8.gif)

## Get Started
#### Installation
```
npm install --save-dev ghost-progress-webpack-plugin
```

#### Usage
```javascript
// import
const GhostProgressWebpackPlugin = require('ghost-progress-webpack-plugin').GhostProgressWebpackPlugin;

// instantiate it in the webpack plugins configuration
plugins: [
    new GhostProgressWebpackPlugin()
]
```

## API
```
new GhostProgressWebpackPlugin(format: string);
new GhostProgressWebpackPlugin(options: object);
```

### options.format
**Type:** `'compact' | 'detailed' | 'bar'`<br>
**Default:** `'compact'`<br>

Set the output format.

`'compact'`
![compact](https://user-images.githubusercontent.com/20368649/42299306-0ae667fa-803d-11e8-984b-967353a51664.gif)

`'detailed'`
![detailed](https://user-images.githubusercontent.com/20368649/42288705-6b298f42-7fee-11e8-8110-73ce4e6eac68.gif)

`'bar'`
![bar](https://user-images.githubusercontent.com/20368649/42288706-7026daa4-7fee-11e8-9b76-d2c8064e3f2e.gif)

### options.stream
**Type:** `NodeJS.WriteStream`<br>
**Default:** `process.stderr`<br>

Set the write stream used by the output.

## License
[MIT](https://github.com/ZSkycat/ghost-progress-webpack-plugin/blob/master/LICENSE.txt)

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