Page MenuHomeSealhub

make-slug.ts
No OneTemporary

make-slug.ts

export function makeSlug(t: string) {
return t
.replaceAll(/\P{General_Category=Letter}/g, "-")
.replaceAll(/-+/g, "-");
}

File Metadata

Mime Type
text/plain
Expires
Sat, Oct 11, 07:08 (8 h, 51 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
929083
Default Alt Text
make-slug.ts (128 B)

Event Timeline