# @types/webpack-error-notification

> TypeScript definitions for webpack-error-notification

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

## Install

```sh
npm install @types/webpack-error-notification
pnpm add @types/webpack-error-notification
yarn add @types/webpack-error-notification
bun add @types/webpack-error-notification
```

## 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; pre 1.0.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.1.5 |
| Published | 2023-11-07 |
| First published | 2020-02-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 4.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51420 |
| Maintainers | types |

## Links

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

## Dependencies (1)

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

## Recent versions

- 0.1.5 (latest) — 2023-11-07
- 0.1.2 (ts3.7) — 2021-07-02
- 0.1.0 (ts2.8) — 2020-02-20
- 0.1.4 — 2023-10-18
- 0.1.3 — 2023-09-25
- 0.1.1 — 2021-03-25

## README

# Installation
> `npm install --save @types/webpack-error-notification`

# Summary
This package contains type definitions for webpack-error-notification (https://github.com/vsolovyov/webpack-error-notification#readme).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/webpack-error-notification.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/webpack-error-notification/index.d.ts)
````ts
import { Plugin, Stats } from "webpack";

declare class WebpackErrorNotificationPlugin extends Plugin {
    /**
     * You can supply some strategy for the plugin to display notification.
     * If you don't supply anything, it will use process.platform as a strategy name.
     * `darwin` and `linux` are supported out of the box now.
     * You can also supply function(msg) {} as a strategy that will use your notification CLI tool of choice.
     */
    constructor(strategy?: WebpackErrorNotificationPlugin.Strategy, options?: WebpackErrorNotificationPlugin.Options);

    compileMessage(stats: Stats): string;
    compilationDone(stats: Stats): void;
}

declare namespace WebpackErrorNotificationPlugin {
    type Strategy = "darwin" | "linux" | ((msg: string) => void);

    interface Options {
        /** if you do not want to notify warnings, set this to `false` */
        notifyWarnings?: boolean | undefined;
    }
}

export = WebpackErrorNotificationPlugin;

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 15:11:36 GMT
 * Dependencies: [@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/webpack-error-notification · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
