npm.io
2.5.4 • Published 2 years ago

@types/gulp-strip-comments

Licence
MIT
Version
2.5.4
Deps
1
Size
4 kB
Vulns
0
Weekly
0
Stars
51.4K

Installation

npm install --save @types/gulp-strip-comments

Summary

This package contains type definitions for gulp-strip-comments (https://github.com/RnbWd/gulp-strip-comments).

Details

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

index.d.ts

/// <reference types="node" />

declare namespace stripComments {
    interface StripOptions {
        safe?: boolean | undefined;
        ignore?: RegExp | RegExp[] | undefined;
        space?: boolean | undefined;
        trim?: boolean | undefined;
    }

    interface Strip {
        (options?: StripOptions): NodeJS.ReadWriteStream;
        text(options?: StripOptions): NodeJS.ReadWriteStream;
        html(options?: StripOptions): NodeJS.ReadWriteStream;
        getEOL(): string;
    }
}

declare const strip: stripComments.Strip;

export = strip;

Additional Details

  • Last updated: Tue, 07 Nov 2023 0337 GMT
  • Dependencies: @types/node

Credits

These definitions were written by Aqours.