Parent Directory
|
Revision Log
chore: add trunk
1 | rakinar2 | 575 | 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 |