@eljs/utils
Version:
Collection of nodejs utility.
21 lines • 470 B
TypeScript
/**
* 小驼峰格式
* @param str 字符串
*/
export declare function camelCase(str: string): string;
/**
* 大驼峰格式
* @param str 字符串
*/
export declare function pascalCase(str: string): string;
/**
* 中划线格式
* @param str 字符串
*/
export declare function kebabCase(str: string): string;
/**
* 去除空白行
* @param str 字符串
*/
export declare function stripBlankLines(str: string): string;
//# sourceMappingURL=index.d.ts.map