UNPKG

gulp-banner-footer

Version:

gulp plugin for adding banner or footer to file.

23 lines (20 loc) 544 B
import { Transform } from 'node:stream'; import Vinyl from 'vinyl'; interface Options { /** * banner content */ banner?: string | ((file: Vinyl) => string | undefined); /** * footer content */ footer?: string | ((file: Vinyl) => string | undefined); /** * Display file name is being processing * * @default false */ verbose?: boolean; } declare const addBannerOrFooter: (options?: Options) => Transform; export { type Options, addBannerOrFooter, addBannerOrFooter as default };