# Installation
> `npm install --save @types/gulp-inject`

# Summary
This package contains type definitions for gulp-inject (https://github.com/klei/gulp-inject).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gulp-inject.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gulp-inject/index.d.ts)
````ts
/// <reference types="node" />
/// <reference types="vinyl" />

import File = require("vinyl");

declare function inject(sources: NodeJS.ReadableStream, options?: inject.IOptions): NodeJS.ReadWriteStream;

declare namespace inject {
    interface ITagFunction {
        (targetExt: string, sourceExt: string): string;
    }

    interface ITransformFunction {
        (filepath: string, file?: File, index?: number, length?: number, targetFile?: File): string;
    }

    interface IOptions {
        ignorePath?: string | string[] | undefined;
        relative?: boolean | undefined;
        addPrefix?: string | undefined;
        addSuffix?: string | undefined;
        addRootSlash?: boolean | undefined;
        name?: string | undefined;
        removeTags?: boolean | undefined;
        empty?: boolean | undefined;
        starttag?: string | ITagFunction | undefined;
        endtag?: string | ITagFunction | undefined;
        transform?: ITransformFunction | undefined;
        selfClosingTag?: boolean | undefined;
        quiet?: boolean | undefined;
    }
}

export = inject;

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 03:09:37 GMT
 * Dependencies: [@types/node](https://npmjs.com/package/@types/node), [@types/vinyl](https://npmjs.com/package/@types/vinyl)

# Credits
These definitions were written by [Keita Kagurazaka](https://github.com/k-kagurazaka).
