UNPKG

gulp-fetch

Version:

Gulp plugin for downloading files over HTTP/HTTPS using Node Fetch and returning them to stream pipeline.

15 lines (10 loc) 285 B
import { Transform } from "stream"; declare module "gulp-fetch" { interface remoteItem { url: string; filename?: string; } type Urls = string | remoteItem | Array<string | remoteItem>; function download(items: Urls): Transform; export = download; }