# @types/imagemin-upng

> TypeScript definitions for imagemin-upng

Latest version **4.0.0** (published 2024-10-04) · MIT license · 0 weekly downloads

## Install

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

## Health

**Score 60/100 (C)** — status: stable.

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

Warnings: low downloads.

Negative: stale.

## Facts

| | |
|---|---|
| Version | 4.0.0 |
| Published | 2024-10-04 |
| First published | 2020-08-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM |
| 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-upng
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/imagemin-upng
- npm.io page: https://npm.io/package/@types/imagemin-upng

## Dependencies (1)

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

## Recent versions

- 4.0.0 (latest) — 2024-10-04
- 3.0.3 (ts4.7) — 2023-11-07
- 3.0.0 (ts4.1) — 2021-08-05
- 2.0.0 (ts3.3) — 2020-08-30
- 3.0.2 — 2023-10-18
- 3.0.1 — 2023-09-26
- 2.0.1 — 2021-07-08

## README

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

/**
 * upng imagemin plugin
 */
declare function process(options?: process.Options): Plugin;

declare namespace process {
    interface Options {
        /**
         * number of colors in the result (0 = lossless, 256 = lossy).
         * @default 256
         */
        cnum?: number | undefined;
    }
}

export default process;

````

### Additional Details
 * Last updated: Fri, 04 Oct 2024 16:42:27 GMT
 * Dependencies: [@types/imagemin](https://npmjs.com/package/@types/imagemin)

# Credits
These definitions were written by [Piotr Błażejewicz](https://github.com/peterblazejewicz).

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