Skip to content

Commit

Permalink
chore: Explicit exports from index.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavoguichard committed Aug 18, 2023
1 parent 1eccc04 commit f0fd99e
Showing 1 changed file with 76 additions and 4 deletions.
80 changes: 76 additions & 4 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -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'

0 comments on commit f0fd99e

Please sign in to comment.