stringman
Version:
Stringman does string manipulation and other string operations. Do anything from lightening color codes to swapping email address in a string!
14 lines (13 loc) • 442 B
TypeScript
declare function retrieve(str: string): RegExpMatchArray;
declare function isValid(str: string): boolean;
declare function remove(str: string): string;
declare function swap(str: string, newVer: string): string;
declare function expression(): RegExp;
declare const semver: {
expression: typeof expression;
isValid: typeof isValid;
remove: typeof remove;
retrieve: typeof retrieve;
swap: typeof swap;
};
export { semver };