Skip to content

Commit c8558c6

Browse files
committed
feat(inflekt): re-export toSnakeCase and toConstantCase from komoji
Allows consumers to import the preferred API names directly from inflekt during the migration period.
1 parent da6da94 commit c8558c6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/inflekt/src/case.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import {
1616
} from 'komoji';
1717

1818
// Re-export komoji functions directly
19-
export { lcFirst, ucFirst, toPascalCase };
19+
export { lcFirst, ucFirst, toPascalCase, toSnakeCase, toConstantCase };
2020

2121
// Re-export toCamelCase — komoji's version accepts a second parameter
2222
// (stripLeadingNonAlphabetChars) so we wrap to keep the simpler inflekt signature

0 commit comments

Comments
 (0)