stringman
Version:
Stringman does string manipulation and other string operations. Do anything from lightening color codes to swapping email address in a string!
15 lines (14 loc) • 606 B
TypeScript
import { IReplaceWith } from '../models/whitespace.model';
declare function removeBreaks(str: string): string;
declare function removeTabs(str: string): string;
declare function removeAll(str: string): string;
declare function singleSpace(str: string): string;
declare function replaceWith(str: string, toReplace: IReplaceWith, newStr: string, single?: boolean): string;
declare const whitespace: {
removeAll: typeof removeAll;
removeBreaks: typeof removeBreaks;
removeTabs: typeof removeTabs;
replaceWith: typeof replaceWith;
singleSpace: typeof singleSpace;
};
export { whitespace };