Parent Directory
|
Revision Log
chore: sync with git
1 | import { BASE_URL } from "./links"; |
2 | |
3 | export const toTitleCase = (s: string) => |
4 | s |
5 | .replace(/^[-_]*(.)/, (_, c) => c.toUpperCase()) |
6 | .replace(/[-_]+(.)/g, (_, c) => " " + c.toUpperCase()); |
7 | |
8 | export const absoluteURL = (url: string) => `${BASE_URL}${url}`; |
[email protected] | ViewVC Help |
Powered by ViewVC 1.1.26 |