@veecode-platform/safira-cli
Version:
Generate a microservice project from your spec.
19 lines (18 loc) • 871 B
TypeScript
export declare class StringUtils {
static isNullOrEmpty(str: string): boolean;
static removeDigits(str: string): string;
static onlyNumbers(str: string): string;
static kebabCaseToCamelCase(str: string): string;
static camelCaseToKebabCase(str: string): string;
static getFileExtension(fileName: string): string;
static getFullFileName(pathFile: string): string;
static getFileName(pathFile: string): string;
static capitalize(str: string): string;
static removeLastFolderFromStringPath(path: string): string;
static replaceAll(str: string, find: string, replace: string): string;
static getUserAgent(): string;
static removeComments(string: string): string;
static removeMultiLineAndWhiteSpaces(string: string): string;
static encodeBase64(str: string): string;
static decodeBase64(str: string): string;
}