JSPM

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

TypeScript definitions for imagemin-svgo

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-svgo) 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-svgo

    Summary

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

    Details

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

    index.d.ts

    import { Plugin } from "imagemin";
    import { OptimizeOptions as SvgoOptions } from "svgo";
    
    /**
     * SVGO imagemin plugin
     */
    declare function imageminSvgo(options?: Options): Plugin;
    
    export type Options = SvgoOptions & {
        /**
         * Pass over SVGs multiple times to ensure all optimizations are applied
         * @default true
         */
        multipass?: boolean | undefined;
    };
    
    export default imageminSvgo;
    

    Additional Details

    Credits

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