stringzy 3.0.0 → 4.1.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 (171) hide show
  1. package/.prettierignore +4 -0
  2. package/.prettierrc +7 -0
  3. package/CONTRIBUTING.md +41 -29
  4. package/README.md +811 -163
  5. package/dist/analyzing/characterCount.d.ts +19 -0
  6. package/dist/analyzing/characterCount.js +21 -2
  7. package/dist/analyzing/characterFrequency.d.ts +19 -0
  8. package/dist/analyzing/characterFrequency.js +22 -3
  9. package/dist/analyzing/checkMultiplePatterns.d.ts +14 -0
  10. package/dist/analyzing/checkMultiplePatterns.js +63 -0
  11. package/dist/analyzing/checkSubsequence.d.ts +14 -0
  12. package/dist/analyzing/checkSubsequence.js +33 -0
  13. package/dist/analyzing/complexity.d.ts +33 -0
  14. package/dist/analyzing/complexity.js +35 -2
  15. package/dist/analyzing/contentWordCount.d.ts +11 -0
  16. package/dist/analyzing/contentWordCount.js +23 -0
  17. package/dist/analyzing/functionWordCount.d.ts +11 -0
  18. package/dist/analyzing/functionWordCount.js +33 -0
  19. package/dist/analyzing/index.d.ts +29 -12
  20. package/dist/analyzing/index.js +26 -2
  21. package/dist/analyzing/patternCount.d.ts +11 -0
  22. package/dist/analyzing/patternCount.js +54 -0
  23. package/dist/analyzing/stringRotation.d.ts +29 -0
  24. package/dist/analyzing/stringRotation.js +44 -0
  25. package/dist/analyzing/stringSimilarity.js +1 -1
  26. package/dist/analyzing/vowelConsonantCount.d.ts +22 -0
  27. package/dist/analyzing/vowelConsonantCount.js +38 -0
  28. package/dist/analyzing/wordCount.d.ts +22 -0
  29. package/dist/analyzing/wordCount.js +24 -2
  30. package/dist/formatting/capitalize.d.ts +21 -0
  31. package/dist/formatting/capitalize.js +22 -1
  32. package/dist/formatting/index.d.ts +6 -6
  33. package/dist/formatting/number.d.ts +23 -0
  34. package/dist/formatting/number.js +24 -1
  35. package/dist/formatting/phone.d.ts +23 -0
  36. package/dist/formatting/phone.js +23 -0
  37. package/dist/index.d.ts +22 -4
  38. package/dist/tests/analyzing/checkMultiplePatterns.test.d.ts +1 -0
  39. package/dist/tests/analyzing/checkMultiplePatterns.test.js +81 -0
  40. package/dist/tests/analyzing/checkSubsequence.test.d.ts +1 -0
  41. package/dist/tests/analyzing/checkSubsequence.test.js +34 -0
  42. package/dist/tests/analyzing/contentWordCount.test.d.ts +1 -0
  43. package/dist/tests/analyzing/contentWordCount.test.js +20 -0
  44. package/dist/tests/analyzing/functionWordCount.test.d.ts +1 -0
  45. package/dist/tests/analyzing/functionWordCount.test.js +20 -0
  46. package/dist/tests/analyzing/patternCount.test.d.ts +1 -0
  47. package/dist/tests/analyzing/patternCount.test.js +34 -0
  48. package/dist/tests/analyzing/readingDuration.test.js +12 -12
  49. package/dist/tests/analyzing/stringRotation.test.d.ts +1 -0
  50. package/dist/tests/analyzing/stringRotation.test.js +42 -0
  51. package/dist/tests/analyzing/vowelConsonantCount.test.d.ts +1 -0
  52. package/dist/tests/analyzing/vowelConsonantCount.test.js +25 -0
  53. package/dist/tests/transformations/numberToText.test.d.ts +1 -0
  54. package/dist/tests/transformations/numberToText.test.js +60 -0
  55. package/dist/tests/transformations/reverseString.test.d.ts +1 -0
  56. package/dist/tests/transformations/reverseString.test.js +41 -0
  57. package/dist/tests/transformations/splitChunks.test.d.ts +1 -0
  58. package/dist/tests/transformations/splitChunks.test.js +31 -0
  59. package/dist/tests/transformations/stringCombinations.test.d.ts +1 -0
  60. package/dist/tests/transformations/stringCombinations.test.js +41 -0
  61. package/dist/tests/transformations/stringPermutations.test.d.ts +1 -0
  62. package/dist/tests/transformations/stringPermutations.test.js +40 -0
  63. package/dist/tests/validations/isAlphaNumeric.test.d.ts +1 -0
  64. package/dist/tests/validations/isAlphaNumeric.test.js +30 -0
  65. package/dist/tests/validations/isAlphabetic.test.d.ts +1 -0
  66. package/dist/tests/validations/isAlphabetic.test.js +32 -0
  67. package/dist/tests/validations/isAnagram.test.d.ts +1 -0
  68. package/dist/tests/validations/isAnagram.test.js +44 -0
  69. package/dist/tests/validations/isCoordinates.test.d.ts +1 -0
  70. package/dist/tests/validations/isCoordinates.test.js +18 -0
  71. package/dist/tests/validations/isEmail.smtpUTF8.test.d.ts +1 -0
  72. package/dist/tests/validations/isEmail.smtpUTF8.test.js +16 -0
  73. package/dist/tests/validations/isEmail.test.js +56 -6
  74. package/dist/tests/validations/isHexColor.test.js +21 -21
  75. package/dist/tests/validations/isLowerCase.test.d.ts +1 -0
  76. package/dist/tests/validations/isLowerCase.test.js +50 -0
  77. package/dist/tests/validations/isMacAddress.test.d.ts +1 -0
  78. package/dist/tests/validations/isMacAddress.test.js +72 -0
  79. package/dist/tests/validations/isPalindrome.test.d.ts +1 -0
  80. package/dist/tests/validations/isPalindrome.test.js +39 -0
  81. package/dist/tests/validations/isPanagram.test.d.ts +1 -0
  82. package/dist/tests/validations/isPanagram.test.js +39 -0
  83. package/dist/tests/validations/isTypeOf.test.d.ts +1 -0
  84. package/dist/tests/validations/isTypeOf.test.js +28 -0
  85. package/dist/tests/validations/isUpperCase.test.d.ts +1 -0
  86. package/dist/tests/validations/isUpperCase.test.js +50 -0
  87. package/dist/transformations/camelCase.d.ts +24 -0
  88. package/dist/transformations/camelCase.js +24 -0
  89. package/dist/transformations/capitalizeWords.d.ts +21 -0
  90. package/dist/transformations/capitalizeWords.js +23 -2
  91. package/dist/transformations/constantCase.d.ts +26 -0
  92. package/dist/transformations/constantCase.js +26 -0
  93. package/dist/transformations/escapeHTML.d.ts +23 -0
  94. package/dist/transformations/escapeHTML.js +24 -2
  95. package/dist/transformations/index.d.ts +12 -0
  96. package/dist/transformations/index.js +18 -2
  97. package/dist/transformations/initials.d.ts +27 -0
  98. package/dist/transformations/initials.js +38 -8
  99. package/dist/transformations/kebabCase.d.ts +26 -0
  100. package/dist/transformations/kebabCase.js +26 -0
  101. package/dist/transformations/maskSegment.js +4 -6
  102. package/dist/transformations/numberToText/helpers.d.ts +10 -0
  103. package/dist/transformations/numberToText/helpers.js +31 -0
  104. package/dist/transformations/numberToText/implementation_EN.d.ts +10 -0
  105. package/dist/transformations/numberToText/implementation_EN.js +45 -0
  106. package/dist/transformations/numberToText/implementation_PL.d.ts +10 -0
  107. package/dist/transformations/numberToText/implementation_PL.js +79 -0
  108. package/dist/transformations/numberToText/main.d.ts +19 -0
  109. package/dist/transformations/numberToText/main.js +67 -0
  110. package/dist/transformations/numberToText/types.d.ts +3 -0
  111. package/dist/transformations/numberToText/types.js +82 -0
  112. package/dist/transformations/pascalCase.d.ts +25 -0
  113. package/dist/transformations/pascalCase.js +25 -0
  114. package/dist/transformations/removeDuplicates.d.ts +21 -0
  115. package/dist/transformations/removeDuplicates.js +25 -4
  116. package/dist/transformations/removeSpecialChars.d.ts +22 -0
  117. package/dist/transformations/removeSpecialChars.js +26 -4
  118. package/dist/transformations/removeWords.d.ts +27 -0
  119. package/dist/transformations/removeWords.js +31 -4
  120. package/dist/transformations/reverseWordsInString .d.ts +9 -0
  121. package/dist/transformations/reverseWordsInString .js +49 -0
  122. package/dist/transformations/snakeCase.d.ts +26 -0
  123. package/dist/transformations/snakeCase.js +26 -0
  124. package/dist/transformations/splitChunks.d.ts +8 -0
  125. package/dist/transformations/splitChunks.js +24 -0
  126. package/dist/transformations/stringCombinations.d.ts +28 -0
  127. package/dist/transformations/stringCombinations.js +44 -0
  128. package/dist/transformations/stringPermutations.d.ts +31 -0
  129. package/dist/transformations/stringPermutations.js +53 -0
  130. package/dist/transformations/titleCase.d.ts +25 -0
  131. package/dist/transformations/titleCase.js +25 -0
  132. package/dist/transformations/toSlug.d.ts +24 -0
  133. package/dist/transformations/toSlug.js +28 -4
  134. package/dist/transformations/truncateText.d.ts +25 -0
  135. package/dist/transformations/truncateText.js +28 -3
  136. package/dist/validations/index.d.ts +27 -0
  137. package/dist/validations/index.js +38 -2
  138. package/dist/validations/isAlphaNumeric.d.ts +11 -0
  139. package/dist/validations/isAlphaNumeric.js +22 -0
  140. package/dist/validations/isAlphabetic.d.ts +9 -0
  141. package/dist/validations/isAlphabetic.js +21 -0
  142. package/dist/validations/isAnagram.d.ts +13 -0
  143. package/dist/validations/isAnagram.js +23 -0
  144. package/dist/validations/isCoordinates.d.ts +8 -0
  145. package/dist/validations/isCoordinates.js +19 -0
  146. package/dist/validations/isDate.d.ts +1 -1
  147. package/dist/validations/isDate.js +6 -8
  148. package/dist/validations/isEmail.d.ts +13 -1
  149. package/dist/validations/isEmail.js +176 -3
  150. package/dist/validations/isEmpty.d.ts +9 -0
  151. package/dist/validations/isEmpty.js +9 -0
  152. package/dist/validations/isHexColor.js +1 -1
  153. package/dist/validations/isIPv4.d.ts +21 -0
  154. package/dist/validations/isIPv4.js +22 -2
  155. package/dist/validations/isLowerCase.d.ts +12 -0
  156. package/dist/validations/isLowerCase.js +32 -0
  157. package/dist/validations/isMacAddress.d.ts +27 -0
  158. package/dist/validations/isMacAddress.js +43 -0
  159. package/dist/validations/isPalindrome.d.ts +10 -0
  160. package/dist/validations/isPalindrome.js +21 -0
  161. package/dist/validations/isPanagram.d.ts +20 -0
  162. package/dist/validations/isPanagram.js +35 -0
  163. package/dist/validations/isSlug.d.ts +27 -0
  164. package/dist/validations/isSlug.js +27 -0
  165. package/dist/validations/isTypeOf.d.ts +9 -0
  166. package/dist/validations/isTypeOf.js +30 -0
  167. package/dist/validations/isURL.d.ts +21 -0
  168. package/dist/validations/isURL.js +21 -0
  169. package/dist/validations/isUpperCase.d.ts +12 -0
  170. package/dist/validations/isUpperCase.js +32 -0
  171. package/package.json +6 -4
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const node_test_1 = require("node:test");
7
+ const strict_1 = __importDefault(require("node:assert/strict"));
8
+ const isLowerCase_1 = require("../../validations/isLowerCase");
9
+ (0, node_test_1.describe)('isLowerCase', () => {
10
+ (0, node_test_1.it)('returns true for all lowercase alphabetic strings', () => {
11
+ strict_1.default.strictEqual((0, isLowerCase_1.isLowerCase)('hello'), true);
12
+ strict_1.default.strictEqual((0, isLowerCase_1.isLowerCase)('world'), true);
13
+ });
14
+ (0, node_test_1.it)('returns true for strings with lowercase letters, spaces, digits, or special characters', () => {
15
+ strict_1.default.strictEqual((0, isLowerCase_1.isLowerCase)('hello world!'), true);
16
+ strict_1.default.strictEqual((0, isLowerCase_1.isLowerCase)('abc123'), true);
17
+ strict_1.default.strictEqual((0, isLowerCase_1.isLowerCase)('lower_case-only!!'), true);
18
+ });
19
+ (0, node_test_1.it)('returns false if any uppercase alphabetic character is present', () => {
20
+ strict_1.default.strictEqual((0, isLowerCase_1.isLowerCase)('Hello'), false);
21
+ strict_1.default.strictEqual((0, isLowerCase_1.isLowerCase)('worldWide'), false);
22
+ strict_1.default.strictEqual((0, isLowerCase_1.isLowerCase)('123ABC'), false);
23
+ strict_1.default.strictEqual((0, isLowerCase_1.isLowerCase)('@@Good@@'), false);
24
+ });
25
+ (0, node_test_1.it)('returns false for an empty string', () => {
26
+ strict_1.default.strictEqual((0, isLowerCase_1.isLowerCase)(''), false);
27
+ });
28
+ (0, node_test_1.it)('returns true for strings with only non-alphabetic characters (digits/symbols/spaces)', () => {
29
+ strict_1.default.strictEqual((0, isLowerCase_1.isLowerCase)('12345'), false); // no letters
30
+ strict_1.default.strictEqual((0, isLowerCase_1.isLowerCase)('!@#$%^&*()'), false);
31
+ strict_1.default.strictEqual((0, isLowerCase_1.isLowerCase)(' '), false); // spaces only
32
+ });
33
+ (0, node_test_1.it)('returns true for single lowercase letters', () => {
34
+ strict_1.default.strictEqual((0, isLowerCase_1.isLowerCase)('a'), true);
35
+ strict_1.default.strictEqual((0, isLowerCase_1.isLowerCase)('z'), true);
36
+ });
37
+ (0, node_test_1.it)('returns false for single uppercase letters', () => {
38
+ strict_1.default.strictEqual((0, isLowerCase_1.isLowerCase)('A'), false);
39
+ strict_1.default.strictEqual((0, isLowerCase_1.isLowerCase)('Z'), false);
40
+ });
41
+ (0, node_test_1.it)('handles mixed alphanumeric correctly', () => {
42
+ strict_1.default.strictEqual((0, isLowerCase_1.isLowerCase)('abc123xyz'), true);
43
+ strict_1.default.strictEqual((0, isLowerCase_1.isLowerCase)('abcXYZ123'), false);
44
+ });
45
+ (0, node_test_1.it)('throws an error if input is not a string', () => {
46
+ strict_1.default.throws(() => (0, isLowerCase_1.isLowerCase)(123), /Input must be a string/);
47
+ strict_1.default.throws(() => (0, isLowerCase_1.isLowerCase)(null), /Input must be a string/);
48
+ strict_1.default.throws(() => (0, isLowerCase_1.isLowerCase)(undefined), /Input must be a string/);
49
+ });
50
+ });
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,72 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const node_test_1 = require("node:test");
7
+ const node_assert_1 = __importDefault(require("node:assert"));
8
+ const isMacAddress_1 = require("../../validations/isMacAddress");
9
+ (0, node_test_1.describe)('isMacAddress', () => {
10
+ (0, node_test_1.it)('returns true for valid MAC addresses with colons', () => {
11
+ node_assert_1.default.strictEqual((0, isMacAddress_1.isMacAddress)('00:1A:2B:3C:4D:5E'), true);
12
+ node_assert_1.default.strictEqual((0, isMacAddress_1.isMacAddress)('aa:bb:cc:dd:ee:ff'), true);
13
+ node_assert_1.default.strictEqual((0, isMacAddress_1.isMacAddress)('FF:FF:FF:FF:FF:FF'), true);
14
+ node_assert_1.default.strictEqual((0, isMacAddress_1.isMacAddress)('01:23:45:67:89:AB'), true);
15
+ });
16
+ (0, node_test_1.it)('returns true for valid MAC addresses with hyphens', () => {
17
+ node_assert_1.default.strictEqual((0, isMacAddress_1.isMacAddress)('00-1A-2B-3C-4D-5E'), true);
18
+ node_assert_1.default.strictEqual((0, isMacAddress_1.isMacAddress)('aa-bb-cc-dd-ee-ff'), true);
19
+ node_assert_1.default.strictEqual((0, isMacAddress_1.isMacAddress)('FF-FF-FF-FF-FF-FF'), true);
20
+ });
21
+ (0, node_test_1.it)('returns false for MAC addresses with mixed separators', () => {
22
+ node_assert_1.default.strictEqual((0, isMacAddress_1.isMacAddress)('00:1A-2B:3C-4D:5E'), false);
23
+ node_assert_1.default.strictEqual((0, isMacAddress_1.isMacAddress)('AA-BB:CC-DD:EE-FF'), false);
24
+ });
25
+ (0, node_test_1.it)('returns false for MAC addresses with invalid hex digits', () => {
26
+ node_assert_1.default.strictEqual((0, isMacAddress_1.isMacAddress)('00:1G:2B:3C:4D:5E'), false);
27
+ node_assert_1.default.strictEqual((0, isMacAddress_1.isMacAddress)('ZZ:ZZ:ZZ:ZZ:ZZ:ZZ'), false);
28
+ node_assert_1.default.strictEqual((0, isMacAddress_1.isMacAddress)('GG-GG-GG-GG-GG-GG'), false);
29
+ });
30
+ (0, node_test_1.it)('returns false for MAC addresses with wrong length', () => {
31
+ node_assert_1.default.strictEqual((0, isMacAddress_1.isMacAddress)('00:1A:2B:3C:4D'), false); // only 5 pairs
32
+ node_assert_1.default.strictEqual((0, isMacAddress_1.isMacAddress)('00:1A:2B:3C:4D:5E:7F'), false); // 7 pairs
33
+ node_assert_1.default.strictEqual((0, isMacAddress_1.isMacAddress)('001A:2B:3C:4D:5E'), false); // first group too long
34
+ });
35
+ (0, node_test_1.it)('returns false for MAC addresses with leading/trailing spaces', () => {
36
+ node_assert_1.default.strictEqual((0, isMacAddress_1.isMacAddress)(' 00:1A:2B:3C:4D:5E'), false);
37
+ node_assert_1.default.strictEqual((0, isMacAddress_1.isMacAddress)('00:1A:2B:3C:4D:5E '), false);
38
+ node_assert_1.default.strictEqual((0, isMacAddress_1.isMacAddress)(' 00:1A:2B:3C:4D:5E '), false);
39
+ });
40
+ (0, node_test_1.it)('returns false for MAC addresses with spaces inside', () => {
41
+ node_assert_1.default.strictEqual((0, isMacAddress_1.isMacAddress)('00:1A:2B:3C:4D :5E'), false);
42
+ node_assert_1.default.strictEqual((0, isMacAddress_1.isMacAddress)('00 :1A:2B:3C:4D:5E'), false);
43
+ node_assert_1.default.strictEqual((0, isMacAddress_1.isMacAddress)('00:1A:2B:3C: 4D:5E'), false);
44
+ });
45
+ (0, node_test_1.it)('returns false for missing separators', () => {
46
+ node_assert_1.default.strictEqual((0, isMacAddress_1.isMacAddress)('001A2B3C4D5E'), false);
47
+ node_assert_1.default.strictEqual((0, isMacAddress_1.isMacAddress)('00:1A2B:3C4D:5E'), false);
48
+ node_assert_1.default.strictEqual((0, isMacAddress_1.isMacAddress)('00-1A2B-3C4D-5E'), false);
49
+ });
50
+ (0, node_test_1.it)('returns false for extra separators', () => {
51
+ node_assert_1.default.strictEqual((0, isMacAddress_1.isMacAddress)('00::1A:2B:3C:4D:5E'), false);
52
+ node_assert_1.default.strictEqual((0, isMacAddress_1.isMacAddress)('00-1A--2B-3C-4D-5E'), false);
53
+ node_assert_1.default.strictEqual((0, isMacAddress_1.isMacAddress)('00:1A:2B:3C:4D:5E:'), false);
54
+ });
55
+ (0, node_test_1.it)('returns false for empty strings and malformed inputs', () => {
56
+ node_assert_1.default.strictEqual((0, isMacAddress_1.isMacAddress)(''), false);
57
+ node_assert_1.default.strictEqual((0, isMacAddress_1.isMacAddress)('::::::'), false);
58
+ node_assert_1.default.strictEqual((0, isMacAddress_1.isMacAddress)('--:--:--:--:--:--'), false);
59
+ node_assert_1.default.strictEqual((0, isMacAddress_1.isMacAddress)('00:1A:2B:3C:4D:5E:'), false);
60
+ node_assert_1.default.strictEqual((0, isMacAddress_1.isMacAddress)(':00:1A:2B:3C:4D:5E'), false);
61
+ });
62
+ (0, node_test_1.it)('returns false for non-hex characters and invalid formats', () => {
63
+ node_assert_1.default.strictEqual((0, isMacAddress_1.isMacAddress)('00:1A:2B:3C:4D:GH'), false);
64
+ node_assert_1.default.strictEqual((0, isMacAddress_1.isMacAddress)('hello-world-mac'), false);
65
+ node_assert_1.default.strictEqual((0, isMacAddress_1.isMacAddress)('mac:address:test'), false);
66
+ });
67
+ (0, node_test_1.it)('accepts both uppercase and lowercase consistently', () => {
68
+ node_assert_1.default.strictEqual((0, isMacAddress_1.isMacAddress)('aa:bb:cc:dd:ee:ff'), true);
69
+ node_assert_1.default.strictEqual((0, isMacAddress_1.isMacAddress)('AA:BB:CC:DD:EE:FF'), true);
70
+ node_assert_1.default.strictEqual((0, isMacAddress_1.isMacAddress)('Aa:Bb:Cc:Dd:Ee:Ff'), true);
71
+ });
72
+ });
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const node_test_1 = require("node:test");
7
+ const node_assert_1 = __importDefault(require("node:assert"));
8
+ const isPalindrome_1 = require("../../validations/isPalindrome");
9
+ (0, node_test_1.describe)('isPalindrome', () => {
10
+ (0, node_test_1.it)('returns true for simple palindromes', () => {
11
+ node_assert_1.default.strictEqual((0, isPalindrome_1.isPalindrome)('racecar'), true);
12
+ node_assert_1.default.strictEqual((0, isPalindrome_1.isPalindrome)('madam'), true);
13
+ });
14
+ (0, node_test_1.it)('returns false for non-palindromes', () => {
15
+ node_assert_1.default.strictEqual((0, isPalindrome_1.isPalindrome)('hello'), false);
16
+ node_assert_1.default.strictEqual((0, isPalindrome_1.isPalindrome)('world'), false);
17
+ });
18
+ (0, node_test_1.it)('is case-insensitive', () => {
19
+ node_assert_1.default.strictEqual((0, isPalindrome_1.isPalindrome)('RaceCar'), true);
20
+ node_assert_1.default.strictEqual((0, isPalindrome_1.isPalindrome)('MadAm'), true);
21
+ });
22
+ (0, node_test_1.it)('ignores punctuation and spaces', () => {
23
+ node_assert_1.default.strictEqual((0, isPalindrome_1.isPalindrome)('A man, a plan, a canal: Panama'), true);
24
+ node_assert_1.default.strictEqual((0, isPalindrome_1.isPalindrome)('No lemon, no melon!'), true);
25
+ });
26
+ (0, node_test_1.it)('returns true for empty string and single characters', () => {
27
+ node_assert_1.default.strictEqual((0, isPalindrome_1.isPalindrome)(''), true);
28
+ node_assert_1.default.strictEqual((0, isPalindrome_1.isPalindrome)('x'), true);
29
+ });
30
+ (0, node_test_1.it)('handles strings with only special characters', () => {
31
+ node_assert_1.default.strictEqual((0, isPalindrome_1.isPalindrome)('?!'), true); // cleans to ''
32
+ node_assert_1.default.strictEqual((0, isPalindrome_1.isPalindrome)('!@#$$#@!'), true); // also cleans to ''
33
+ });
34
+ (0, node_test_1.it)('throws an error if input is not a string', () => {
35
+ node_assert_1.default.throws(() => (0, isPalindrome_1.isPalindrome)(123), /Input must be a string/);
36
+ node_assert_1.default.throws(() => (0, isPalindrome_1.isPalindrome)(null), /Input must be a string/);
37
+ node_assert_1.default.throws(() => (0, isPalindrome_1.isPalindrome)(undefined), /Input must be a string/);
38
+ });
39
+ });
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const node_test_1 = require("node:test");
7
+ const node_assert_1 = __importDefault(require("node:assert"));
8
+ const isPanagram_1 = require("../../validations/isPanagram");
9
+ (0, node_test_1.describe)('isPanagram', () => {
10
+ (0, node_test_1.it)('returns true for a classic pangram sentence', () => {
11
+ node_assert_1.default.strictEqual((0, isPanagram_1.isPanagram)('The quick brown fox jumps over the lazy dog.'), true);
12
+ });
13
+ (0, node_test_1.it)('returns true for the alphabet with hyphens or separators', () => {
14
+ node_assert_1.default.strictEqual((0, isPanagram_1.isPanagram)('A-B-C-D-E-F-G-H-I-J-K-L-M-N-O-P-Q-R-S-T-U-V-W-X-Y-Z'), true);
15
+ });
16
+ (0, node_test_1.it)('returns true for alphabet without separators', () => {
17
+ node_assert_1.default.strictEqual((0, isPanagram_1.isPanagram)('Abcdefghijklmnopqrstuvwxyz'), true);
18
+ });
19
+ (0, node_test_1.it)('returns true for alphabet in mixed case', () => {
20
+ node_assert_1.default.strictEqual((0, isPanagram_1.isPanagram)('AbCdEfGhIjKlMnOpQrStUvWxYz'), true);
21
+ });
22
+ (0, node_test_1.it)('returns false for non-pangram sentences', () => {
23
+ node_assert_1.default.strictEqual((0, isPanagram_1.isPanagram)('This is not a pangram.'), false);
24
+ node_assert_1.default.strictEqual((0, isPanagram_1.isPanagram)('Hello world'), false);
25
+ node_assert_1.default.strictEqual((0, isPanagram_1.isPanagram)('Quick fox'), false);
26
+ });
27
+ (0, node_test_1.it)('returns false for empty strings', () => {
28
+ node_assert_1.default.strictEqual((0, isPanagram_1.isPanagram)(''), false);
29
+ });
30
+ (0, node_test_1.it)('ignores numbers and punctuation', () => {
31
+ node_assert_1.default.strictEqual((0, isPanagram_1.isPanagram)('The quick brown fox jumps over the lazy dog! 12345'), true);
32
+ node_assert_1.default.strictEqual((0, isPanagram_1.isPanagram)('1234567890 !!! ???'), false);
33
+ });
34
+ (0, node_test_1.it)('throws an error if input is not a string', () => {
35
+ node_assert_1.default.throws(() => (0, isPanagram_1.isPanagram)(123), /Input must be a string/);
36
+ node_assert_1.default.throws(() => (0, isPanagram_1.isPanagram)(null), /Input must be a string/);
37
+ node_assert_1.default.throws(() => (0, isPanagram_1.isPanagram)(undefined), /Input must be a string/);
38
+ });
39
+ });
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const node_test_1 = require("node:test");
7
+ const node_assert_1 = __importDefault(require("node:assert"));
8
+ const isTypeOf_1 = require("../../validations/isTypeOf");
9
+ (0, node_test_1.describe)('isType', () => {
10
+ (0, node_test_1.it)('returns true for valid file', () => {
11
+ node_assert_1.default.strictEqual((0, isTypeOf_1.isTypeOf)('photo.PNG', 'image'), true);
12
+ });
13
+ (0, node_test_1.it)('returns false for unknown extension', () => {
14
+ node_assert_1.default.strictEqual((0, isTypeOf_1.isTypeOf)('unknown.xyz', 'document'), false);
15
+ });
16
+ (0, node_test_1.it)('returns false for unknown type category', () => {
17
+ node_assert_1.default.strictEqual((0, isTypeOf_1.isTypeOf)('photo.png', 'media'), false);
18
+ });
19
+ (0, node_test_1.it)('returns false for mismatched type', () => {
20
+ node_assert_1.default.strictEqual((0, isTypeOf_1.isTypeOf)('video.mp4', 'document'), false);
21
+ });
22
+ (0, node_test_1.it)('returns false for missing extension', () => {
23
+ node_assert_1.default.strictEqual((0, isTypeOf_1.isTypeOf)('filewithoutextension', 'image'), false);
24
+ });
25
+ (0, node_test_1.it)('handles URL with query and hash fragments', () => {
26
+ node_assert_1.default.strictEqual((0, isTypeOf_1.isTypeOf)('https://example.com/pic.jpeg?version=2#section', 'image'), true);
27
+ });
28
+ });
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const node_test_1 = require("node:test");
7
+ const strict_1 = __importDefault(require("node:assert/strict"));
8
+ const isUpperCase_1 = require("../../validations/isUpperCase");
9
+ (0, node_test_1.describe)('isUpperCase', () => {
10
+ (0, node_test_1.it)('returns true for all uppercase alphabetic strings', () => {
11
+ strict_1.default.strictEqual((0, isUpperCase_1.isUpperCase)('HELLO'), true);
12
+ strict_1.default.strictEqual((0, isUpperCase_1.isUpperCase)('WORLD'), true);
13
+ });
14
+ (0, node_test_1.it)('returns true for strings with uppercase letters, spaces, digits, or special characters', () => {
15
+ strict_1.default.strictEqual((0, isUpperCase_1.isUpperCase)('HELLO WORLD!'), true);
16
+ strict_1.default.strictEqual((0, isUpperCase_1.isUpperCase)('ABC123'), true);
17
+ strict_1.default.strictEqual((0, isUpperCase_1.isUpperCase)('UPPER_CASE-ONLY!!'), true);
18
+ });
19
+ (0, node_test_1.it)('returns false if any lowercase alphabetic character is present', () => {
20
+ strict_1.default.strictEqual((0, isUpperCase_1.isUpperCase)('Hello'), false);
21
+ strict_1.default.strictEqual((0, isUpperCase_1.isUpperCase)('WORLDwide'), false);
22
+ strict_1.default.strictEqual((0, isUpperCase_1.isUpperCase)('123abc'), false);
23
+ strict_1.default.strictEqual((0, isUpperCase_1.isUpperCase)('@@good@@'), false);
24
+ });
25
+ (0, node_test_1.it)('returns false for an empty string', () => {
26
+ strict_1.default.strictEqual((0, isUpperCase_1.isUpperCase)(''), false);
27
+ });
28
+ (0, node_test_1.it)('returns false for strings with only non-alphabetic characters (digits/symbols/spaces)', () => {
29
+ strict_1.default.strictEqual((0, isUpperCase_1.isUpperCase)('12345'), false); // no letters
30
+ strict_1.default.strictEqual((0, isUpperCase_1.isUpperCase)('!@#$%^&*()'), false);
31
+ strict_1.default.strictEqual((0, isUpperCase_1.isUpperCase)(' '), false); // spaces only
32
+ });
33
+ (0, node_test_1.it)('returns true for single uppercase letters', () => {
34
+ strict_1.default.strictEqual((0, isUpperCase_1.isUpperCase)('A'), true);
35
+ strict_1.default.strictEqual((0, isUpperCase_1.isUpperCase)('Z'), true);
36
+ });
37
+ (0, node_test_1.it)('returns false for single lowercase letters', () => {
38
+ strict_1.default.strictEqual((0, isUpperCase_1.isUpperCase)('a'), false);
39
+ strict_1.default.strictEqual((0, isUpperCase_1.isUpperCase)('z'), false);
40
+ });
41
+ (0, node_test_1.it)('handles mixed alphanumeric correctly', () => {
42
+ strict_1.default.strictEqual((0, isUpperCase_1.isUpperCase)('ABC123XYZ'), true);
43
+ strict_1.default.strictEqual((0, isUpperCase_1.isUpperCase)('ABCxyz123'), false);
44
+ });
45
+ (0, node_test_1.it)('throws an error if input is not a string', () => {
46
+ strict_1.default.throws(() => (0, isUpperCase_1.isUpperCase)(123), /Input must be a string/);
47
+ strict_1.default.throws(() => (0, isUpperCase_1.isUpperCase)(null), /Input must be a string/);
48
+ strict_1.default.throws(() => (0, isUpperCase_1.isUpperCase)(undefined), /Input must be a string/);
49
+ });
50
+ });
@@ -1 +1,25 @@
1
+ /**
2
+ * Converts a given string into camelCase format.
3
+ *
4
+ * This function normalizes the input by:
5
+ * - Converting it to lowercase
6
+ * - Removing special characters (except alphanumeric and underscores)
7
+ * - Replacing underscores and multiple spaces with single spaces
8
+ * - Capitalizing each word except the first
9
+ * - Removing all spaces to form a camelCased result
10
+ *
11
+ * If the input is `null` or `undefined`, an empty string is returned.
12
+ *
13
+ * @param {string} text - The input string to convert.
14
+ * @returns {string} The camelCased version of the input string.
15
+ *
16
+ * @example
17
+ * camelCase("Hello world"); // "helloWorld"
18
+ *
19
+ * @example
20
+ * camelCase(" convert_to-camel case!! "); // "convertToCamelCase"
21
+ *
22
+ * @example
23
+ * camelCase(""); // ""
24
+ */
1
25
  export declare function camelCase(text: string): string;
@@ -1,6 +1,30 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.camelCase = camelCase;
4
+ /**
5
+ * Converts a given string into camelCase format.
6
+ *
7
+ * This function normalizes the input by:
8
+ * - Converting it to lowercase
9
+ * - Removing special characters (except alphanumeric and underscores)
10
+ * - Replacing underscores and multiple spaces with single spaces
11
+ * - Capitalizing each word except the first
12
+ * - Removing all spaces to form a camelCased result
13
+ *
14
+ * If the input is `null` or `undefined`, an empty string is returned.
15
+ *
16
+ * @param {string} text - The input string to convert.
17
+ * @returns {string} The camelCased version of the input string.
18
+ *
19
+ * @example
20
+ * camelCase("Hello world"); // "helloWorld"
21
+ *
22
+ * @example
23
+ * camelCase(" convert_to-camel case!! "); // "convertToCamelCase"
24
+ *
25
+ * @example
26
+ * camelCase(""); // ""
27
+ */
4
28
  function camelCase(text) {
5
29
  if (text == null)
6
30
  return '';
@@ -1 +1,22 @@
1
+ /**
2
+ * Capitalizes the first letter of every word in a given string.
3
+ *
4
+ * A word is identified by word boundaries (`\b`), and only the first character
5
+ * of each word is converted to uppercase. The rest of the characters remain unchanged.
6
+ *
7
+ * Throws an error if the input is not a string.
8
+ *
9
+ * @param {string} text - The input string whose words will be capitalized.
10
+ * @returns {string} A new string with each word's first character in uppercase.
11
+ * @throws {Error} If the input is not a string.
12
+ *
13
+ * @example
14
+ * capitalizeWords("hello world"); // "Hello World"
15
+ *
16
+ * @example
17
+ * capitalizeWords("javaScript is fun!"); // "JavaScript Is Fun!"
18
+ *
19
+ * @example
20
+ * capitalizeWords(""); // ""
21
+ */
1
22
  export declare function capitalizeWords(text: string): string;
@@ -1,9 +1,30 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.capitalizeWords = capitalizeWords;
4
+ /**
5
+ * Capitalizes the first letter of every word in a given string.
6
+ *
7
+ * A word is identified by word boundaries (`\b`), and only the first character
8
+ * of each word is converted to uppercase. The rest of the characters remain unchanged.
9
+ *
10
+ * Throws an error if the input is not a string.
11
+ *
12
+ * @param {string} text - The input string whose words will be capitalized.
13
+ * @returns {string} A new string with each word's first character in uppercase.
14
+ * @throws {Error} If the input is not a string.
15
+ *
16
+ * @example
17
+ * capitalizeWords("hello world"); // "Hello World"
18
+ *
19
+ * @example
20
+ * capitalizeWords("javaScript is fun!"); // "JavaScript Is Fun!"
21
+ *
22
+ * @example
23
+ * capitalizeWords(""); // ""
24
+ */
4
25
  function capitalizeWords(text) {
5
- if (typeof text !== "string") {
6
- throw new Error("Invalid argument. Expected a string.");
26
+ if (typeof text !== 'string') {
27
+ throw new Error('Invalid argument. Expected a string.');
7
28
  }
8
29
  return text.replace(/\b\w/g, (char) => char.toUpperCase());
9
30
  }
@@ -1 +1,27 @@
1
+ /**
2
+ * Converts a given string to CONSTANT_CASE format.
3
+ *
4
+ * The transformation includes:
5
+ * - Trimming whitespace from both ends
6
+ * - Replacing spaces and hyphens with underscores
7
+ * - Inserting underscores between lowercase and uppercase letter boundaries (e.g., `fooBar` → `FOO_BAR`)
8
+ * - Replacing all non-word characters with underscores
9
+ * - Converting the entire string to uppercase
10
+ * - Collapsing multiple underscores into one
11
+ * - Removing leading and trailing underscores
12
+ *
13
+ * If the input is `null` or `undefined`, it returns an empty string.
14
+ *
15
+ * @param {string} text - The input string to convert.
16
+ * @returns {string} The transformed CONSTANT_CASE string.
17
+ *
18
+ * @example
19
+ * constantCase("hello world"); // "HELLO_WORLD"
20
+ *
21
+ * @example
22
+ * constantCase("camelCaseText"); // "CAMEL_CASE_TEXT"
23
+ *
24
+ * @example
25
+ * constantCase(" convert-to_CONSTANT.case! "); // "CONVERT_TO_CONSTANT_CASE"
26
+ */
1
27
  export declare function constantCase(text: string): string;
@@ -1,6 +1,32 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.constantCase = constantCase;
4
+ /**
5
+ * Converts a given string to CONSTANT_CASE format.
6
+ *
7
+ * The transformation includes:
8
+ * - Trimming whitespace from both ends
9
+ * - Replacing spaces and hyphens with underscores
10
+ * - Inserting underscores between lowercase and uppercase letter boundaries (e.g., `fooBar` → `FOO_BAR`)
11
+ * - Replacing all non-word characters with underscores
12
+ * - Converting the entire string to uppercase
13
+ * - Collapsing multiple underscores into one
14
+ * - Removing leading and trailing underscores
15
+ *
16
+ * If the input is `null` or `undefined`, it returns an empty string.
17
+ *
18
+ * @param {string} text - The input string to convert.
19
+ * @returns {string} The transformed CONSTANT_CASE string.
20
+ *
21
+ * @example
22
+ * constantCase("hello world"); // "HELLO_WORLD"
23
+ *
24
+ * @example
25
+ * constantCase("camelCaseText"); // "CAMEL_CASE_TEXT"
26
+ *
27
+ * @example
28
+ * constantCase(" convert-to_CONSTANT.case! "); // "CONVERT_TO_CONSTANT_CASE"
29
+ */
4
30
  function constantCase(text) {
5
31
  if (text == null)
6
32
  return '';
@@ -1 +1,24 @@
1
+ /**
2
+ * Escapes special HTML characters in a string to their corresponding HTML entities.
3
+ *
4
+ * This function replaces the following characters:
5
+ * - `&` with `&`
6
+ * - `<` with `&lt;`
7
+ * - `>` with `&gt;`
8
+ * - `"` with `&quot;`
9
+ * - `'` with `&#39;`
10
+ *
11
+ * This is useful to prevent HTML injection or XSS attacks when inserting user input into HTML.
12
+ *
13
+ * @param {string} str - The string to escape.
14
+ * @returns {string} The escaped string with HTML entities.
15
+ *
16
+ * @example
17
+ * escapeHtml('<div class="test">Hello & Welcome</div>');
18
+ * // "&lt;div class=&quot;test&quot;&gt;Hello &amp; Welcome&lt;/div&gt;"
19
+ *
20
+ * @example
21
+ * escapeHtml("It's a test!");
22
+ * // "It&#39;s a test!"
23
+ */
1
24
  export declare function escapeHtml(str: string): string;
@@ -1,14 +1,36 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.escapeHtml = escapeHtml;
4
+ /**
5
+ * Escapes special HTML characters in a string to their corresponding HTML entities.
6
+ *
7
+ * This function replaces the following characters:
8
+ * - `&` with `&amp;`
9
+ * - `<` with `&lt;`
10
+ * - `>` with `&gt;`
11
+ * - `"` with `&quot;`
12
+ * - `'` with `&#39;`
13
+ *
14
+ * This is useful to prevent HTML injection or XSS attacks when inserting user input into HTML.
15
+ *
16
+ * @param {string} str - The string to escape.
17
+ * @returns {string} The escaped string with HTML entities.
18
+ *
19
+ * @example
20
+ * escapeHtml('<div class="test">Hello & Welcome</div>');
21
+ * // "&lt;div class=&quot;test&quot;&gt;Hello &amp; Welcome&lt;/div&gt;"
22
+ *
23
+ * @example
24
+ * escapeHtml("It's a test!");
25
+ * // "It&#39;s a test!"
26
+ */
4
27
  function escapeHtml(str) {
5
28
  const htmlEscapes = {
6
29
  '&': '&amp;',
7
30
  '<': '&lt;',
8
31
  '>': '&gt;',
9
32
  '"': '&quot;',
10
- "'": '&#39;'
33
+ "'": '&#39;',
11
34
  };
12
35
  return str.replace(/[&<>"']/g, (match) => htmlEscapes[match]);
13
36
  }
14
- ;
@@ -13,6 +13,10 @@ export { toSlug } from './toSlug';
13
13
  export { truncateText } from './truncateText';
14
14
  export { escapeHtml } from './escapeHTML';
15
15
  export { maskSegment } from './maskSegment';
16
+ export { numberToText } from './numberToText/main';
17
+ export { reverseWordsInString } from './reverseWordsInString ';
18
+ export { stringPermutations } from './stringPermutations';
19
+ export { stringCombinations } from './stringCombinations';
16
20
  import { camelCase } from './camelCase';
17
21
  import { capitalizeWords } from './capitalizeWords';
18
22
  import { constantCase } from './constantCase';
@@ -29,6 +33,10 @@ import { truncateText } from './truncateText';
29
33
  import { escapeHtml } from './escapeHTML';
30
34
  import { maskSegment } from './maskSegment';
31
35
  import { deburr } from './deburr';
36
+ import { numberToText } from './numberToText/main';
37
+ import { reverseWordsInString } from './reverseWordsInString ';
38
+ import { stringPermutations } from './stringPermutations';
39
+ import { stringCombinations } from './stringCombinations';
32
40
  export declare const transformations: {
33
41
  camelCase: typeof camelCase;
34
42
  capitalizeWords: typeof capitalizeWords;
@@ -46,4 +54,8 @@ export declare const transformations: {
46
54
  escapeHtml: typeof escapeHtml;
47
55
  maskSegment: typeof maskSegment;
48
56
  deburr: typeof deburr;
57
+ numberToText: typeof numberToText;
58
+ reverseWordsInString: typeof reverseWordsInString;
59
+ stringPermutations: typeof stringPermutations;
60
+ stringCombinations: typeof stringCombinations;
49
61
  };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.transformations = exports.maskSegment = exports.escapeHtml = exports.truncateText = exports.toSlug = exports.titleCase = exports.snakeCase = exports.removeWords = exports.removeSpecialChars = exports.removeDuplicates = exports.pascalCase = exports.kebabCase = exports.initials = exports.constantCase = exports.capitalizeWords = exports.camelCase = void 0;
3
+ exports.transformations = exports.stringCombinations = exports.stringPermutations = exports.reverseWordsInString = exports.numberToText = exports.maskSegment = exports.escapeHtml = exports.truncateText = exports.toSlug = exports.titleCase = exports.snakeCase = exports.removeWords = exports.removeSpecialChars = exports.removeDuplicates = exports.pascalCase = exports.kebabCase = exports.initials = exports.constantCase = exports.capitalizeWords = exports.camelCase = void 0;
4
4
  var camelCase_1 = require("./camelCase");
5
5
  Object.defineProperty(exports, "camelCase", { enumerable: true, get: function () { return camelCase_1.camelCase; } });
6
6
  var capitalizeWords_1 = require("./capitalizeWords");
@@ -31,6 +31,14 @@ var escapeHTML_1 = require("./escapeHTML");
31
31
  Object.defineProperty(exports, "escapeHtml", { enumerable: true, get: function () { return escapeHTML_1.escapeHtml; } });
32
32
  var maskSegment_1 = require("./maskSegment");
33
33
  Object.defineProperty(exports, "maskSegment", { enumerable: true, get: function () { return maskSegment_1.maskSegment; } });
34
+ var main_1 = require("./numberToText/main");
35
+ Object.defineProperty(exports, "numberToText", { enumerable: true, get: function () { return main_1.numberToText; } });
36
+ var reverseWordsInString_1 = require("./reverseWordsInString ");
37
+ Object.defineProperty(exports, "reverseWordsInString", { enumerable: true, get: function () { return reverseWordsInString_1.reverseWordsInString; } });
38
+ var stringPermutations_1 = require("./stringPermutations");
39
+ Object.defineProperty(exports, "stringPermutations", { enumerable: true, get: function () { return stringPermutations_1.stringPermutations; } });
40
+ var stringCombinations_1 = require("./stringCombinations");
41
+ Object.defineProperty(exports, "stringCombinations", { enumerable: true, get: function () { return stringCombinations_1.stringCombinations; } });
34
42
  const camelCase_2 = require("./camelCase");
35
43
  const capitalizeWords_2 = require("./capitalizeWords");
36
44
  const constantCase_2 = require("./constantCase");
@@ -47,6 +55,10 @@ const truncateText_2 = require("./truncateText");
47
55
  const escapeHTML_2 = require("./escapeHTML");
48
56
  const maskSegment_2 = require("./maskSegment");
49
57
  const deburr_1 = require("./deburr");
58
+ const main_2 = require("./numberToText/main");
59
+ const reverseWordsInString_2 = require("./reverseWordsInString ");
60
+ const stringPermutations_2 = require("./stringPermutations");
61
+ const stringCombinations_2 = require("./stringCombinations");
50
62
  exports.transformations = {
51
63
  camelCase: camelCase_2.camelCase,
52
64
  capitalizeWords: capitalizeWords_2.capitalizeWords,
@@ -63,5 +75,9 @@ exports.transformations = {
63
75
  truncateText: truncateText_2.truncateText,
64
76
  escapeHtml: escapeHTML_2.escapeHtml,
65
77
  maskSegment: maskSegment_2.maskSegment,
66
- deburr: deburr_1.deburr
78
+ deburr: deburr_1.deburr,
79
+ numberToText: main_2.numberToText,
80
+ reverseWordsInString: reverseWordsInString_2.reverseWordsInString,
81
+ stringPermutations: stringPermutations_2.stringPermutations,
82
+ stringCombinations: stringCombinations_2.stringCombinations
67
83
  };