bytekit 1.0.31 → 2.0.6

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 (129) hide show
  1. package/README.md +58 -188
  2. package/bin/bytekit.js +0 -0
  3. package/dist/cli/index.d.ts.map +1 -1
  4. package/dist/cli/index.js.map +1 -1
  5. package/dist/cli/swagger-generator.d.ts +1 -1
  6. package/dist/cli/swagger-generator.d.ts.map +1 -1
  7. package/dist/cli/swagger-generator.js +9 -5
  8. package/dist/cli/swagger-generator.js.map +1 -1
  9. package/dist/utils/core/ApiClient.d.ts +13 -12
  10. package/dist/utils/core/ApiClient.d.ts.map +1 -1
  11. package/dist/utils/core/ApiClient.js +24 -13
  12. package/dist/utils/core/ApiClient.js.map +1 -1
  13. package/dist/utils/core/SchemaAdapter.d.ts +35 -0
  14. package/dist/utils/core/SchemaAdapter.d.ts.map +1 -0
  15. package/dist/utils/core/SchemaAdapter.js +36 -0
  16. package/dist/utils/core/SchemaAdapter.js.map +1 -0
  17. package/dist/utils/core/index.d.ts +1 -1
  18. package/dist/utils/core/index.d.ts.map +1 -1
  19. package/dist/utils/core/index.js +1 -1
  20. package/dist/utils/core/index.js.map +1 -1
  21. package/dist/utils/helpers/CryptoUtils.d.ts +30 -3
  22. package/dist/utils/helpers/CryptoUtils.d.ts.map +1 -1
  23. package/dist/utils/helpers/CryptoUtils.js +83 -5
  24. package/dist/utils/helpers/CryptoUtils.js.map +1 -1
  25. package/dist/utils/helpers/QueryStringHelper.d.ts +11 -0
  26. package/dist/utils/helpers/QueryStringHelper.d.ts.map +1 -0
  27. package/dist/utils/helpers/QueryStringHelper.js +84 -0
  28. package/dist/utils/helpers/QueryStringHelper.js.map +1 -0
  29. package/dist/utils/helpers/UrlSlugHelper.d.ts +19 -0
  30. package/dist/utils/helpers/UrlSlugHelper.d.ts.map +1 -0
  31. package/dist/utils/helpers/UrlSlugHelper.js +27 -0
  32. package/dist/utils/helpers/UrlSlugHelper.js.map +1 -0
  33. package/dist/utils/helpers/index.d.ts +2 -13
  34. package/dist/utils/helpers/index.d.ts.map +1 -1
  35. package/dist/utils/helpers/index.js +2 -13
  36. package/dist/utils/helpers/index.js.map +1 -1
  37. package/dist/utils/index.d.ts +2 -8
  38. package/dist/utils/index.d.ts.map +1 -1
  39. package/dist/utils/index.js +2 -8
  40. package/dist/utils/index.js.map +1 -1
  41. package/package.json +192 -249
  42. package/dist/color-utils.d.ts +0 -2
  43. package/dist/color-utils.d.ts.map +0 -1
  44. package/dist/color-utils.js +0 -2
  45. package/dist/color-utils.js.map +0 -1
  46. package/dist/date-utils.d.ts +0 -2
  47. package/dist/date-utils.d.ts.map +0 -1
  48. package/dist/date-utils.js +0 -2
  49. package/dist/date-utils.js.map +0 -1
  50. package/dist/number-utils.d.ts +0 -2
  51. package/dist/number-utils.d.ts.map +0 -1
  52. package/dist/number-utils.js +0 -2
  53. package/dist/number-utils.js.map +0 -1
  54. package/dist/string-utils.d.ts +0 -2
  55. package/dist/string-utils.d.ts.map +0 -1
  56. package/dist/string-utils.js +0 -2
  57. package/dist/string-utils.js.map +0 -1
  58. package/dist/utils/core/BatchRequest.d.ts +0 -79
  59. package/dist/utils/core/BatchRequest.d.ts.map +0 -1
  60. package/dist/utils/core/BatchRequest.js +0 -152
  61. package/dist/utils/core/BatchRequest.js.map +0 -1
  62. package/dist/utils/core/QueryClient.d.ts +0 -145
  63. package/dist/utils/core/QueryClient.d.ts.map +0 -1
  64. package/dist/utils/core/QueryClient.js +0 -453
  65. package/dist/utils/core/QueryClient.js.map +0 -1
  66. package/dist/utils/core/QueryState.d.ts +0 -99
  67. package/dist/utils/core/QueryState.d.ts.map +0 -1
  68. package/dist/utils/core/QueryState.js +0 -65
  69. package/dist/utils/core/QueryState.js.map +0 -1
  70. package/dist/utils/helpers/ArrayUtils.d.ts +0 -134
  71. package/dist/utils/helpers/ArrayUtils.d.ts.map +0 -1
  72. package/dist/utils/helpers/ArrayUtils.js +0 -306
  73. package/dist/utils/helpers/ArrayUtils.js.map +0 -1
  74. package/dist/utils/helpers/ColorUtils.d.ts +0 -235
  75. package/dist/utils/helpers/ColorUtils.d.ts.map +0 -1
  76. package/dist/utils/helpers/ColorUtils.js +0 -598
  77. package/dist/utils/helpers/ColorUtils.js.map +0 -1
  78. package/dist/utils/helpers/DateUtils.d.ts +0 -36
  79. package/dist/utils/helpers/DateUtils.d.ts.map +0 -1
  80. package/dist/utils/helpers/DateUtils.js +0 -131
  81. package/dist/utils/helpers/DateUtils.js.map +0 -1
  82. package/dist/utils/helpers/FormUtils.d.ts +0 -176
  83. package/dist/utils/helpers/FormUtils.d.ts.map +0 -1
  84. package/dist/utils/helpers/FormUtils.js +0 -437
  85. package/dist/utils/helpers/FormUtils.js.map +0 -1
  86. package/dist/utils/helpers/HttpStatusHelper.d.ts +0 -82
  87. package/dist/utils/helpers/HttpStatusHelper.d.ts.map +0 -1
  88. package/dist/utils/helpers/HttpStatusHelper.js +0 -174
  89. package/dist/utils/helpers/HttpStatusHelper.js.map +0 -1
  90. package/dist/utils/helpers/NumberUtils.d.ts +0 -230
  91. package/dist/utils/helpers/NumberUtils.d.ts.map +0 -1
  92. package/dist/utils/helpers/NumberUtils.js +0 -564
  93. package/dist/utils/helpers/NumberUtils.js.map +0 -1
  94. package/dist/utils/helpers/ObjectUtils.d.ts +0 -102
  95. package/dist/utils/helpers/ObjectUtils.d.ts.map +0 -1
  96. package/dist/utils/helpers/ObjectUtils.js +0 -301
  97. package/dist/utils/helpers/ObjectUtils.js.map +0 -1
  98. package/dist/utils/helpers/PaginationHelper.d.ts +0 -127
  99. package/dist/utils/helpers/PaginationHelper.d.ts.map +0 -1
  100. package/dist/utils/helpers/PaginationHelper.js +0 -295
  101. package/dist/utils/helpers/PaginationHelper.js.map +0 -1
  102. package/dist/utils/helpers/Signal.d.ts +0 -92
  103. package/dist/utils/helpers/Signal.d.ts.map +0 -1
  104. package/dist/utils/helpers/Signal.js +0 -243
  105. package/dist/utils/helpers/Signal.js.map +0 -1
  106. package/dist/utils/helpers/StringUtils.d.ts +0 -46
  107. package/dist/utils/helpers/StringUtils.d.ts.map +0 -1
  108. package/dist/utils/helpers/StringUtils.js +0 -228
  109. package/dist/utils/helpers/StringUtils.js.map +0 -1
  110. package/dist/utils/helpers/TimeUtils.d.ts +0 -87
  111. package/dist/utils/helpers/TimeUtils.d.ts.map +0 -1
  112. package/dist/utils/helpers/TimeUtils.js +0 -234
  113. package/dist/utils/helpers/TimeUtils.js.map +0 -1
  114. package/dist/utils/helpers/UrlBuilder.d.ts +0 -79
  115. package/dist/utils/helpers/UrlBuilder.d.ts.map +0 -1
  116. package/dist/utils/helpers/UrlBuilder.js +0 -161
  117. package/dist/utils/helpers/UrlBuilder.js.map +0 -1
  118. package/dist/utils/helpers/Validator.d.ts +0 -31
  119. package/dist/utils/helpers/Validator.d.ts.map +0 -1
  120. package/dist/utils/helpers/Validator.js +0 -175
  121. package/dist/utils/helpers/Validator.js.map +0 -1
  122. package/dist/utils/helpers/useSignal.d.ts +0 -11
  123. package/dist/utils/helpers/useSignal.d.ts.map +0 -1
  124. package/dist/utils/helpers/useSignal.js +0 -11
  125. package/dist/utils/helpers/useSignal.js.map +0 -1
  126. package/dist/validator.d.ts +0 -2
  127. package/dist/validator.d.ts.map +0 -1
  128. package/dist/validator.js +0 -2
  129. package/dist/validator.js.map +0 -1
@@ -1,25 +1,14 @@
1
- export * from "#helpers/ArrayUtils.js";
2
1
  export * from "#helpers/CacheManager.js";
3
- export * from "#helpers/ColorUtils.js";
4
2
  export * from "#helpers/CompressionUtils.js";
5
3
  export * from "#helpers/CryptoUtils.js";
6
- export * from "#helpers/DateUtils.js";
7
4
  export * from "#helpers/DiffUtils.js";
8
5
  export * from "#helpers/EnvManager.js";
9
6
  export * from "#helpers/EventEmitter.js";
10
7
  export * from "#helpers/FileUploadHelper.js";
11
- export * from "#helpers/FormUtils.js";
12
- export * from "#helpers/HttpStatusHelper.js";
13
- export * from "#helpers/NumberUtils.js";
14
- export * from "#helpers/ObjectUtils.js";
15
- export * from "#helpers/PaginationHelper.js";
16
8
  export * from "#helpers/PollingHelper.js";
17
9
  export * from "#helpers/StorageUtils.js";
18
10
  export * from "#helpers/StreamingHelper.js";
19
- export * from "#helpers/StringUtils.js";
20
- export * from "#helpers/TimeUtils.js";
21
- export * from "#helpers/UrlBuilder.js";
22
- export * from "#helpers/Validator.js";
11
+ export * from "#helpers/QueryStringHelper.js";
12
+ export * from "#helpers/UrlSlugHelper.js";
23
13
  export * from "#helpers/WebSocketHelper.js";
24
- export * from "#helpers/useSignal.js";
25
14
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/utils/helpers/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,uBAAuB,CAAC;AACtC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,uBAAuB,CAAC;AACtC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,uBAAuB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/utils/helpers/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC"}
@@ -1,21 +1,15 @@
1
1
  export * from "#core/index.js";
2
- export * from "#helpers/ArrayUtils.js";
3
2
  export * from "#helpers/CacheManager.js";
4
3
  export * from "#helpers/CompressionUtils.js";
5
4
  export * from "#helpers/CryptoUtils.js";
6
- export * from "#helpers/DateUtils.js";
7
5
  export * from "#helpers/DiffUtils.js";
8
6
  export * from "#helpers/EnvManager.js";
9
7
  export * from "#helpers/EventEmitter.js";
10
8
  export * from "#helpers/FileUploadHelper.js";
11
- export * from "#helpers/FormUtils.js";
12
- export * from "#helpers/ObjectUtils.js";
13
- export * from "#helpers/PaginationHelper.js";
14
9
  export * from "#helpers/PollingHelper.js";
15
10
  export * from "#helpers/StorageUtils.js";
16
11
  export * from "#helpers/StreamingHelper.js";
17
- export * from "#helpers/StringUtils.js";
18
- export * from "#helpers/TimeUtils.js";
19
- export * from "#helpers/Validator.js";
12
+ export * from "#helpers/QueryStringHelper.js";
13
+ export * from "#helpers/UrlSlugHelper.js";
20
14
  export * from "#helpers/WebSocketHelper.js";
21
15
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAE/B,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,6BAA6B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAE/B,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC"}
@@ -1,21 +1,15 @@
1
1
  export * from "#core/index.js";
2
- export * from "#helpers/ArrayUtils.js";
3
2
  export * from "#helpers/CacheManager.js";
4
3
  export * from "#helpers/CompressionUtils.js";
5
4
  export * from "#helpers/CryptoUtils.js";
6
- export * from "#helpers/DateUtils.js";
7
5
  export * from "#helpers/DiffUtils.js";
8
6
  export * from "#helpers/EnvManager.js";
9
7
  export * from "#helpers/EventEmitter.js";
10
8
  export * from "#helpers/FileUploadHelper.js";
11
- export * from "#helpers/FormUtils.js";
12
- export * from "#helpers/ObjectUtils.js";
13
- export * from "#helpers/PaginationHelper.js";
14
9
  export * from "#helpers/PollingHelper.js";
15
10
  export * from "#helpers/StorageUtils.js";
16
11
  export * from "#helpers/StreamingHelper.js";
17
- export * from "#helpers/StringUtils.js";
18
- export * from "#helpers/TimeUtils.js";
19
- export * from "#helpers/Validator.js";
12
+ export * from "#helpers/QueryStringHelper.js";
13
+ export * from "#helpers/UrlSlugHelper.js";
20
14
  export * from "#helpers/WebSocketHelper.js";
21
15
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAE/B,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,6BAA6B,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAE/B,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC"}
package/package.json CHANGED
@@ -1,251 +1,194 @@
1
1
  {
2
- "name": "bytekit",
3
- "description": "Lightning-fast TypeScript utilities: Isomorphic API client, Async toolkit (retry, debounce, parallel), QueryClient for state management, and CLI for Swagger/OpenAPI type generation.",
4
- "version": "1.0.31",
5
- "type": "module",
6
- "imports": {
7
- "#core/*": "./dist/utils/core/*",
8
- "#utils/*": "./dist/utils/*",
9
- "#helpers/*": "./dist/utils/helpers/*"
10
- },
11
- "main": "./dist/index.js",
12
- "types": "./dist/index.d.ts",
13
- "bin": {
14
- "bytekit": "./bin/bytekit.js"
15
- },
16
- "exports": {
17
- ".": {
18
- "types": "./dist/index.d.ts",
19
- "import": "./dist/index.js"
20
- },
21
- "./api-client": {
22
- "types": "./dist/utils/core/ApiClient.d.ts",
23
- "import": "./dist/utils/core/ApiClient.js"
24
- },
25
- "./retry-policy": {
26
- "types": "./dist/utils/core/RetryPolicy.d.ts",
27
- "import": "./dist/utils/core/RetryPolicy.js"
28
- },
29
- "./response-validator": {
30
- "types": "./dist/utils/core/ResponseValidator.d.ts",
31
- "import": "./dist/utils/core/ResponseValidator.js"
32
- },
33
- "./logger": {
34
- "types": "./dist/utils/core/Logger.d.ts",
35
- "import": "./dist/utils/core/Logger.js"
36
- },
37
- "./profiler": {
38
- "types": "./dist/utils/core/Profiler.d.ts",
39
- "import": "./dist/utils/core/Profiler.js"
40
- },
41
- "./debug": {
42
- "types": "./dist/utils/core/debug.d.ts",
43
- "import": "./dist/utils/core/debug.js"
44
- },
45
- "./date-utils": {
46
- "types": "./dist/utils/helpers/DateUtils.d.ts",
47
- "import": "./dist/utils/helpers/DateUtils.js"
48
- },
49
- "./string-utils": {
50
- "types": "./dist/utils/helpers/StringUtils.d.ts",
51
- "import": "./dist/utils/helpers/StringUtils.js"
52
- },
53
- "./validator": {
54
- "types": "./dist/utils/helpers/Validator.d.ts",
55
- "import": "./dist/utils/helpers/Validator.js"
56
- },
57
- "./env-manager": {
58
- "types": "./dist/utils/helpers/EnvManager.d.ts",
59
- "import": "./dist/utils/helpers/EnvManager.js"
60
- },
61
- "./storage-utils": {
62
- "types": "./dist/utils/helpers/StorageUtils.d.ts",
63
- "import": "./dist/utils/helpers/StorageUtils.js"
64
- },
65
- "./file-upload": {
66
- "types": "./dist/utils/helpers/FileUploadHelper.d.ts",
67
- "import": "./dist/utils/helpers/FileUploadHelper.js"
68
- },
69
- "./streaming": {
70
- "types": "./dist/utils/helpers/StreamingHelper.d.ts",
71
- "import": "./dist/utils/helpers/StreamingHelper.js"
72
- },
73
- "./websocket": {
74
- "types": "./dist/utils/helpers/WebSocketHelper.d.ts",
75
- "import": "./dist/utils/helpers/WebSocketHelper.js"
76
- },
77
- "./array-utils": {
78
- "types": "./dist/utils/helpers/ArrayUtils.d.ts",
79
- "import": "./dist/utils/helpers/ArrayUtils.js"
80
- },
81
- "./cache-manager": {
82
- "types": "./dist/utils/helpers/CacheManager.d.ts",
83
- "import": "./dist/utils/helpers/CacheManager.js"
84
- },
85
- "./compression-utils": {
86
- "types": "./dist/utils/helpers/CompressionUtils.d.ts",
87
- "import": "./dist/utils/helpers/CompressionUtils.js"
88
- },
89
- "./crypto-utils": {
90
- "types": "./dist/utils/helpers/CryptoUtils.d.ts",
91
- "import": "./dist/utils/helpers/CryptoUtils.js"
92
- },
93
- "./diff-utils": {
94
- "types": "./dist/utils/helpers/DiffUtils.d.ts",
95
- "import": "./dist/utils/helpers/DiffUtils.js"
96
- },
97
- "./event-emitter": {
98
- "types": "./dist/utils/helpers/EventEmitter.d.ts",
99
- "import": "./dist/utils/helpers/EventEmitter.js"
100
- },
101
- "./form-utils": {
102
- "types": "./dist/utils/helpers/FormUtils.d.ts",
103
- "import": "./dist/utils/helpers/FormUtils.js"
104
- },
105
- "./object-utils": {
106
- "types": "./dist/utils/helpers/ObjectUtils.d.ts",
107
- "import": "./dist/utils/helpers/ObjectUtils.js"
108
- },
109
- "./pagination-helper": {
110
- "types": "./dist/utils/helpers/PaginationHelper.d.ts",
111
- "import": "./dist/utils/helpers/PaginationHelper.js"
112
- },
113
- "./polling-helper": {
114
- "types": "./dist/utils/helpers/PollingHelper.d.ts",
115
- "import": "./dist/utils/helpers/PollingHelper.js"
116
- },
117
- "./time-utils": {
118
- "types": "./dist/utils/helpers/TimeUtils.d.ts",
119
- "import": "./dist/utils/helpers/TimeUtils.js"
120
- },
121
- "./request-cache": {
122
- "types": "./dist/utils/core/RequestCache.d.ts",
123
- "import": "./dist/utils/core/RequestCache.js"
124
- },
125
- "./rate-limiter": {
126
- "types": "./dist/utils/core/RateLimiter.d.ts",
127
- "import": "./dist/utils/core/RateLimiter.js"
128
- },
129
- "./request-deduplicator": {
130
- "types": "./dist/utils/core/RequestDeduplicator.d.ts",
131
- "import": "./dist/utils/core/RequestDeduplicator.js"
132
- },
133
- "./error-boundary": {
134
- "types": "./dist/utils/core/ErrorBoundary.d.ts",
135
- "import": "./dist/utils/core/ErrorBoundary.js"
136
- },
137
- "./batch-request": {
138
- "types": "./dist/utils/core/BatchRequest.d.ts",
139
- "import": "./dist/utils/core/BatchRequest.js"
140
- },
141
- "./http-status": {
142
- "types": "./dist/utils/helpers/HttpStatusHelper.d.ts",
143
- "import": "./dist/utils/helpers/HttpStatusHelper.js"
144
- },
145
- "./url-builder": {
146
- "types": "./dist/utils/helpers/UrlBuilder.d.ts",
147
- "import": "./dist/utils/helpers/UrlBuilder.js"
148
- },
149
- "./color-utils": {
150
- "types": "./dist/utils/helpers/ColorUtils.d.ts",
151
- "import": "./dist/utils/helpers/ColorUtils.js"
152
- },
153
- "./number-utils": {
154
- "types": "./dist/utils/helpers/NumberUtils.d.ts",
155
- "import": "./dist/utils/helpers/NumberUtils.js"
156
- },
157
- "./query-client": {
158
- "types": "./dist/utils/core/QueryClient.d.ts",
159
- "import": "./dist/utils/core/QueryClient.js"
160
- },
161
- "./query-state": {
162
- "types": "./dist/utils/core/QueryState.d.ts",
163
- "import": "./dist/utils/core/QueryState.js"
164
- },
165
- "./signal": {
166
- "types": "./dist/utils/helpers/Signal.d.ts",
167
- "import": "./dist/utils/helpers/Signal.js"
168
- },
169
- "./use-signal": {
170
- "types": "./dist/utils/helpers/useSignal.d.ts",
171
- "import": "./dist/utils/helpers/useSignal.js"
172
- }
173
- },
174
- "files": [
175
- "dist",
176
- "bin"
177
- ],
178
- "keywords": [
179
- "typescript",
180
- "http-client",
181
- "logger",
182
- "utilities",
183
- "formerly @sebamar88/utils"
184
- ],
185
- "repository": {
186
- "type": "git",
187
- "url": "git+https://github.com/sebamar88/bytekit.git"
188
- },
189
- "bugs": {
190
- "url": "https://github.com/sebamar88/bytekit/issues"
191
- },
192
- "homepage": "https://sebamar88-bytekit.mintlify.app/",
193
- "author": "Sebastián Martinez",
194
- "license": "MIT",
195
- "sideEffects": false,
196
- "publishConfig": {
197
- "access": "public"
198
- },
199
- "engines": {
200
- "node": ">=18"
201
- },
202
- "devDependencies": {
203
- "@eslint/js": "^9.0.0",
204
- "@types/node": "^25.0.3",
205
- "@vitest/coverage-v8": "^2.1.8",
206
- "@vitest/ui": "^2.1.8",
207
- "c8": "^10.1.3",
208
- "eslint": "^9.0.0",
209
- "fast-check": "^4.5.2",
210
- "glob": "^10.3.10",
211
- "globals": "^15.0.0",
212
- "prettier": "^3.0.0",
213
- "tsx": "^4.21.0",
214
- "typedoc": "^0.28.16",
215
- "typedoc-plugin-markdown": "^4.9.0",
216
- "typescript": "^5.9.3",
217
- "typescript-eslint": "^8.0.0",
218
- "vitest": "^2.1.8"
219
- },
220
- "peerDependencies": {
221
- "typescript": ">=4.5.0"
222
- },
223
- "peerDependenciesMeta": {
224
- "typescript": {
225
- "optional": true
2
+ "name": "bytekit",
3
+ "description": "Lightning-fast TypeScript utilities: Isomorphic API client, Async toolkit (retry, debounce, parallel), QueryClient for state management, and CLI for Swagger/OpenAPI type generation.",
4
+ "version": "2.0.6",
5
+ "type": "module",
6
+ "imports": {
7
+ "#core/*": "./dist/utils/core/*",
8
+ "#utils/*": "./dist/utils/*",
9
+ "#helpers/*": "./dist/utils/helpers/*"
10
+ },
11
+ "main": "./dist/index.js",
12
+ "types": "./dist/index.d.ts",
13
+ "bin": {
14
+ "bytekit": "./bin/bytekit.js"
15
+ },
16
+ "exports": {
17
+ ".": {
18
+ "types": "./dist/index.d.ts",
19
+ "import": "./dist/index.js"
20
+ },
21
+ "./api-client": {
22
+ "types": "./dist/utils/core/ApiClient.d.ts",
23
+ "import": "./dist/utils/core/ApiClient.js"
24
+ },
25
+ "./retry-policy": {
26
+ "types": "./dist/utils/core/RetryPolicy.d.ts",
27
+ "import": "./dist/utils/core/RetryPolicy.js"
28
+ },
29
+ "./response-validator": {
30
+ "types": "./dist/utils/core/ResponseValidator.d.ts",
31
+ "import": "./dist/utils/core/ResponseValidator.js"
32
+ },
33
+ "./schema-adapter": {
34
+ "types": "./dist/utils/core/SchemaAdapter.d.ts",
35
+ "import": "./dist/utils/core/SchemaAdapter.js"
36
+ },
37
+ "./async": {
38
+ "types": "./dist/utils/async/index.d.ts",
39
+ "import": "./dist/utils/async/index.js"
40
+ },
41
+ "./logger": {
42
+ "types": "./dist/utils/core/Logger.d.ts",
43
+ "import": "./dist/utils/core/Logger.js"
44
+ },
45
+ "./profiler": {
46
+ "types": "./dist/utils/core/Profiler.d.ts",
47
+ "import": "./dist/utils/core/Profiler.js"
48
+ },
49
+ "./debug": {
50
+ "types": "./dist/utils/core/debug.d.ts",
51
+ "import": "./dist/utils/core/debug.js"
52
+ },
53
+ "./env-manager": {
54
+ "types": "./dist/utils/helpers/EnvManager.d.ts",
55
+ "import": "./dist/utils/helpers/EnvManager.js"
56
+ },
57
+ "./storage-utils": {
58
+ "types": "./dist/utils/helpers/StorageUtils.d.ts",
59
+ "import": "./dist/utils/helpers/StorageUtils.js"
60
+ },
61
+ "./file-upload": {
62
+ "types": "./dist/utils/helpers/FileUploadHelper.d.ts",
63
+ "import": "./dist/utils/helpers/FileUploadHelper.js"
64
+ },
65
+ "./streaming": {
66
+ "types": "./dist/utils/helpers/StreamingHelper.d.ts",
67
+ "import": "./dist/utils/helpers/StreamingHelper.js"
68
+ },
69
+ "./websocket": {
70
+ "types": "./dist/utils/helpers/WebSocketHelper.d.ts",
71
+ "import": "./dist/utils/helpers/WebSocketHelper.js"
72
+ },
73
+ "./cache-manager": {
74
+ "types": "./dist/utils/helpers/CacheManager.d.ts",
75
+ "import": "./dist/utils/helpers/CacheManager.js"
76
+ },
77
+ "./compression-utils": {
78
+ "types": "./dist/utils/helpers/CompressionUtils.d.ts",
79
+ "import": "./dist/utils/helpers/CompressionUtils.js"
80
+ },
81
+ "./crypto-utils": {
82
+ "types": "./dist/utils/helpers/CryptoUtils.d.ts",
83
+ "import": "./dist/utils/helpers/CryptoUtils.js"
84
+ },
85
+ "./diff-utils": {
86
+ "types": "./dist/utils/helpers/DiffUtils.d.ts",
87
+ "import": "./dist/utils/helpers/DiffUtils.js"
88
+ },
89
+ "./event-emitter": {
90
+ "types": "./dist/utils/helpers/EventEmitter.d.ts",
91
+ "import": "./dist/utils/helpers/EventEmitter.js"
92
+ },
93
+ "./polling-helper": {
94
+ "types": "./dist/utils/helpers/PollingHelper.d.ts",
95
+ "import": "./dist/utils/helpers/PollingHelper.js"
96
+ },
97
+ "./request-cache": {
98
+ "types": "./dist/utils/core/RequestCache.d.ts",
99
+ "import": "./dist/utils/core/RequestCache.js"
100
+ },
101
+ "./rate-limiter": {
102
+ "types": "./dist/utils/core/RateLimiter.d.ts",
103
+ "import": "./dist/utils/core/RateLimiter.js"
104
+ },
105
+ "./request-deduplicator": {
106
+ "types": "./dist/utils/core/RequestDeduplicator.d.ts",
107
+ "import": "./dist/utils/core/RequestDeduplicator.js"
108
+ },
109
+ "./error-boundary": {
110
+ "types": "./dist/utils/core/ErrorBoundary.d.ts",
111
+ "import": "./dist/utils/core/ErrorBoundary.js"
112
+ }
113
+ },
114
+ "scripts": {
115
+ "build": "tsc -p tsconfig.json",
116
+ "clean": "node -e \"require('fs').rmSync('dist', { recursive: true, force: true });\"",
117
+ "lint": "eslint src tests",
118
+ "lint:src": "eslint src",
119
+ "lint:fix": "eslint src tests --fix",
120
+ "format": "prettier --write \"src/**/*.{ts,js,json}\" \"tests/**/*.{ts,js,json}\"",
121
+ "format:check": "prettier --check \"src/**/*.{ts,js,json}\" \"tests/**/*.{ts,js,json}\"",
122
+ "test": "vitest run",
123
+ "test:watch": "vitest",
124
+ "test:ui": "vitest --ui",
125
+ "test:junit": "vitest run --reporter=junit --outputFile=test-results.xml",
126
+ "test:coverage": "vitest run --coverage",
127
+ "test:coverage:watch": "vitest --coverage",
128
+ "test:node": "vitest run",
129
+ "test:node:coverage": "vitest run --coverage",
130
+ "test:all": "pnpm run test",
131
+ "typecheck": "tsc --noEmit",
132
+ "docs:generate": "typedoc",
133
+ "docs:watch": "typedoc --watch",
134
+ "docs:serve": "npx http-server docs/api -p 8080 -o",
135
+ "prepublishOnly": "pnpm run lint:src && pnpm run clean && pnpm run build && pnpm run test:coverage"
136
+ },
137
+ "files": [
138
+ "dist",
139
+ "bin"
140
+ ],
141
+ "keywords": [
142
+ "typescript",
143
+ "http-client",
144
+ "logger",
145
+ "utilities",
146
+ "formerly @sebamar88/utils"
147
+ ],
148
+ "repository": {
149
+ "type": "git",
150
+ "url": "git+https://github.com/sebamar88/bytekit.git"
151
+ },
152
+ "bugs": {
153
+ "url": "https://github.com/sebamar88/bytekit/issues"
154
+ },
155
+ "homepage": "https://sebamar88-bytekit.mintlify.app/",
156
+ "author": "Sebastián Martinez",
157
+ "license": "MIT",
158
+ "sideEffects": false,
159
+ "publishConfig": {
160
+ "access": "public"
161
+ },
162
+ "engines": {
163
+ "node": ">=18"
164
+ },
165
+ "devDependencies": {
166
+ "@eslint/js": "^9.0.0",
167
+ "@types/node": "^25.0.3",
168
+ "@vitest/coverage-v8": "^2.1.8",
169
+ "@vitest/ui": "^2.1.8",
170
+ "c8": "^10.1.3",
171
+ "eslint": "^9.0.0",
172
+ "fast-check": "^4.5.2",
173
+ "fs-extra": "^11.3.4",
174
+ "glob": "^10.3.10",
175
+ "globals": "^15.0.0",
176
+ "prettier": "^3.0.0",
177
+ "tsx": "^4.21.0",
178
+ "typedoc": "^0.28.16",
179
+ "typedoc-plugin-markdown": "^4.9.0",
180
+ "typescript": "^5.9.3",
181
+ "typescript-eslint": "^8.0.0",
182
+ "valibot": "^1.2.0",
183
+ "vitest": "^2.1.8",
184
+ "zod": "^4.3.6"
185
+ },
186
+ "peerDependencies": {
187
+ "typescript": ">=4.5.0"
188
+ },
189
+ "peerDependenciesMeta": {
190
+ "typescript": {
191
+ "optional": true
192
+ }
226
193
  }
227
- },
228
- "scripts": {
229
- "build": "tsc -p tsconfig.json",
230
- "clean": "node -e \"require('fs').rmSync('dist', { recursive: true, force: true });\"",
231
- "lint": "eslint src tests",
232
- "lint:src": "eslint src",
233
- "lint:fix": "eslint src tests --fix",
234
- "format": "prettier --write \"src/**/*.{ts,js,json}\" \"tests/**/*.{ts,js,json}\"",
235
- "format:check": "prettier --check \"src/**/*.{ts,js,json}\" \"tests/**/*.{ts,js,json}\"",
236
- "test": "vitest run",
237
- "test:watch": "vitest",
238
- "test:ui": "vitest --ui",
239
- "test:junit": "vitest run --reporter=junit --outputFile=test-results.xml",
240
- "test:coverage": "vitest run --coverage",
241
- "test:coverage:watch": "vitest --coverage",
242
- "test:node": "vitest run",
243
- "test:node:coverage": "vitest run --coverage",
244
- "test:all": "pnpm run test",
245
- "typecheck": "tsc --noEmit",
246
- "wiki:generate": "node scripts/generate-wiki.js",
247
- "docs:generate": "typedoc",
248
- "docs:watch": "typedoc --watch",
249
- "docs:serve": "npx http-server docs/api -p 8080 -o"
250
- }
251
- }
194
+ }
@@ -1,2 +0,0 @@
1
- export * from "./utils/helpers/ColorUtils.js";
2
- //# sourceMappingURL=color-utils.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"color-utils.d.ts","sourceRoot":"","sources":["../src/color-utils.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC"}
@@ -1,2 +0,0 @@
1
- export * from "./utils/helpers/ColorUtils.js";
2
- //# sourceMappingURL=color-utils.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"color-utils.js","sourceRoot":"","sources":["../src/color-utils.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC"}
@@ -1,2 +0,0 @@
1
- export * from "./utils/helpers/DateUtils.js";
2
- //# sourceMappingURL=date-utils.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"date-utils.d.ts","sourceRoot":"","sources":["../src/date-utils.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAC"}
@@ -1,2 +0,0 @@
1
- export * from "./utils/helpers/DateUtils.js";
2
- //# sourceMappingURL=date-utils.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"date-utils.js","sourceRoot":"","sources":["../src/date-utils.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAC"}
@@ -1,2 +0,0 @@
1
- export * from "./utils/helpers/NumberUtils.js";
2
- //# sourceMappingURL=number-utils.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"number-utils.d.ts","sourceRoot":"","sources":["../src/number-utils.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAC"}
@@ -1,2 +0,0 @@
1
- export * from "./utils/helpers/NumberUtils.js";
2
- //# sourceMappingURL=number-utils.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"number-utils.js","sourceRoot":"","sources":["../src/number-utils.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAC"}
@@ -1,2 +0,0 @@
1
- export * from "./utils/helpers/StringUtils.js";
2
- //# sourceMappingURL=string-utils.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"string-utils.d.ts","sourceRoot":"","sources":["../src/string-utils.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAC"}
@@ -1,2 +0,0 @@
1
- export * from "./utils/helpers/StringUtils.js";
2
- //# sourceMappingURL=string-utils.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"string-utils.js","sourceRoot":"","sources":["../src/string-utils.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAC"}