UNPKG

stringman

Version:

Stringman does string manipulation and other string operations. Do anything from lightening color codes to swapping email address in a string!

12 lines (11 loc) 410 B
declare function isValid(str: string, exp: RegExp): boolean; declare function swap(str: string, str2: string, exp: RegExp): string; declare function remove(str: string, exp: RegExp): string; declare function retrieve(str: string, exp: RegExp): string[]; declare const common: { isValid: typeof isValid; remove: typeof remove; retrieve: typeof retrieve; swap: typeof swap; }; export { common };