Add foundation for exporting tokens

This commit is contained in:
Nate Butler
2023-06-08 00:37:00 -04:00
parent d4192fc3e9
commit c8a9d73ea6
7 changed files with 108 additions and 1 deletions
+1
View File
@@ -0,0 +1 @@
export function slugify(t: string): string { return t.toString().toLowerCase().replace(/\s+/g, '-').replace(/[^\w\-]+/g, '').replace(/\-\-+/g, '-').replace(/^-+/, '').replace(/-+$/, '') }