JSPM

@types/imagemin-gifsicle

7.0.4
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 231902
  • Score
    100M100P100Q182290F
  • License MIT

TypeScript definitions for imagemin-gifsicle

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@types/imagemin-gifsicle) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    Installation

    npm install --save @types/imagemin-gifsicle

    Summary

    This package contains type definitions for imagemin-gifsicle (https://github.com/imagemin/imagemin-gifsicle#readme).

    Details

    Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/imagemin-gifsicle.

    index.d.ts

    import { Plugin } from "imagemin";
    
    /**
     * Imagemin plugin for {@link https://www.lcdf.org/gifsicle/|Gifsicle}
     */
    declare function imageminGifsicle(options?: imageminGifsicle.Options): Plugin;
    
    declare namespace imageminGifsicle {
        interface Options {
            /**
             * Reduce the number of distinct colors in each output GIF to num or less.
             * Num must be between 2 and 256.
             */
            colors?: number | undefined;
            /**
             * Interlace gif for progressive rendering.
             * @default false
             */
            interlaced?: boolean | undefined;
            /**
             * Select an optimization level between 1 and 3.
             * @see {@link https://github.com/imagemin/imagemin-gifsicle#optimizationlevel}
             * @default 1
             */
            optimizationLevel?: number | undefined;
        }
    }
    
    export = imageminGifsicle;
    

    Additional Details

    • Last updated: Tue, 07 Nov 2023 03:09:37 GMT
    • Dependencies: @types/imagemin

    Credits

    These definitions were written by Romain Faust, and Piotr Błażejewicz.