npm.io
4.0.0 • Published 1 year ago

@types/imagemin-upng

Licence
MIT
Version
4.0.0
Deps
1
Size
3 kB
Vulns
0
Weekly
0
Stars
51.4K

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

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

Credits

These definitions were written by Piotr Błażejewicz.