Parent Directory
|
Revision Log
chore: push code for v9 [second attempt]
1 | rakinar2 | 573 | export const toTitleCase = (s: string) => |
2 | s | ||
3 | .replace(/^[-_]*(.)/, (_, c) => c.toUpperCase()) | ||
4 | .replace(/[-_]+(.)/g, (_, c) => " " + c.toUpperCase()); |
[email protected] | ViewVC Help |
Powered by ViewVC 1.1.26 |