3.0.3 • Published 6 months ago

@types/imagemin-upng v3.0.3

Weekly downloads
6
License
MIT
Repository
github
Last release
6 months ago

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

// Type definitions for imagemin-upng 3.0
// Project: https://github.com/fisker/imagemin-upng#readme
// Definitions by: Piotr Błażejewicz <https://github.com/peterblazejewicz>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

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: Thu, 05 Aug 2021 19:01:24 GMT
  • Dependencies: @types/imagemin
  • Global values: none

Credits

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

3.0.3

6 months ago

3.0.2

7 months ago

3.0.1

8 months ago

3.0.0

3 years ago

2.0.1

3 years ago

2.0.0

4 years ago