UNPKG

string-collapse-leading-whitespace

Version:

Collapse the leading and trailing whitespace of a string

5 lines (3 loc) 147 B
declare const version: string; declare function collWhitespace(str: string, lineBreakLimit?: number): string; export { collWhitespace, version };