html-minifier-next
Version:
Super-configurable and well-tested web page minifier (enhanced successor of HTML Minifier)
7 lines • 538 B
TypeScript
export function trimWhitespace(str: any): any;
export function collapseWhitespaceAll(str: any): any;
export function collapseWhitespace(str: any, options: any, trimLeft: any, trimRight: any, collapseAll: any): any;
export function collapseWhitespaceSmart(str: any, prevTag: any, nextTag: any, prevAttrs: any, nextAttrs: any, options: any, inlineElements: any, inlineTextSet: any): any;
export function canCollapseWhitespace(tag: any): boolean;
export function canTrimWhitespace(tag: any): boolean;
//# sourceMappingURL=whitespace.d.ts.map