@n3okill/utils
Version:
Many javascript helpers
9 lines (8 loc) • 357 B
TypeScript
/**
* Converts a CamelCase name into space-separated words.
* For example, 'PostTag' will be converted to 'Post Tag'.
* @param name the Buffer to be converted
* @param ucwords whether to capitalize the first letter in each word
* @return Buffer with the resulting words
*/
export declare function titleCase(name: Buffer, ucwords?: boolean): Buffer;