A tiny starter project that shows how CodeHub repositories work.

1export function greet(name: string): string {
2 return `Hello, ${name}! Welcome to CodeHub.`;
3}
4
5export function slugify(value: string): string {
6 return value.toLowerCase().trim().replace(/[^a-z0-9]+/g, "-");
7}
8
8 lines · 213 bytesLast updated 3 days ago