@visulima/string 1.0.5 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (95) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +201 -2
  3. package/dist/case/camel-case.d.cts +3 -3
  4. package/dist/case/camel-case.d.mts +3 -3
  5. package/dist/case/camel-case.d.ts +3 -3
  6. package/dist/case/capital-case.d.cts +3 -3
  7. package/dist/case/capital-case.d.mts +3 -3
  8. package/dist/case/capital-case.d.ts +3 -3
  9. package/dist/case/constant-case.d.cts +3 -3
  10. package/dist/case/constant-case.d.mts +3 -3
  11. package/dist/case/constant-case.d.ts +3 -3
  12. package/dist/case/dot-case.d.cts +3 -3
  13. package/dist/case/dot-case.d.mts +3 -3
  14. package/dist/case/dot-case.d.ts +3 -3
  15. package/dist/case/flat-case.d.cts +3 -3
  16. package/dist/case/flat-case.d.mts +3 -3
  17. package/dist/case/flat-case.d.ts +3 -3
  18. package/dist/case/flip-case.d.cts +3 -3
  19. package/dist/case/flip-case.d.mts +3 -3
  20. package/dist/case/flip-case.d.ts +3 -3
  21. package/dist/case/identify-case.cjs +47 -8
  22. package/dist/case/identify-case.d.cts +3 -3
  23. package/dist/case/identify-case.d.mts +3 -3
  24. package/dist/case/identify-case.d.ts +3 -3
  25. package/dist/case/identify-case.mjs +47 -8
  26. package/dist/case/index.d.cts +3 -3
  27. package/dist/case/index.d.mts +3 -3
  28. package/dist/case/index.d.ts +3 -3
  29. package/dist/case/kebab-case.d.cts +3 -3
  30. package/dist/case/kebab-case.d.mts +3 -3
  31. package/dist/case/kebab-case.d.ts +3 -3
  32. package/dist/case/lower-first.d.cts +3 -3
  33. package/dist/case/lower-first.d.mts +3 -3
  34. package/dist/case/lower-first.d.ts +3 -3
  35. package/dist/case/no-case.d.cts +3 -3
  36. package/dist/case/no-case.d.mts +3 -3
  37. package/dist/case/no-case.d.ts +3 -3
  38. package/dist/case/pascal-case.d.cts +3 -3
  39. package/dist/case/pascal-case.d.mts +3 -3
  40. package/dist/case/pascal-case.d.ts +3 -3
  41. package/dist/case/pascal-snake-case.d.cts +3 -3
  42. package/dist/case/pascal-snake-case.d.mts +3 -3
  43. package/dist/case/pascal-snake-case.d.ts +3 -3
  44. package/dist/case/path-case.d.cts +3 -3
  45. package/dist/case/path-case.d.mts +3 -3
  46. package/dist/case/path-case.d.ts +3 -3
  47. package/dist/case/sentence-case.d.cts +3 -3
  48. package/dist/case/sentence-case.d.mts +3 -3
  49. package/dist/case/sentence-case.d.ts +3 -3
  50. package/dist/case/snake-case.d.cts +3 -3
  51. package/dist/case/snake-case.d.mts +3 -3
  52. package/dist/case/snake-case.d.ts +3 -3
  53. package/dist/case/split-by-case.d.cts +3 -3
  54. package/dist/case/split-by-case.d.mts +3 -3
  55. package/dist/case/split-by-case.d.ts +3 -3
  56. package/dist/case/title-case.d.cts +3 -3
  57. package/dist/case/title-case.d.mts +3 -3
  58. package/dist/case/title-case.d.ts +3 -3
  59. package/dist/case/train-case.d.cts +3 -3
  60. package/dist/case/train-case.d.mts +3 -3
  61. package/dist/case/train-case.d.ts +3 -3
  62. package/dist/case/upper-first.d.cts +3 -3
  63. package/dist/case/upper-first.d.mts +3 -3
  64. package/dist/case/upper-first.d.ts +3 -3
  65. package/dist/index.cjs +6 -0
  66. package/dist/index.d.cts +11 -4
  67. package/dist/index.d.mts +11 -4
  68. package/dist/index.d.ts +11 -4
  69. package/dist/index.mjs +3 -0
  70. package/dist/native-string-types.d.cts +1 -1
  71. package/dist/native-string-types.d.mts +1 -1
  72. package/dist/native-string-types.d.ts +1 -1
  73. package/dist/packem_shared/lru-cache-B_t27XwI.d.cts +14 -0
  74. package/dist/packem_shared/lru-cache-B_t27XwI.d.mts +14 -0
  75. package/dist/packem_shared/lru-cache-B_t27XwI.d.ts +14 -0
  76. package/dist/packem_shared/replaceString-C7Dp5vAg.mjs +200 -0
  77. package/dist/packem_shared/replaceString-iYo1cDfZ.cjs +202 -0
  78. package/dist/packem_shared/slugify-B9zJ8G7m.cjs +50 -0
  79. package/dist/packem_shared/slugify-C7by01BU.mjs +48 -0
  80. package/dist/packem_shared/transliterate-BUI0uSNe.cjs +46092 -0
  81. package/dist/packem_shared/transliterate-DPctxBml.mjs +46090 -0
  82. package/dist/packem_shared/{types-BttWSSIk.d.ts → types-C5Pk8B8Q.d.cts} +3 -3
  83. package/dist/packem_shared/{types-BAd3WDHo.d.mts → types-DcGtApe2.d.ts} +3 -3
  84. package/dist/packem_shared/{types-BNbQJg02.d.cts → types-DmfKbIaI.d.cts} +23 -1
  85. package/dist/packem_shared/{types-BNbQJg02.d.mts → types-DmfKbIaI.d.mts} +23 -1
  86. package/dist/packem_shared/{types-BNbQJg02.d.ts → types-DmfKbIaI.d.ts} +23 -1
  87. package/dist/packem_shared/{types-D2-6p7t1.d.cts → types-_jqW_ZOt.d.mts} +3 -3
  88. package/dist/truncate.cjs +1 -0
  89. package/dist/truncate.mjs +1 -0
  90. package/dist/utils.cjs +57 -1
  91. package/dist/utils.d.cts +9 -13
  92. package/dist/utils.d.mts +9 -13
  93. package/dist/utils.d.ts +9 -13
  94. package/dist/utils.mjs +55 -0
  95. package/package.json +4 -4
@@ -1,4 +1,4 @@
1
- export { N as NodeLocale } from '../packem_shared/types-BNbQJg02.cjs';
1
+ export { N as NodeLocale } from '../packem_shared/types-DmfKbIaI.cjs';
2
2
  export { default as camelCase } from './camel-case.cjs';
3
3
  export { default as capitalCase } from './capital-case.cjs';
4
4
  export { default as constantCase } from './constant-case.cjs';
@@ -17,9 +17,9 @@ export { default as snakeCase } from './snake-case.cjs';
17
17
  export { SplitOptions, splitByCase } from './split-by-case.cjs';
18
18
  export { default as titleCase } from './title-case.cjs';
19
19
  export { default as trainCase } from './train-case.cjs';
20
- export { C as CamelCase, a as CapitalCase, b as CaseOptions, c as ConstantCase, D as DotCase, F as FlatCase, d as FlipCase, I as IdentifyCase, K as KebabCase, L as LocaleOptions, e as LowerFirst, N as NoCase, P as PascalCase, f as PascalSnakeCase, g as PathCase, S as SentenceCase, h as SnakeCase, i as SplitByCase, T as TitleCase, j as TrainCase, U as UpperFirst } from '../packem_shared/types-D2-6p7t1.cjs';
20
+ export { a as CamelCase, b as CapitalCase, C as CaseOptions, c as ConstantCase, D as DotCase, F as FlatCase, d as FlipCase, I as IdentifyCase, K as KebabCase, L as LocaleOptions, e as LowerFirst, N as NoCase, P as PascalCase, f as PascalSnakeCase, g as PathCase, S as SentenceCase, h as SnakeCase, i as SplitByCase, T as TitleCase, j as TrainCase, U as UpperFirst } from '../packem_shared/types-C5Pk8B8Q.cjs';
21
21
  export { default as upperFirst } from './upper-first.cjs';
22
- import '../utils.cjs';
22
+ import '../packem_shared/lru-cache-B_t27XwI.cjs';
23
23
 
24
24
  declare const joinSegments: <T extends string = string>(segments: string[], joiner: string) => T;
25
25
 
@@ -1,4 +1,4 @@
1
- export { N as NodeLocale } from '../packem_shared/types-BNbQJg02.mjs';
1
+ export { N as NodeLocale } from '../packem_shared/types-DmfKbIaI.mjs';
2
2
  export { default as camelCase } from './camel-case.mjs';
3
3
  export { default as capitalCase } from './capital-case.mjs';
4
4
  export { default as constantCase } from './constant-case.mjs';
@@ -17,9 +17,9 @@ export { default as snakeCase } from './snake-case.mjs';
17
17
  export { SplitOptions, splitByCase } from './split-by-case.mjs';
18
18
  export { default as titleCase } from './title-case.mjs';
19
19
  export { default as trainCase } from './train-case.mjs';
20
- export { C as CamelCase, a as CapitalCase, b as CaseOptions, c as ConstantCase, D as DotCase, F as FlatCase, d as FlipCase, I as IdentifyCase, K as KebabCase, L as LocaleOptions, e as LowerFirst, N as NoCase, P as PascalCase, f as PascalSnakeCase, g as PathCase, S as SentenceCase, h as SnakeCase, i as SplitByCase, T as TitleCase, j as TrainCase, U as UpperFirst } from '../packem_shared/types-BAd3WDHo.mjs';
20
+ export { a as CamelCase, b as CapitalCase, C as CaseOptions, c as ConstantCase, D as DotCase, F as FlatCase, d as FlipCase, I as IdentifyCase, K as KebabCase, L as LocaleOptions, e as LowerFirst, N as NoCase, P as PascalCase, f as PascalSnakeCase, g as PathCase, S as SentenceCase, h as SnakeCase, i as SplitByCase, T as TitleCase, j as TrainCase, U as UpperFirst } from '../packem_shared/types-_jqW_ZOt.mjs';
21
21
  export { default as upperFirst } from './upper-first.mjs';
22
- import '../utils.mjs';
22
+ import '../packem_shared/lru-cache-B_t27XwI.mjs';
23
23
 
24
24
  declare const joinSegments: <T extends string = string>(segments: string[], joiner: string) => T;
25
25
 
@@ -1,4 +1,4 @@
1
- export { N as NodeLocale } from '../packem_shared/types-BNbQJg02.js';
1
+ export { N as NodeLocale } from '../packem_shared/types-DmfKbIaI.js';
2
2
  export { default as camelCase } from './camel-case.js';
3
3
  export { default as capitalCase } from './capital-case.js';
4
4
  export { default as constantCase } from './constant-case.js';
@@ -17,9 +17,9 @@ export { default as snakeCase } from './snake-case.js';
17
17
  export { SplitOptions, splitByCase } from './split-by-case.js';
18
18
  export { default as titleCase } from './title-case.js';
19
19
  export { default as trainCase } from './train-case.js';
20
- export { C as CamelCase, a as CapitalCase, b as CaseOptions, c as ConstantCase, D as DotCase, F as FlatCase, d as FlipCase, I as IdentifyCase, K as KebabCase, L as LocaleOptions, e as LowerFirst, N as NoCase, P as PascalCase, f as PascalSnakeCase, g as PathCase, S as SentenceCase, h as SnakeCase, i as SplitByCase, T as TitleCase, j as TrainCase, U as UpperFirst } from '../packem_shared/types-BttWSSIk.js';
20
+ export { a as CamelCase, b as CapitalCase, C as CaseOptions, c as ConstantCase, D as DotCase, F as FlatCase, d as FlipCase, I as IdentifyCase, K as KebabCase, L as LocaleOptions, e as LowerFirst, N as NoCase, P as PascalCase, f as PascalSnakeCase, g as PathCase, S as SentenceCase, h as SnakeCase, i as SplitByCase, T as TitleCase, j as TrainCase, U as UpperFirst } from '../packem_shared/types-DcGtApe2.js';
21
21
  export { default as upperFirst } from './upper-first.js';
22
- import '../utils.js';
22
+ import '../packem_shared/lru-cache-B_t27XwI.js';
23
23
 
24
24
  declare const joinSegments: <T extends string = string>(segments: string[], joiner: string) => T;
25
25
 
@@ -1,6 +1,6 @@
1
- import { b as CaseOptions, K as KebabCase } from '../packem_shared/types-D2-6p7t1.cjs';
2
- import '../packem_shared/types-BNbQJg02.cjs';
3
- import '../utils.cjs';
1
+ import { C as CaseOptions, K as KebabCase } from '../packem_shared/types-C5Pk8B8Q.cjs';
2
+ import '../packem_shared/types-DmfKbIaI.cjs';
3
+ import '../packem_shared/lru-cache-B_t27XwI.cjs';
4
4
 
5
5
  interface KebabCaseOptions extends CaseOptions {
6
6
  joiner?: string;
@@ -1,6 +1,6 @@
1
- import { b as CaseOptions, K as KebabCase } from '../packem_shared/types-BAd3WDHo.mjs';
2
- import '../packem_shared/types-BNbQJg02.mjs';
3
- import '../utils.mjs';
1
+ import { C as CaseOptions, K as KebabCase } from '../packem_shared/types-_jqW_ZOt.mjs';
2
+ import '../packem_shared/types-DmfKbIaI.mjs';
3
+ import '../packem_shared/lru-cache-B_t27XwI.mjs';
4
4
 
5
5
  interface KebabCaseOptions extends CaseOptions {
6
6
  joiner?: string;
@@ -1,6 +1,6 @@
1
- import { b as CaseOptions, K as KebabCase } from '../packem_shared/types-BttWSSIk.js';
2
- import '../packem_shared/types-BNbQJg02.js';
3
- import '../utils.js';
1
+ import { C as CaseOptions, K as KebabCase } from '../packem_shared/types-DcGtApe2.js';
2
+ import '../packem_shared/types-DmfKbIaI.js';
3
+ import '../packem_shared/lru-cache-B_t27XwI.js';
4
4
 
5
5
  interface KebabCaseOptions extends CaseOptions {
6
6
  joiner?: string;
@@ -1,6 +1,6 @@
1
- import { L as LocaleOptions, e as LowerFirst } from '../packem_shared/types-D2-6p7t1.cjs';
2
- import '../packem_shared/types-BNbQJg02.cjs';
3
- import '../utils.cjs';
1
+ import { L as LocaleOptions, e as LowerFirst } from '../packem_shared/types-C5Pk8B8Q.cjs';
2
+ import '../packem_shared/types-DmfKbIaI.cjs';
3
+ import '../packem_shared/lru-cache-B_t27XwI.cjs';
4
4
 
5
5
  declare const lowerFirst: <T extends string = string>(value?: T, options?: LocaleOptions) => LowerFirst<T>;
6
6
 
@@ -1,6 +1,6 @@
1
- import { L as LocaleOptions, e as LowerFirst } from '../packem_shared/types-BAd3WDHo.mjs';
2
- import '../packem_shared/types-BNbQJg02.mjs';
3
- import '../utils.mjs';
1
+ import { L as LocaleOptions, e as LowerFirst } from '../packem_shared/types-_jqW_ZOt.mjs';
2
+ import '../packem_shared/types-DmfKbIaI.mjs';
3
+ import '../packem_shared/lru-cache-B_t27XwI.mjs';
4
4
 
5
5
  declare const lowerFirst: <T extends string = string>(value?: T, options?: LocaleOptions) => LowerFirst<T>;
6
6
 
@@ -1,6 +1,6 @@
1
- import { L as LocaleOptions, e as LowerFirst } from '../packem_shared/types-BttWSSIk.js';
2
- import '../packem_shared/types-BNbQJg02.js';
3
- import '../utils.js';
1
+ import { L as LocaleOptions, e as LowerFirst } from '../packem_shared/types-DcGtApe2.js';
2
+ import '../packem_shared/types-DmfKbIaI.js';
3
+ import '../packem_shared/lru-cache-B_t27XwI.js';
4
4
 
5
5
  declare const lowerFirst: <T extends string = string>(value?: T, options?: LocaleOptions) => LowerFirst<T>;
6
6
 
@@ -1,6 +1,6 @@
1
- import { b as CaseOptions, N as NoCase } from '../packem_shared/types-D2-6p7t1.cjs';
2
- import '../packem_shared/types-BNbQJg02.cjs';
3
- import '../utils.cjs';
1
+ import { C as CaseOptions, N as NoCase } from '../packem_shared/types-C5Pk8B8Q.cjs';
2
+ import '../packem_shared/types-DmfKbIaI.cjs';
3
+ import '../packem_shared/lru-cache-B_t27XwI.cjs';
4
4
 
5
5
  declare const noCase: <T extends string = string>(value?: T, options?: CaseOptions) => NoCase<T>;
6
6
 
@@ -1,6 +1,6 @@
1
- import { b as CaseOptions, N as NoCase } from '../packem_shared/types-BAd3WDHo.mjs';
2
- import '../packem_shared/types-BNbQJg02.mjs';
3
- import '../utils.mjs';
1
+ import { C as CaseOptions, N as NoCase } from '../packem_shared/types-_jqW_ZOt.mjs';
2
+ import '../packem_shared/types-DmfKbIaI.mjs';
3
+ import '../packem_shared/lru-cache-B_t27XwI.mjs';
4
4
 
5
5
  declare const noCase: <T extends string = string>(value?: T, options?: CaseOptions) => NoCase<T>;
6
6
 
@@ -1,6 +1,6 @@
1
- import { b as CaseOptions, N as NoCase } from '../packem_shared/types-BttWSSIk.js';
2
- import '../packem_shared/types-BNbQJg02.js';
3
- import '../utils.js';
1
+ import { C as CaseOptions, N as NoCase } from '../packem_shared/types-DcGtApe2.js';
2
+ import '../packem_shared/types-DmfKbIaI.js';
3
+ import '../packem_shared/lru-cache-B_t27XwI.js';
4
4
 
5
5
  declare const noCase: <T extends string = string>(value?: T, options?: CaseOptions) => NoCase<T>;
6
6
 
@@ -1,6 +1,6 @@
1
- import { b as CaseOptions, P as PascalCase } from '../packem_shared/types-D2-6p7t1.cjs';
2
- import '../packem_shared/types-BNbQJg02.cjs';
3
- import '../utils.cjs';
1
+ import { C as CaseOptions, P as PascalCase } from '../packem_shared/types-C5Pk8B8Q.cjs';
2
+ import '../packem_shared/types-DmfKbIaI.cjs';
3
+ import '../packem_shared/lru-cache-B_t27XwI.cjs';
4
4
 
5
5
  declare const pascalCase: <T extends string = string>(value?: T, options?: CaseOptions) => PascalCase<T>;
6
6
 
@@ -1,6 +1,6 @@
1
- import { b as CaseOptions, P as PascalCase } from '../packem_shared/types-BAd3WDHo.mjs';
2
- import '../packem_shared/types-BNbQJg02.mjs';
3
- import '../utils.mjs';
1
+ import { C as CaseOptions, P as PascalCase } from '../packem_shared/types-_jqW_ZOt.mjs';
2
+ import '../packem_shared/types-DmfKbIaI.mjs';
3
+ import '../packem_shared/lru-cache-B_t27XwI.mjs';
4
4
 
5
5
  declare const pascalCase: <T extends string = string>(value?: T, options?: CaseOptions) => PascalCase<T>;
6
6
 
@@ -1,6 +1,6 @@
1
- import { b as CaseOptions, P as PascalCase } from '../packem_shared/types-BttWSSIk.js';
2
- import '../packem_shared/types-BNbQJg02.js';
3
- import '../utils.js';
1
+ import { C as CaseOptions, P as PascalCase } from '../packem_shared/types-DcGtApe2.js';
2
+ import '../packem_shared/types-DmfKbIaI.js';
3
+ import '../packem_shared/lru-cache-B_t27XwI.js';
4
4
 
5
5
  declare const pascalCase: <T extends string = string>(value?: T, options?: CaseOptions) => PascalCase<T>;
6
6
 
@@ -1,6 +1,6 @@
1
- import { b as CaseOptions, f as PascalSnakeCase } from '../packem_shared/types-D2-6p7t1.cjs';
2
- import '../packem_shared/types-BNbQJg02.cjs';
3
- import '../utils.cjs';
1
+ import { C as CaseOptions, f as PascalSnakeCase } from '../packem_shared/types-C5Pk8B8Q.cjs';
2
+ import '../packem_shared/types-DmfKbIaI.cjs';
3
+ import '../packem_shared/lru-cache-B_t27XwI.cjs';
4
4
 
5
5
  declare const pascalSnakeCase: <T extends string = string>(value?: T, options?: CaseOptions) => PascalSnakeCase<T>;
6
6
 
@@ -1,6 +1,6 @@
1
- import { b as CaseOptions, f as PascalSnakeCase } from '../packem_shared/types-BAd3WDHo.mjs';
2
- import '../packem_shared/types-BNbQJg02.mjs';
3
- import '../utils.mjs';
1
+ import { C as CaseOptions, f as PascalSnakeCase } from '../packem_shared/types-_jqW_ZOt.mjs';
2
+ import '../packem_shared/types-DmfKbIaI.mjs';
3
+ import '../packem_shared/lru-cache-B_t27XwI.mjs';
4
4
 
5
5
  declare const pascalSnakeCase: <T extends string = string>(value?: T, options?: CaseOptions) => PascalSnakeCase<T>;
6
6
 
@@ -1,6 +1,6 @@
1
- import { b as CaseOptions, f as PascalSnakeCase } from '../packem_shared/types-BttWSSIk.js';
2
- import '../packem_shared/types-BNbQJg02.js';
3
- import '../utils.js';
1
+ import { C as CaseOptions, f as PascalSnakeCase } from '../packem_shared/types-DcGtApe2.js';
2
+ import '../packem_shared/types-DmfKbIaI.js';
3
+ import '../packem_shared/lru-cache-B_t27XwI.js';
4
4
 
5
5
  declare const pascalSnakeCase: <T extends string = string>(value?: T, options?: CaseOptions) => PascalSnakeCase<T>;
6
6
 
@@ -1,6 +1,6 @@
1
- import { b as CaseOptions, g as PathCase } from '../packem_shared/types-D2-6p7t1.cjs';
2
- import '../packem_shared/types-BNbQJg02.cjs';
3
- import '../utils.cjs';
1
+ import { C as CaseOptions, g as PathCase } from '../packem_shared/types-C5Pk8B8Q.cjs';
2
+ import '../packem_shared/types-DmfKbIaI.cjs';
3
+ import '../packem_shared/lru-cache-B_t27XwI.cjs';
4
4
 
5
5
  declare const pathCase: <T extends string = string>(value?: T, options?: CaseOptions) => PathCase<T>;
6
6
 
@@ -1,6 +1,6 @@
1
- import { b as CaseOptions, g as PathCase } from '../packem_shared/types-BAd3WDHo.mjs';
2
- import '../packem_shared/types-BNbQJg02.mjs';
3
- import '../utils.mjs';
1
+ import { C as CaseOptions, g as PathCase } from '../packem_shared/types-_jqW_ZOt.mjs';
2
+ import '../packem_shared/types-DmfKbIaI.mjs';
3
+ import '../packem_shared/lru-cache-B_t27XwI.mjs';
4
4
 
5
5
  declare const pathCase: <T extends string = string>(value?: T, options?: CaseOptions) => PathCase<T>;
6
6
 
@@ -1,6 +1,6 @@
1
- import { b as CaseOptions, g as PathCase } from '../packem_shared/types-BttWSSIk.js';
2
- import '../packem_shared/types-BNbQJg02.js';
3
- import '../utils.js';
1
+ import { C as CaseOptions, g as PathCase } from '../packem_shared/types-DcGtApe2.js';
2
+ import '../packem_shared/types-DmfKbIaI.js';
3
+ import '../packem_shared/lru-cache-B_t27XwI.js';
4
4
 
5
5
  declare const pathCase: <T extends string = string>(value?: T, options?: CaseOptions) => PathCase<T>;
6
6
 
@@ -1,6 +1,6 @@
1
- import { b as CaseOptions, S as SentenceCase } from '../packem_shared/types-D2-6p7t1.cjs';
2
- import '../packem_shared/types-BNbQJg02.cjs';
3
- import '../utils.cjs';
1
+ import { C as CaseOptions, S as SentenceCase } from '../packem_shared/types-C5Pk8B8Q.cjs';
2
+ import '../packem_shared/types-DmfKbIaI.cjs';
3
+ import '../packem_shared/lru-cache-B_t27XwI.cjs';
4
4
 
5
5
  declare const sentenceCase: <T extends string = string>(value?: T, options?: CaseOptions) => SentenceCase<T>;
6
6
 
@@ -1,6 +1,6 @@
1
- import { b as CaseOptions, S as SentenceCase } from '../packem_shared/types-BAd3WDHo.mjs';
2
- import '../packem_shared/types-BNbQJg02.mjs';
3
- import '../utils.mjs';
1
+ import { C as CaseOptions, S as SentenceCase } from '../packem_shared/types-_jqW_ZOt.mjs';
2
+ import '../packem_shared/types-DmfKbIaI.mjs';
3
+ import '../packem_shared/lru-cache-B_t27XwI.mjs';
4
4
 
5
5
  declare const sentenceCase: <T extends string = string>(value?: T, options?: CaseOptions) => SentenceCase<T>;
6
6
 
@@ -1,6 +1,6 @@
1
- import { b as CaseOptions, S as SentenceCase } from '../packem_shared/types-BttWSSIk.js';
2
- import '../packem_shared/types-BNbQJg02.js';
3
- import '../utils.js';
1
+ import { C as CaseOptions, S as SentenceCase } from '../packem_shared/types-DcGtApe2.js';
2
+ import '../packem_shared/types-DmfKbIaI.js';
3
+ import '../packem_shared/lru-cache-B_t27XwI.js';
4
4
 
5
5
  declare const sentenceCase: <T extends string = string>(value?: T, options?: CaseOptions) => SentenceCase<T>;
6
6
 
@@ -1,6 +1,6 @@
1
- import { b as CaseOptions, h as SnakeCase } from '../packem_shared/types-D2-6p7t1.cjs';
2
- import '../packem_shared/types-BNbQJg02.cjs';
3
- import '../utils.cjs';
1
+ import { C as CaseOptions, h as SnakeCase } from '../packem_shared/types-C5Pk8B8Q.cjs';
2
+ import '../packem_shared/types-DmfKbIaI.cjs';
3
+ import '../packem_shared/lru-cache-B_t27XwI.cjs';
4
4
 
5
5
  declare const snakeCase: <T extends string = string>(value?: T, options?: CaseOptions) => SnakeCase<T>;
6
6
 
@@ -1,6 +1,6 @@
1
- import { b as CaseOptions, h as SnakeCase } from '../packem_shared/types-BAd3WDHo.mjs';
2
- import '../packem_shared/types-BNbQJg02.mjs';
3
- import '../utils.mjs';
1
+ import { C as CaseOptions, h as SnakeCase } from '../packem_shared/types-_jqW_ZOt.mjs';
2
+ import '../packem_shared/types-DmfKbIaI.mjs';
3
+ import '../packem_shared/lru-cache-B_t27XwI.mjs';
4
4
 
5
5
  declare const snakeCase: <T extends string = string>(value?: T, options?: CaseOptions) => SnakeCase<T>;
6
6
 
@@ -1,6 +1,6 @@
1
- import { b as CaseOptions, h as SnakeCase } from '../packem_shared/types-BttWSSIk.js';
2
- import '../packem_shared/types-BNbQJg02.js';
3
- import '../utils.js';
1
+ import { C as CaseOptions, h as SnakeCase } from '../packem_shared/types-DcGtApe2.js';
2
+ import '../packem_shared/types-DmfKbIaI.js';
3
+ import '../packem_shared/lru-cache-B_t27XwI.js';
4
4
 
5
5
  declare const snakeCase: <T extends string = string>(value?: T, options?: CaseOptions) => SnakeCase<T>;
6
6
 
@@ -1,6 +1,6 @@
1
- import { L as LocaleOptions, i as SplitByCase } from '../packem_shared/types-D2-6p7t1.cjs';
2
- import '../packem_shared/types-BNbQJg02.cjs';
3
- import '../utils.cjs';
1
+ import { L as LocaleOptions, i as SplitByCase } from '../packem_shared/types-C5Pk8B8Q.cjs';
2
+ import '../packem_shared/types-DmfKbIaI.cjs';
3
+ import '../packem_shared/lru-cache-B_t27XwI.cjs';
4
4
 
5
5
  interface SplitOptions extends LocaleOptions {
6
6
  handleAnsi?: boolean;
@@ -1,6 +1,6 @@
1
- import { L as LocaleOptions, i as SplitByCase } from '../packem_shared/types-BAd3WDHo.mjs';
2
- import '../packem_shared/types-BNbQJg02.mjs';
3
- import '../utils.mjs';
1
+ import { L as LocaleOptions, i as SplitByCase } from '../packem_shared/types-_jqW_ZOt.mjs';
2
+ import '../packem_shared/types-DmfKbIaI.mjs';
3
+ import '../packem_shared/lru-cache-B_t27XwI.mjs';
4
4
 
5
5
  interface SplitOptions extends LocaleOptions {
6
6
  handleAnsi?: boolean;
@@ -1,6 +1,6 @@
1
- import { L as LocaleOptions, i as SplitByCase } from '../packem_shared/types-BttWSSIk.js';
2
- import '../packem_shared/types-BNbQJg02.js';
3
- import '../utils.js';
1
+ import { L as LocaleOptions, i as SplitByCase } from '../packem_shared/types-DcGtApe2.js';
2
+ import '../packem_shared/types-DmfKbIaI.js';
3
+ import '../packem_shared/lru-cache-B_t27XwI.js';
4
4
 
5
5
  interface SplitOptions extends LocaleOptions {
6
6
  handleAnsi?: boolean;
@@ -1,6 +1,6 @@
1
- import { b as CaseOptions, T as TitleCase } from '../packem_shared/types-D2-6p7t1.cjs';
2
- import '../packem_shared/types-BNbQJg02.cjs';
3
- import '../utils.cjs';
1
+ import { C as CaseOptions, T as TitleCase } from '../packem_shared/types-C5Pk8B8Q.cjs';
2
+ import '../packem_shared/types-DmfKbIaI.cjs';
3
+ import '../packem_shared/lru-cache-B_t27XwI.cjs';
4
4
 
5
5
  declare function titleCase<T extends string = string>(value?: T, options?: CaseOptions): TitleCase<T>;
6
6
 
@@ -1,6 +1,6 @@
1
- import { b as CaseOptions, T as TitleCase } from '../packem_shared/types-BAd3WDHo.mjs';
2
- import '../packem_shared/types-BNbQJg02.mjs';
3
- import '../utils.mjs';
1
+ import { C as CaseOptions, T as TitleCase } from '../packem_shared/types-_jqW_ZOt.mjs';
2
+ import '../packem_shared/types-DmfKbIaI.mjs';
3
+ import '../packem_shared/lru-cache-B_t27XwI.mjs';
4
4
 
5
5
  declare function titleCase<T extends string = string>(value?: T, options?: CaseOptions): TitleCase<T>;
6
6
 
@@ -1,6 +1,6 @@
1
- import { b as CaseOptions, T as TitleCase } from '../packem_shared/types-BttWSSIk.js';
2
- import '../packem_shared/types-BNbQJg02.js';
3
- import '../utils.js';
1
+ import { C as CaseOptions, T as TitleCase } from '../packem_shared/types-DcGtApe2.js';
2
+ import '../packem_shared/types-DmfKbIaI.js';
3
+ import '../packem_shared/lru-cache-B_t27XwI.js';
4
4
 
5
5
  declare function titleCase<T extends string = string>(value?: T, options?: CaseOptions): TitleCase<T>;
6
6
 
@@ -1,6 +1,6 @@
1
- import { b as CaseOptions, j as TrainCase } from '../packem_shared/types-D2-6p7t1.cjs';
2
- import '../packem_shared/types-BNbQJg02.cjs';
3
- import '../utils.cjs';
1
+ import { C as CaseOptions, j as TrainCase } from '../packem_shared/types-C5Pk8B8Q.cjs';
2
+ import '../packem_shared/types-DmfKbIaI.cjs';
3
+ import '../packem_shared/lru-cache-B_t27XwI.cjs';
4
4
 
5
5
  declare const trainCase: <T extends string = string>(value?: T, options?: CaseOptions) => TrainCase<T>;
6
6
 
@@ -1,6 +1,6 @@
1
- import { b as CaseOptions, j as TrainCase } from '../packem_shared/types-BAd3WDHo.mjs';
2
- import '../packem_shared/types-BNbQJg02.mjs';
3
- import '../utils.mjs';
1
+ import { C as CaseOptions, j as TrainCase } from '../packem_shared/types-_jqW_ZOt.mjs';
2
+ import '../packem_shared/types-DmfKbIaI.mjs';
3
+ import '../packem_shared/lru-cache-B_t27XwI.mjs';
4
4
 
5
5
  declare const trainCase: <T extends string = string>(value?: T, options?: CaseOptions) => TrainCase<T>;
6
6
 
@@ -1,6 +1,6 @@
1
- import { b as CaseOptions, j as TrainCase } from '../packem_shared/types-BttWSSIk.js';
2
- import '../packem_shared/types-BNbQJg02.js';
3
- import '../utils.js';
1
+ import { C as CaseOptions, j as TrainCase } from '../packem_shared/types-DcGtApe2.js';
2
+ import '../packem_shared/types-DmfKbIaI.js';
3
+ import '../packem_shared/lru-cache-B_t27XwI.js';
4
4
 
5
5
  declare const trainCase: <T extends string = string>(value?: T, options?: CaseOptions) => TrainCase<T>;
6
6
 
@@ -1,6 +1,6 @@
1
- import { L as LocaleOptions, U as UpperFirst } from '../packem_shared/types-D2-6p7t1.cjs';
2
- import '../packem_shared/types-BNbQJg02.cjs';
3
- import '../utils.cjs';
1
+ import { L as LocaleOptions, U as UpperFirst } from '../packem_shared/types-C5Pk8B8Q.cjs';
2
+ import '../packem_shared/types-DmfKbIaI.cjs';
3
+ import '../packem_shared/lru-cache-B_t27XwI.cjs';
4
4
 
5
5
  declare const upperFirst: <T extends string = string>(value?: T, options?: LocaleOptions) => UpperFirst<T>;
6
6
 
@@ -1,6 +1,6 @@
1
- import { L as LocaleOptions, U as UpperFirst } from '../packem_shared/types-BAd3WDHo.mjs';
2
- import '../packem_shared/types-BNbQJg02.mjs';
3
- import '../utils.mjs';
1
+ import { L as LocaleOptions, U as UpperFirst } from '../packem_shared/types-_jqW_ZOt.mjs';
2
+ import '../packem_shared/types-DmfKbIaI.mjs';
3
+ import '../packem_shared/lru-cache-B_t27XwI.mjs';
4
4
 
5
5
  declare const upperFirst: <T extends string = string>(value?: T, options?: LocaleOptions) => UpperFirst<T>;
6
6
 
@@ -1,6 +1,6 @@
1
- import { L as LocaleOptions, U as UpperFirst } from '../packem_shared/types-BttWSSIk.js';
2
- import '../packem_shared/types-BNbQJg02.js';
3
- import '../utils.js';
1
+ import { L as LocaleOptions, U as UpperFirst } from '../packem_shared/types-DcGtApe2.js';
2
+ import '../packem_shared/types-DmfKbIaI.js';
3
+ import '../packem_shared/lru-cache-B_t27XwI.js';
4
4
 
5
5
  declare const upperFirst: <T extends string = string>(value?: T, options?: LocaleOptions) => UpperFirst<T>;
6
6
 
package/dist/index.cjs CHANGED
@@ -25,7 +25,10 @@ const joinSegments = require('./packem_shared/joinSegments-B_7bxy5J.cjs');
25
25
  const getStringTruncatedWidth = require('./get-string-truncated-width.cjs');
26
26
  const getStringWidth = require('./get-string-width.cjs');
27
27
  const outdent = require('./outdent.cjs');
28
+ const replaceString = require('./packem_shared/replaceString-iYo1cDfZ.cjs');
28
29
  const slice = require('./slice.cjs');
30
+ const slugify = require('./packem_shared/slugify-B9zJ8G7m.cjs');
31
+ const transliterate = require('./packem_shared/transliterate-BUI0uSNe.cjs');
29
32
  const truncate = require('./truncate.cjs');
30
33
  const WrapMode = require('./packem_shared/WrapMode-Dsqu9BaX.cjs');
31
34
 
@@ -54,7 +57,10 @@ exports.joinSegments = joinSegments;
54
57
  exports.getStringTruncatedWidth = getStringTruncatedWidth.getStringTruncatedWidth;
55
58
  exports.getStringWidth = getStringWidth.getStringWidth;
56
59
  exports.outdent = outdent.outdent;
60
+ exports.replaceString = replaceString;
57
61
  exports.slice = slice.slice;
62
+ exports.slugify = slugify;
63
+ exports.transliterate = transliterate;
58
64
  exports.truncate = truncate.truncate;
59
65
  exports.WrapMode = WrapMode.WrapMode;
60
66
  exports.wordWrap = WrapMode.wordWrap;
package/dist/index.d.cts CHANGED
@@ -16,16 +16,23 @@ export { default as snakeCase } from './case/snake-case.cjs';
16
16
  export { SplitOptions, splitByCase } from './case/split-by-case.cjs';
17
17
  export { default as titleCase } from './case/title-case.cjs';
18
18
  export { default as trainCase } from './case/train-case.cjs';
19
- export { C as CamelCase, a as CapitalCase, b as CaseOptions, c as ConstantCase, D as DotCase, F as FlatCase, d as FlipCase, I as IdentifyCase, K as KebabCase, L as LocaleOptions, e as LowerFirst, N as NoCase, P as PascalCase, f as PascalSnakeCase, g as PathCase, S as SentenceCase, h as SnakeCase, i as SplitByCase, T as TitleCase, j as TrainCase, U as UpperFirst } from './packem_shared/types-D2-6p7t1.cjs';
19
+ export { a as CamelCase, b as CapitalCase, C as CaseOptions, c as ConstantCase, D as DotCase, F as FlatCase, d as FlipCase, I as IdentifyCase, K as KebabCase, L as LocaleOptions, e as LowerFirst, N as NoCase, P as PascalCase, f as PascalSnakeCase, g as PathCase, S as SentenceCase, h as SnakeCase, i as SplitByCase, T as TitleCase, j as TrainCase, U as UpperFirst } from './packem_shared/types-C5Pk8B8Q.cjs';
20
20
  export { default as upperFirst } from './case/upper-first.cjs';
21
21
  export { joinSegments } from './case/index.cjs';
22
22
  export { StringTruncatedWidthOptions, StringTruncatedWidthResult, getStringTruncatedWidth } from './get-string-truncated-width.cjs';
23
23
  export { StringWidthOptions, getStringWidth } from './get-string-width.cjs';
24
24
  export { Outdent, Options as OutdentOptions, outdent } from './outdent.cjs';
25
+ import { O as OptionReplaceArray, k as IntervalArray, l as SlugifyOptions, m as OptionsTransliterate } from './packem_shared/types-DmfKbIaI.cjs';
26
+ export { A as All, n as Any, C as CharAt, o as Charmap, a as Concat, E as EndsWith, I as Includes, p as Interval, q as IsBooleanLiteral, r as IsNumberLiteral, j as IsStringLiteral, s as IsStringLiteralArray, J as Join, L as Length, M as Math, N as NodeLocale, t as OptionReplaceCombined, u as OptionReplaceObject, P as PadEnd, b as PadStart, v as Repeat, R as Replace, c as ReplaceAll, w as Reverse, S as Slice, d as Split, e as StartsWith, T as ToLowerCase, f as ToUpperCase, g as Trim, h as TrimEnd, i as TrimStart } from './packem_shared/types-DmfKbIaI.cjs';
25
27
  export { SliceOptions, slice } from './slice.cjs';
26
28
  export { TruncateOptions, truncate } from './truncate.cjs';
27
- export { A as All, j as Any, C as CharAt, a as Concat, E as EndsWith, I as Includes, k as IsBooleanLiteral, l as IsNumberLiteral, m as IsStringLiteral, n as IsStringLiteralArray, J as Join, L as Length, M as Math, N as NodeLocale, P as PadEnd, b as PadStart, o as Repeat, R as Replace, c as ReplaceAll, p as Reverse, S as Slice, d as Split, e as StartsWith, T as ToLowerCase, f as ToUpperCase, g as Trim, h as TrimEnd, i as TrimStart } from './packem_shared/types-BNbQJg02.cjs';
28
- import './utils.cjs';
29
+ import './packem_shared/lru-cache-B_t27XwI.cjs';
30
+
31
+ declare const replaceString: (source: string, searches: OptionReplaceArray, ignoreRanges: IntervalArray) => string;
32
+
33
+ declare const slugify: (input: string, options?: SlugifyOptions) => string;
34
+
35
+ declare const transliterate: (source: string, options?: OptionsTransliterate) => string;
29
36
 
30
37
  declare const WrapMode: {
31
38
  readonly BREAK_AT_CHARACTERS: "BREAK_AT_CHARACTERS";
@@ -40,4 +47,4 @@ interface WordWrapOptions {
40
47
  }
41
48
  declare const wordWrap: (string: string, options?: WordWrapOptions) => string;
42
49
 
43
- export { type WordWrapOptions, WrapMode, wordWrap };
50
+ export { IntervalArray, OptionReplaceArray, OptionsTransliterate, SlugifyOptions, type WordWrapOptions, WrapMode, replaceString, slugify, transliterate, wordWrap };
package/dist/index.d.mts CHANGED
@@ -16,16 +16,23 @@ export { default as snakeCase } from './case/snake-case.mjs';
16
16
  export { SplitOptions, splitByCase } from './case/split-by-case.mjs';
17
17
  export { default as titleCase } from './case/title-case.mjs';
18
18
  export { default as trainCase } from './case/train-case.mjs';
19
- export { C as CamelCase, a as CapitalCase, b as CaseOptions, c as ConstantCase, D as DotCase, F as FlatCase, d as FlipCase, I as IdentifyCase, K as KebabCase, L as LocaleOptions, e as LowerFirst, N as NoCase, P as PascalCase, f as PascalSnakeCase, g as PathCase, S as SentenceCase, h as SnakeCase, i as SplitByCase, T as TitleCase, j as TrainCase, U as UpperFirst } from './packem_shared/types-BAd3WDHo.mjs';
19
+ export { a as CamelCase, b as CapitalCase, C as CaseOptions, c as ConstantCase, D as DotCase, F as FlatCase, d as FlipCase, I as IdentifyCase, K as KebabCase, L as LocaleOptions, e as LowerFirst, N as NoCase, P as PascalCase, f as PascalSnakeCase, g as PathCase, S as SentenceCase, h as SnakeCase, i as SplitByCase, T as TitleCase, j as TrainCase, U as UpperFirst } from './packem_shared/types-_jqW_ZOt.mjs';
20
20
  export { default as upperFirst } from './case/upper-first.mjs';
21
21
  export { joinSegments } from './case/index.mjs';
22
22
  export { StringTruncatedWidthOptions, StringTruncatedWidthResult, getStringTruncatedWidth } from './get-string-truncated-width.mjs';
23
23
  export { StringWidthOptions, getStringWidth } from './get-string-width.mjs';
24
24
  export { Outdent, Options as OutdentOptions, outdent } from './outdent.mjs';
25
+ import { O as OptionReplaceArray, k as IntervalArray, l as SlugifyOptions, m as OptionsTransliterate } from './packem_shared/types-DmfKbIaI.mjs';
26
+ export { A as All, n as Any, C as CharAt, o as Charmap, a as Concat, E as EndsWith, I as Includes, p as Interval, q as IsBooleanLiteral, r as IsNumberLiteral, j as IsStringLiteral, s as IsStringLiteralArray, J as Join, L as Length, M as Math, N as NodeLocale, t as OptionReplaceCombined, u as OptionReplaceObject, P as PadEnd, b as PadStart, v as Repeat, R as Replace, c as ReplaceAll, w as Reverse, S as Slice, d as Split, e as StartsWith, T as ToLowerCase, f as ToUpperCase, g as Trim, h as TrimEnd, i as TrimStart } from './packem_shared/types-DmfKbIaI.mjs';
25
27
  export { SliceOptions, slice } from './slice.mjs';
26
28
  export { TruncateOptions, truncate } from './truncate.mjs';
27
- export { A as All, j as Any, C as CharAt, a as Concat, E as EndsWith, I as Includes, k as IsBooleanLiteral, l as IsNumberLiteral, m as IsStringLiteral, n as IsStringLiteralArray, J as Join, L as Length, M as Math, N as NodeLocale, P as PadEnd, b as PadStart, o as Repeat, R as Replace, c as ReplaceAll, p as Reverse, S as Slice, d as Split, e as StartsWith, T as ToLowerCase, f as ToUpperCase, g as Trim, h as TrimEnd, i as TrimStart } from './packem_shared/types-BNbQJg02.mjs';
28
- import './utils.mjs';
29
+ import './packem_shared/lru-cache-B_t27XwI.mjs';
30
+
31
+ declare const replaceString: (source: string, searches: OptionReplaceArray, ignoreRanges: IntervalArray) => string;
32
+
33
+ declare const slugify: (input: string, options?: SlugifyOptions) => string;
34
+
35
+ declare const transliterate: (source: string, options?: OptionsTransliterate) => string;
29
36
 
30
37
  declare const WrapMode: {
31
38
  readonly BREAK_AT_CHARACTERS: "BREAK_AT_CHARACTERS";
@@ -40,4 +47,4 @@ interface WordWrapOptions {
40
47
  }
41
48
  declare const wordWrap: (string: string, options?: WordWrapOptions) => string;
42
49
 
43
- export { type WordWrapOptions, WrapMode, wordWrap };
50
+ export { IntervalArray, OptionReplaceArray, OptionsTransliterate, SlugifyOptions, type WordWrapOptions, WrapMode, replaceString, slugify, transliterate, wordWrap };
package/dist/index.d.ts CHANGED
@@ -16,16 +16,23 @@ export { default as snakeCase } from './case/snake-case.js';
16
16
  export { SplitOptions, splitByCase } from './case/split-by-case.js';
17
17
  export { default as titleCase } from './case/title-case.js';
18
18
  export { default as trainCase } from './case/train-case.js';
19
- export { C as CamelCase, a as CapitalCase, b as CaseOptions, c as ConstantCase, D as DotCase, F as FlatCase, d as FlipCase, I as IdentifyCase, K as KebabCase, L as LocaleOptions, e as LowerFirst, N as NoCase, P as PascalCase, f as PascalSnakeCase, g as PathCase, S as SentenceCase, h as SnakeCase, i as SplitByCase, T as TitleCase, j as TrainCase, U as UpperFirst } from './packem_shared/types-BttWSSIk.js';
19
+ export { a as CamelCase, b as CapitalCase, C as CaseOptions, c as ConstantCase, D as DotCase, F as FlatCase, d as FlipCase, I as IdentifyCase, K as KebabCase, L as LocaleOptions, e as LowerFirst, N as NoCase, P as PascalCase, f as PascalSnakeCase, g as PathCase, S as SentenceCase, h as SnakeCase, i as SplitByCase, T as TitleCase, j as TrainCase, U as UpperFirst } from './packem_shared/types-DcGtApe2.js';
20
20
  export { default as upperFirst } from './case/upper-first.js';
21
21
  export { joinSegments } from './case/index.js';
22
22
  export { StringTruncatedWidthOptions, StringTruncatedWidthResult, getStringTruncatedWidth } from './get-string-truncated-width.js';
23
23
  export { StringWidthOptions, getStringWidth } from './get-string-width.js';
24
24
  export { Outdent, Options as OutdentOptions, outdent } from './outdent.js';
25
+ import { O as OptionReplaceArray, k as IntervalArray, l as SlugifyOptions, m as OptionsTransliterate } from './packem_shared/types-DmfKbIaI.js';
26
+ export { A as All, n as Any, C as CharAt, o as Charmap, a as Concat, E as EndsWith, I as Includes, p as Interval, q as IsBooleanLiteral, r as IsNumberLiteral, j as IsStringLiteral, s as IsStringLiteralArray, J as Join, L as Length, M as Math, N as NodeLocale, t as OptionReplaceCombined, u as OptionReplaceObject, P as PadEnd, b as PadStart, v as Repeat, R as Replace, c as ReplaceAll, w as Reverse, S as Slice, d as Split, e as StartsWith, T as ToLowerCase, f as ToUpperCase, g as Trim, h as TrimEnd, i as TrimStart } from './packem_shared/types-DmfKbIaI.js';
25
27
  export { SliceOptions, slice } from './slice.js';
26
28
  export { TruncateOptions, truncate } from './truncate.js';
27
- export { A as All, j as Any, C as CharAt, a as Concat, E as EndsWith, I as Includes, k as IsBooleanLiteral, l as IsNumberLiteral, m as IsStringLiteral, n as IsStringLiteralArray, J as Join, L as Length, M as Math, N as NodeLocale, P as PadEnd, b as PadStart, o as Repeat, R as Replace, c as ReplaceAll, p as Reverse, S as Slice, d as Split, e as StartsWith, T as ToLowerCase, f as ToUpperCase, g as Trim, h as TrimEnd, i as TrimStart } from './packem_shared/types-BNbQJg02.js';
28
- import './utils.js';
29
+ import './packem_shared/lru-cache-B_t27XwI.js';
30
+
31
+ declare const replaceString: (source: string, searches: OptionReplaceArray, ignoreRanges: IntervalArray) => string;
32
+
33
+ declare const slugify: (input: string, options?: SlugifyOptions) => string;
34
+
35
+ declare const transliterate: (source: string, options?: OptionsTransliterate) => string;
29
36
 
30
37
  declare const WrapMode: {
31
38
  readonly BREAK_AT_CHARACTERS: "BREAK_AT_CHARACTERS";
@@ -40,4 +47,4 @@ interface WordWrapOptions {
40
47
  }
41
48
  declare const wordWrap: (string: string, options?: WordWrapOptions) => string;
42
49
 
43
- export { type WordWrapOptions, WrapMode, wordWrap };
50
+ export { IntervalArray, OptionReplaceArray, OptionsTransliterate, SlugifyOptions, type WordWrapOptions, WrapMode, replaceString, slugify, transliterate, wordWrap };