JSPM

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

TypeScript definitions for gulp-html-replace

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/gulp-html-replace) 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/gulp-html-replace

    Summary

    This package contains type definitions for gulp-html-replace (https://www.npmjs.com/package/gulp-html-replace).

    Details

    Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gulp-html-replace.

    index.d.ts

    /// <reference types="node" />
    
    interface AdvancedTask {
        src: string | string[];
        tpl: string;
    }
    
    interface Tasks {
        [taskId: string]: string | string[] | AdvancedTask;
    }
    
    interface Options {
        keepUnassigned?: boolean | undefined;
        keepBlockTags?: boolean | undefined;
        resolvePaths?: boolean | undefined;
    }
    
    interface HtmlReplace {
        (tasks: Tasks, options?: Options): NodeJS.ReadWriteStream;
    }
    
    declare const htmlReplace: HtmlReplace;
    export = htmlReplace;
    

    Additional Details

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

    Credits

    These definitions were written by Peter Juras.