We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cea88c2 commit 8960548Copy full SHA for 8960548
src/camelize.ts
@@ -0,0 +1,3 @@
1
+export function camelize(s: string): string {
2
+ return s.replace(/-(\w)/g, (all, letter) => letter.toUpperCase())
3
+}
0 commit comments