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.
- package/README.md +58 -188
- package/bin/bytekit.js +0 -0
- package/dist/cli/index.d.ts.map +1 -1
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/swagger-generator.d.ts +1 -1
- package/dist/cli/swagger-generator.d.ts.map +1 -1
- package/dist/cli/swagger-generator.js +9 -5
- package/dist/cli/swagger-generator.js.map +1 -1
- package/dist/utils/core/ApiClient.d.ts +13 -12
- package/dist/utils/core/ApiClient.d.ts.map +1 -1
- package/dist/utils/core/ApiClient.js +24 -13
- package/dist/utils/core/ApiClient.js.map +1 -1
- package/dist/utils/core/SchemaAdapter.d.ts +35 -0
- package/dist/utils/core/SchemaAdapter.d.ts.map +1 -0
- package/dist/utils/core/SchemaAdapter.js +36 -0
- package/dist/utils/core/SchemaAdapter.js.map +1 -0
- package/dist/utils/core/index.d.ts +1 -1
- package/dist/utils/core/index.d.ts.map +1 -1
- package/dist/utils/core/index.js +1 -1
- package/dist/utils/core/index.js.map +1 -1
- package/dist/utils/helpers/CryptoUtils.d.ts +30 -3
- package/dist/utils/helpers/CryptoUtils.d.ts.map +1 -1
- package/dist/utils/helpers/CryptoUtils.js +83 -5
- package/dist/utils/helpers/CryptoUtils.js.map +1 -1
- package/dist/utils/helpers/QueryStringHelper.d.ts +11 -0
- package/dist/utils/helpers/QueryStringHelper.d.ts.map +1 -0
- package/dist/utils/helpers/QueryStringHelper.js +84 -0
- package/dist/utils/helpers/QueryStringHelper.js.map +1 -0
- package/dist/utils/helpers/UrlSlugHelper.d.ts +19 -0
- package/dist/utils/helpers/UrlSlugHelper.d.ts.map +1 -0
- package/dist/utils/helpers/UrlSlugHelper.js +27 -0
- package/dist/utils/helpers/UrlSlugHelper.js.map +1 -0
- package/dist/utils/helpers/index.d.ts +2 -13
- package/dist/utils/helpers/index.d.ts.map +1 -1
- package/dist/utils/helpers/index.js +2 -13
- package/dist/utils/helpers/index.js.map +1 -1
- package/dist/utils/index.d.ts +2 -8
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +2 -8
- package/dist/utils/index.js.map +1 -1
- package/package.json +192 -249
- package/dist/color-utils.d.ts +0 -2
- package/dist/color-utils.d.ts.map +0 -1
- package/dist/color-utils.js +0 -2
- package/dist/color-utils.js.map +0 -1
- package/dist/date-utils.d.ts +0 -2
- package/dist/date-utils.d.ts.map +0 -1
- package/dist/date-utils.js +0 -2
- package/dist/date-utils.js.map +0 -1
- package/dist/number-utils.d.ts +0 -2
- package/dist/number-utils.d.ts.map +0 -1
- package/dist/number-utils.js +0 -2
- package/dist/number-utils.js.map +0 -1
- package/dist/string-utils.d.ts +0 -2
- package/dist/string-utils.d.ts.map +0 -1
- package/dist/string-utils.js +0 -2
- package/dist/string-utils.js.map +0 -1
- package/dist/utils/core/BatchRequest.d.ts +0 -79
- package/dist/utils/core/BatchRequest.d.ts.map +0 -1
- package/dist/utils/core/BatchRequest.js +0 -152
- package/dist/utils/core/BatchRequest.js.map +0 -1
- package/dist/utils/core/QueryClient.d.ts +0 -145
- package/dist/utils/core/QueryClient.d.ts.map +0 -1
- package/dist/utils/core/QueryClient.js +0 -453
- package/dist/utils/core/QueryClient.js.map +0 -1
- package/dist/utils/core/QueryState.d.ts +0 -99
- package/dist/utils/core/QueryState.d.ts.map +0 -1
- package/dist/utils/core/QueryState.js +0 -65
- package/dist/utils/core/QueryState.js.map +0 -1
- package/dist/utils/helpers/ArrayUtils.d.ts +0 -134
- package/dist/utils/helpers/ArrayUtils.d.ts.map +0 -1
- package/dist/utils/helpers/ArrayUtils.js +0 -306
- package/dist/utils/helpers/ArrayUtils.js.map +0 -1
- package/dist/utils/helpers/ColorUtils.d.ts +0 -235
- package/dist/utils/helpers/ColorUtils.d.ts.map +0 -1
- package/dist/utils/helpers/ColorUtils.js +0 -598
- package/dist/utils/helpers/ColorUtils.js.map +0 -1
- package/dist/utils/helpers/DateUtils.d.ts +0 -36
- package/dist/utils/helpers/DateUtils.d.ts.map +0 -1
- package/dist/utils/helpers/DateUtils.js +0 -131
- package/dist/utils/helpers/DateUtils.js.map +0 -1
- package/dist/utils/helpers/FormUtils.d.ts +0 -176
- package/dist/utils/helpers/FormUtils.d.ts.map +0 -1
- package/dist/utils/helpers/FormUtils.js +0 -437
- package/dist/utils/helpers/FormUtils.js.map +0 -1
- package/dist/utils/helpers/HttpStatusHelper.d.ts +0 -82
- package/dist/utils/helpers/HttpStatusHelper.d.ts.map +0 -1
- package/dist/utils/helpers/HttpStatusHelper.js +0 -174
- package/dist/utils/helpers/HttpStatusHelper.js.map +0 -1
- package/dist/utils/helpers/NumberUtils.d.ts +0 -230
- package/dist/utils/helpers/NumberUtils.d.ts.map +0 -1
- package/dist/utils/helpers/NumberUtils.js +0 -564
- package/dist/utils/helpers/NumberUtils.js.map +0 -1
- package/dist/utils/helpers/ObjectUtils.d.ts +0 -102
- package/dist/utils/helpers/ObjectUtils.d.ts.map +0 -1
- package/dist/utils/helpers/ObjectUtils.js +0 -301
- package/dist/utils/helpers/ObjectUtils.js.map +0 -1
- package/dist/utils/helpers/PaginationHelper.d.ts +0 -127
- package/dist/utils/helpers/PaginationHelper.d.ts.map +0 -1
- package/dist/utils/helpers/PaginationHelper.js +0 -295
- package/dist/utils/helpers/PaginationHelper.js.map +0 -1
- package/dist/utils/helpers/Signal.d.ts +0 -92
- package/dist/utils/helpers/Signal.d.ts.map +0 -1
- package/dist/utils/helpers/Signal.js +0 -243
- package/dist/utils/helpers/Signal.js.map +0 -1
- package/dist/utils/helpers/StringUtils.d.ts +0 -46
- package/dist/utils/helpers/StringUtils.d.ts.map +0 -1
- package/dist/utils/helpers/StringUtils.js +0 -228
- package/dist/utils/helpers/StringUtils.js.map +0 -1
- package/dist/utils/helpers/TimeUtils.d.ts +0 -87
- package/dist/utils/helpers/TimeUtils.d.ts.map +0 -1
- package/dist/utils/helpers/TimeUtils.js +0 -234
- package/dist/utils/helpers/TimeUtils.js.map +0 -1
- package/dist/utils/helpers/UrlBuilder.d.ts +0 -79
- package/dist/utils/helpers/UrlBuilder.d.ts.map +0 -1
- package/dist/utils/helpers/UrlBuilder.js +0 -161
- package/dist/utils/helpers/UrlBuilder.js.map +0 -1
- package/dist/utils/helpers/Validator.d.ts +0 -31
- package/dist/utils/helpers/Validator.d.ts.map +0 -1
- package/dist/utils/helpers/Validator.js +0 -175
- package/dist/utils/helpers/Validator.js.map +0 -1
- package/dist/utils/helpers/useSignal.d.ts +0 -11
- package/dist/utils/helpers/useSignal.d.ts.map +0 -1
- package/dist/utils/helpers/useSignal.js +0 -11
- package/dist/utils/helpers/useSignal.js.map +0 -1
- package/dist/validator.d.ts +0 -2
- package/dist/validator.d.ts.map +0 -1
- package/dist/validator.js +0 -2
- 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/
|
|
20
|
-
export * from "#helpers/
|
|
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,
|
|
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"}
|
package/dist/utils/index.d.ts
CHANGED
|
@@ -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/
|
|
18
|
-
export * from "#helpers/
|
|
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,
|
|
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"}
|
package/dist/utils/index.js
CHANGED
|
@@ -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/
|
|
18
|
-
export * from "#helpers/
|
|
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
|
package/dist/utils/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAE/B,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
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
},
|
|
137
|
-
"
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
"
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
"
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
},
|
|
165
|
-
"
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
"
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
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
|
+
}
|
package/dist/color-utils.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"color-utils.d.ts","sourceRoot":"","sources":["../src/color-utils.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC"}
|
package/dist/color-utils.js
DELETED
package/dist/color-utils.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"color-utils.js","sourceRoot":"","sources":["../src/color-utils.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC"}
|
package/dist/date-utils.d.ts
DELETED
package/dist/date-utils.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"date-utils.d.ts","sourceRoot":"","sources":["../src/date-utils.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAC"}
|
package/dist/date-utils.js
DELETED
package/dist/date-utils.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"date-utils.js","sourceRoot":"","sources":["../src/date-utils.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAC"}
|
package/dist/number-utils.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"number-utils.d.ts","sourceRoot":"","sources":["../src/number-utils.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAC"}
|
package/dist/number-utils.js
DELETED
package/dist/number-utils.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"number-utils.js","sourceRoot":"","sources":["../src/number-utils.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAC"}
|
package/dist/string-utils.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"string-utils.d.ts","sourceRoot":"","sources":["../src/string-utils.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAC"}
|
package/dist/string-utils.js
DELETED
package/dist/string-utils.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"string-utils.js","sourceRoot":"","sources":["../src/string-utils.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAC"}
|