-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Explicit exports from index.ts
- Loading branch information
1 parent
b21239c
commit 76bf986
Showing
1 changed file
with
76 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |