UNPKG

@bearz/strings

Version:

A collection of string utilities to avoid extra allocations and enable case insensitivity comparisons.

12 lines (11 loc) 269 B
/** * The titleize module provides a function to convert a string to title case. * * @module */ /** * Converts the string to title case. * @param s The string to titleize. * @returns The titleized string. */ export declare function titleize(s: string): string;