diff --git a/src/operations/kebabcase.ts b/src/operations/kebabcase.ts index 4a37224..6a1d1b7 100644 --- a/src/operations/kebabcase.ts +++ b/src/operations/kebabcase.ts @@ -1,5 +1,5 @@ export function kebabcase(str: string): string { return str.replace(/([a-z])([A-Z])/g, "$1-$2") .replace(/[\s_/]+/g, '-') - .toLowerCase(); + .toLowerCase().replace('/', '-'); } \ No newline at end of file