UNPKG

@altano/html-cdnify

Version:

Transform the relative URLs in your HTML markup (e.g. scripts, stylesheets, images) to use your CDN URL.

18 lines (17 loc) 540 B
import { Trumpet } from "@gofunky/trumpet"; //#region src/HtmlTransformer.d.ts type TrumpetTransformStream = Trumpet; declare class HtmlTransformer { private transformStream; constructor(); /** * Get the underlying transform stream */ get stream(): Trumpet; /** * Get a promise to the complete output Buffer (alternative API to dealing with stream) */ get outputBufferPromise(): Promise<Buffer>; } //#endregion export { TrumpetTransformStream, HtmlTransformer as default }; //# sourceMappingURL=HtmlTransformer.d.ts.map