# @types/imagemin-optipng

> TypeScript definitions for imagemin-optipng

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

## Install

```sh
npm install @types/imagemin-optipng
pnpm add @types/imagemin-optipng
yarn add @types/imagemin-optipng
bun add @types/imagemin-optipng
```

## 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 | 5.2.4 |
| Published | 2023-11-07 |
| First published | 2018-08-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 3.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51441 |
| Maintainers | types |

## Links

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

## Dependencies (1)

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

## Recent versions

- 5.2.4 (latest) — 2023-11-07
- 5.2.1 (ts3.6) — 2021-07-06
- 5.2.0 (ts2.0) — 2018-08-26
- 5.2.3 — 2023-10-18
- 5.2.2 — 2023-09-26

## README

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

declare function imageminOptipng(options?: imageminOptipng.Options): Plugin;

declare namespace imageminOptipng {
    interface Options {
        bitDepthReduction?: boolean | undefined;
        colorTypeReduction?: boolean | undefined;
        optimizationLevel?: number | undefined;
        paletteReduction?: boolean | undefined;
    }
}

export = imageminOptipng;

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 03:09:37 GMT
 * Dependencies: [@types/imagemin](https://npmjs.com/package/@types/imagemin)

# Credits
These definitions were written by [Romain Faust](https://github.com/romain-faust).

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