diff --git a/src/index.ts b/src/index.ts index f4a305f..ba86f0f 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,4 +1,76 @@ -export * from './primitives' -export * from './utils' -export * from './casing' -export * from './key-casing' +// PRIMITIVES +export type { + Join, + Replace, + ReplaceAll, + Split, + TrimStart, + TrimEnd, + Trim, +} from './primitives' +export { + join, + replace, + replaceAll, + split, + trim, + trimStart, + trimEnd, +} from './primitives' + +// UTILS +export type { + Digit, + Is, + IsDigit, + IsLetter, + IsLower, + IsSeparator, + IsSpecial, + IsUpper, + Separator, + Words, +} from './utils' +export { words } from './utils' + +// CASING +export type { + CamelCase, + ConstantCase, + DelimiterCase, + KebabCase, + PascalCase, + SnakeCase, + TitleCase, +} from './casing' +export { + capitalize, + toCamelCase, + toConstantCase, + toDelimiterCase, + toKebabCase, + toLowerCase, + toPascalCase, + toSnakeCase, + toTitleCase, + toUpperCase, +} from './casing' + +// KEY CASING +export type { + DeepCamelKeys, + DeepConstantKeys, + DeepDelimiterKeys, + DeepKebabKeys, + DeepPascalKeys, + DeepSnakeKeys, +} from './key-casing' +export { + deepCamelKeys, + deepConstantKeys, + deepDelimiterKeys, + deepKebabKeys, + deepPascalKeys, + deepSnakeKeys, + deepTransformKeys, +} from './key-casing'