toolbox-x 1.0.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.
- package/LICENSE +201 -0
- package/dist/Color-B3mgF9Dh.d.cts +486 -0
- package/dist/Color-D38Xrw65.d.mts +486 -0
- package/dist/Stylog-Df7eq3-j.d.cts +519 -0
- package/dist/Stylog-jvlLcMQq.d.mts +519 -0
- package/dist/array-DvW0zIu6.d.mts +130 -0
- package/dist/array-rUnEVisO.d.cts +130 -0
- package/dist/basics-D_eSv0cu.cjs +132 -0
- package/dist/basics-Dp_aEK81.mjs +115 -0
- package/dist/basics-WEYWlnRO.d.cts +95 -0
- package/dist/basics-uBSfkBEI.d.mts +95 -0
- package/dist/case-BWIt8Ash.mjs +449 -0
- package/dist/case-C-S-b5YP.d.cts +327 -0
- package/dist/case-CS8Ii3A7.cjs +526 -0
- package/dist/case-CybASFPD.d.mts +327 -0
- package/dist/change-case.cjs +32 -0
- package/dist/change-case.d.cts +18 -0
- package/dist/change-case.d.mts +18 -0
- package/dist/change-case.mjs +19 -0
- package/dist/colors.cjs +574 -0
- package/dist/colors.d.cts +355 -0
- package/dist/colors.d.mts +355 -0
- package/dist/colors.mjs +547 -0
- package/dist/constants-2gAw23_7.mjs +144 -0
- package/dist/constants-B34K0QPi.d.cts +21 -0
- package/dist/constants-BIBDKY1u.cjs +924 -0
- package/dist/constants-BWT-810U.cjs +158 -0
- package/dist/constants-BwbHnXlM.mjs +662 -0
- package/dist/constants-BxN9l5el.cjs +74 -0
- package/dist/constants-CLS_bgKD.d.mts +847 -0
- package/dist/constants-D73iFu8g.mjs +171 -0
- package/dist/constants-DAfRxaa8.mjs +62 -0
- package/dist/constants-DQYeCjlx.cjs +207 -0
- package/dist/constants-Deeie-iH.d.mts +21 -0
- package/dist/constants-DpTG9RP6.d.mts +29 -0
- package/dist/constants-DqwnkJ_d.cjs +740 -0
- package/dist/constants-DvRUY_FY.cjs +150 -0
- package/dist/constants-VcRtQu0K.d.cts +29 -0
- package/dist/constants-X5hm1UtB.mjs +912 -0
- package/dist/constants-eNd-iYsV.mjs +134 -0
- package/dist/constants-qm8FafmD.d.cts +847 -0
- package/dist/constants.cjs +415 -0
- package/dist/constants.d.cts +184 -0
- package/dist/constants.d.mts +184 -0
- package/dist/constants.mjs +378 -0
- package/dist/convert-BOCgUv2D.cjs +252 -0
- package/dist/convert-Bn4jFomQ.mjs +169 -0
- package/dist/convert-BrzlG-m_.cjs +475 -0
- package/dist/convert-DhaUoPVU.mjs +368 -0
- package/dist/converter-1P90_RcP.d.mts +402 -0
- package/dist/converter-CmkcAppi.d.cts +402 -0
- package/dist/converter.cjs +780 -0
- package/dist/converter.d.cts +29 -0
- package/dist/converter.d.mts +29 -0
- package/dist/converter.mjs +771 -0
- package/dist/countries-CIpmtEzV.cjs +1469 -0
- package/dist/countries-Cy0xiqS3.mjs +1463 -0
- package/dist/css-colors-Bx947Ng3.d.cts +179 -0
- package/dist/css-colors-CXCDqQbG.cjs +186 -0
- package/dist/css-colors-CXTp1vvy.d.mts +179 -0
- package/dist/css-colors-DfUW3nTR.mjs +180 -0
- package/dist/date.cjs +332 -0
- package/dist/date.d.cts +213 -0
- package/dist/date.d.mts +213 -0
- package/dist/date.mjs +298 -0
- package/dist/dom.cjs +461 -0
- package/dist/dom.d.cts +228 -0
- package/dist/dom.d.mts +228 -0
- package/dist/dom.mjs +429 -0
- package/dist/form-BMFVGUrN.d.mts +118 -0
- package/dist/form-DRFbryvK.d.cts +118 -0
- package/dist/guards-3kaUX66g.mjs +157 -0
- package/dist/guards-C8gkvIHb.cjs +240 -0
- package/dist/guards-DdyU4h4o.mjs +110 -0
- package/dist/guards-Efhp1mNy.cjs +151 -0
- package/dist/guards.cjs +172 -0
- package/dist/guards.d.cts +399 -0
- package/dist/guards.d.mts +399 -0
- package/dist/guards.mjs +75 -0
- package/dist/hash-B6JPEyAz.d.mts +131 -0
- package/dist/hash-NTpeKYB_.d.cts +131 -0
- package/dist/hash.cjs +2126 -0
- package/dist/hash.d.cts +1239 -0
- package/dist/hash.d.mts +1239 -0
- package/dist/hash.mjs +2095 -0
- package/dist/http-status-BAZdtr7-.d.mts +65 -0
- package/dist/http-status-U_3MtoGb.d.cts +65 -0
- package/dist/http-status.cjs +173 -0
- package/dist/http-status.d.cts +142 -0
- package/dist/http-status.d.mts +142 -0
- package/dist/http-status.mjs +171 -0
- package/dist/index.cjs +2551 -0
- package/dist/index.d.cts +1493 -0
- package/dist/index.d.mts +1493 -0
- package/dist/index.mjs +2357 -0
- package/dist/object-B0TV3eHx.d.mts +8052 -0
- package/dist/object-Blq0Amdv.d.cts +8052 -0
- package/dist/objectify-CDs0Fbr1.mjs +417 -0
- package/dist/objectify-DIJ-OBmo.cjs +524 -0
- package/dist/paginator.cjs +245 -0
- package/dist/paginator.d.cts +144 -0
- package/dist/paginator.d.mts +144 -0
- package/dist/paginator.mjs +243 -0
- package/dist/parse-2ubxXZRp.cjs +211 -0
- package/dist/parse-N7g942uy.mjs +164 -0
- package/dist/pluralizer-BjMIc6uT.d.mts +42 -0
- package/dist/pluralizer-Cb6ZmrDl.d.cts +42 -0
- package/dist/pluralizer.cjs +678 -0
- package/dist/pluralizer.d.cts +152 -0
- package/dist/pluralizer.d.mts +152 -0
- package/dist/pluralizer.mjs +676 -0
- package/dist/primitives-B26uZolQ.cjs +228 -0
- package/dist/primitives-KsFUp3kQ.mjs +144 -0
- package/dist/specials-D48_IZbd.d.mts +108 -0
- package/dist/specials-DzLr1ZgU.cjs +477 -0
- package/dist/specials-LVONlKbQ.d.cts +108 -0
- package/dist/specials-uhDuRg8H.mjs +292 -0
- package/dist/string-CBAbxaG1.d.mts +258 -0
- package/dist/string-CsNsm_65.d.cts +258 -0
- package/dist/stylog.cjs +621 -0
- package/dist/stylog.d.cts +49 -0
- package/dist/stylog.d.mts +49 -0
- package/dist/stylog.mjs +614 -0
- package/dist/timezone-B2OYK6Fh.mjs +5589 -0
- package/dist/timezone-Beh9IGpw.cjs +5625 -0
- package/dist/types/array.cjs +16 -0
- package/dist/types/array.d.cts +18 -0
- package/dist/types/array.d.mts +18 -0
- package/dist/types/array.mjs +17 -0
- package/dist/types/colors.cjs +16 -0
- package/dist/types/colors.d.cts +18 -0
- package/dist/types/colors.d.mts +18 -0
- package/dist/types/colors.mjs +17 -0
- package/dist/types/converter.cjs +16 -0
- package/dist/types/converter.d.cts +18 -0
- package/dist/types/converter.d.mts +18 -0
- package/dist/types/converter.mjs +17 -0
- package/dist/types/form.cjs +16 -0
- package/dist/types/form.d.cts +18 -0
- package/dist/types/form.d.mts +18 -0
- package/dist/types/form.mjs +17 -0
- package/dist/types/hash.cjs +16 -0
- package/dist/types/hash.d.cts +18 -0
- package/dist/types/hash.d.mts +18 -0
- package/dist/types/hash.mjs +17 -0
- package/dist/types/http-status.cjs +16 -0
- package/dist/types/http-status.d.cts +18 -0
- package/dist/types/http-status.d.mts +18 -0
- package/dist/types/http-status.mjs +17 -0
- package/dist/types/index.cjs +16 -0
- package/dist/types/index.d.cts +18 -0
- package/dist/types/index.d.mts +18 -0
- package/dist/types/index.mjs +17 -0
- package/dist/types/number.cjs +16 -0
- package/dist/types/number.d.cts +18 -0
- package/dist/types/number.d.mts +18 -0
- package/dist/types/number.mjs +17 -0
- package/dist/types/object.cjs +16 -0
- package/dist/types/object.d.cts +18 -0
- package/dist/types/object.d.mts +18 -0
- package/dist/types/object.mjs +17 -0
- package/dist/types/pluralizer.cjs +16 -0
- package/dist/types/pluralizer.d.cts +18 -0
- package/dist/types/pluralizer.d.mts +18 -0
- package/dist/types/pluralizer.mjs +17 -0
- package/dist/types/string.cjs +16 -0
- package/dist/types/string.d.cts +18 -0
- package/dist/types/string.d.mts +18 -0
- package/dist/types/string.mjs +17 -0
- package/dist/types/stylog.cjs +16 -0
- package/dist/types/stylog.d.cts +18 -0
- package/dist/types/stylog.d.mts +18 -0
- package/dist/types/stylog.mjs +17 -0
- package/dist/types/utils.cjs +16 -0
- package/dist/types/utils.d.cts +18 -0
- package/dist/types/utils.d.mts +18 -0
- package/dist/types/utils.mjs +17 -0
- package/dist/types/verbalizer.cjs +16 -0
- package/dist/types/verbalizer.d.cts +30 -0
- package/dist/types/verbalizer.d.mts +30 -0
- package/dist/types/verbalizer.mjs +17 -0
- package/dist/utilities-CLUmdQeV.cjs +140 -0
- package/dist/utilities-m5yFKqLd.mjs +105 -0
- package/dist/utils-ClW9LA6f.mjs +449 -0
- package/dist/utils-DLFRgXUC.cjs +568 -0
- package/dist/verbalizer.cjs +998 -0
- package/dist/verbalizer.d.cts +148 -0
- package/dist/verbalizer.d.mts +148 -0
- package/dist/verbalizer.mjs +996 -0
- package/package.json +249 -0
package/package.json
ADDED
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "toolbox-x",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "A versatile collection of smart, efficient, and reusable utility functions, classes and types for everyday development needs.",
|
|
5
|
+
"main": "./dist/index.cjs",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"sideEffects": false,
|
|
8
|
+
"keywords": [
|
|
9
|
+
"toolbox",
|
|
10
|
+
"toolbox-x",
|
|
11
|
+
"utility",
|
|
12
|
+
"functions",
|
|
13
|
+
"class",
|
|
14
|
+
"form",
|
|
15
|
+
"random-id",
|
|
16
|
+
"id",
|
|
17
|
+
"parse",
|
|
18
|
+
"format",
|
|
19
|
+
"generate",
|
|
20
|
+
"generator",
|
|
21
|
+
"data",
|
|
22
|
+
"form-data",
|
|
23
|
+
"development",
|
|
24
|
+
"tools",
|
|
25
|
+
"helpers",
|
|
26
|
+
"utils",
|
|
27
|
+
"nhb",
|
|
28
|
+
"color",
|
|
29
|
+
"time",
|
|
30
|
+
"date-fns",
|
|
31
|
+
"javascript",
|
|
32
|
+
"typescript",
|
|
33
|
+
"pluralize",
|
|
34
|
+
"pluralizer",
|
|
35
|
+
"singularize",
|
|
36
|
+
"singularizer",
|
|
37
|
+
"verbalize",
|
|
38
|
+
"verbalizer",
|
|
39
|
+
"date",
|
|
40
|
+
"chalk",
|
|
41
|
+
"console",
|
|
42
|
+
"style",
|
|
43
|
+
"stylog",
|
|
44
|
+
"log styler",
|
|
45
|
+
"log",
|
|
46
|
+
"hash",
|
|
47
|
+
"md5",
|
|
48
|
+
"sha1",
|
|
49
|
+
"sha256",
|
|
50
|
+
"text-codec",
|
|
51
|
+
"encrypt",
|
|
52
|
+
"decrypt",
|
|
53
|
+
"uuid",
|
|
54
|
+
"token",
|
|
55
|
+
"cipher",
|
|
56
|
+
"signet",
|
|
57
|
+
"status-codes",
|
|
58
|
+
"http-status",
|
|
59
|
+
"http-status-codes"
|
|
60
|
+
],
|
|
61
|
+
"publishConfig": {
|
|
62
|
+
"access": "public"
|
|
63
|
+
},
|
|
64
|
+
"files": [
|
|
65
|
+
"dist",
|
|
66
|
+
"LICENSE",
|
|
67
|
+
"README.md",
|
|
68
|
+
"package.json"
|
|
69
|
+
],
|
|
70
|
+
"repository": {
|
|
71
|
+
"type": "git",
|
|
72
|
+
"url": "git+https://github.com/nazmul-nhb/toolbox-x.git"
|
|
73
|
+
},
|
|
74
|
+
"homepage": "https://toolbox.nazmul-nhb.dev",
|
|
75
|
+
"author": {
|
|
76
|
+
"name": "Nazmul Hassan",
|
|
77
|
+
"email": "nazmulnhb@gmail.com",
|
|
78
|
+
"url": "https://nazmul-nhb.dev"
|
|
79
|
+
},
|
|
80
|
+
"contributors": [
|
|
81
|
+
{
|
|
82
|
+
"name": "Nazmul Hassan",
|
|
83
|
+
"email": "nazmulnhb007@yahoo.com",
|
|
84
|
+
"url": "https://github.com/nazmul-nhb"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"name": "Nazmul Hassan",
|
|
88
|
+
"email": "nazmulnhb@gmail.com",
|
|
89
|
+
"url": "https://github.com/nhb-nazmul"
|
|
90
|
+
}
|
|
91
|
+
],
|
|
92
|
+
"bugs": {
|
|
93
|
+
"url": "https://github.com/nazmul-nhb/toolbox-x/issues",
|
|
94
|
+
"email": "nazmulnhb@gmail.com"
|
|
95
|
+
},
|
|
96
|
+
"license": "Apache-2.0",
|
|
97
|
+
"devDependencies": {
|
|
98
|
+
"@biomejs/biome": "^2.4.15",
|
|
99
|
+
"@types/node": "^25.9.0",
|
|
100
|
+
"husky": "^9.1.7",
|
|
101
|
+
"lint-staged": "^17.0.5",
|
|
102
|
+
"nhb-scripts": "^1.9.2",
|
|
103
|
+
"tsdown": "^0.22.0",
|
|
104
|
+
"typescript": "^6.0.3"
|
|
105
|
+
},
|
|
106
|
+
"lint-staged": {
|
|
107
|
+
"*.+((c|m)?js(x)?|(c|m)?ts(x)?)": [
|
|
108
|
+
"biome format --write --diagnostic-level=error",
|
|
109
|
+
"biome lint --diagnostic-level=error"
|
|
110
|
+
]
|
|
111
|
+
},
|
|
112
|
+
"module": "./dist/index.mjs",
|
|
113
|
+
"types": "./dist/index.d.cts",
|
|
114
|
+
"exports": {
|
|
115
|
+
".": {
|
|
116
|
+
"import": "./dist/index.mjs",
|
|
117
|
+
"require": "./dist/index.cjs"
|
|
118
|
+
},
|
|
119
|
+
"./change-case": {
|
|
120
|
+
"import": "./dist/change-case.mjs",
|
|
121
|
+
"require": "./dist/change-case.cjs"
|
|
122
|
+
},
|
|
123
|
+
"./colors": {
|
|
124
|
+
"import": "./dist/colors.mjs",
|
|
125
|
+
"require": "./dist/colors.cjs"
|
|
126
|
+
},
|
|
127
|
+
"./constants": {
|
|
128
|
+
"import": "./dist/constants.mjs",
|
|
129
|
+
"require": "./dist/constants.cjs"
|
|
130
|
+
},
|
|
131
|
+
"./converter": {
|
|
132
|
+
"import": "./dist/converter.mjs",
|
|
133
|
+
"require": "./dist/converter.cjs"
|
|
134
|
+
},
|
|
135
|
+
"./date": {
|
|
136
|
+
"import": "./dist/date.mjs",
|
|
137
|
+
"require": "./dist/date.cjs"
|
|
138
|
+
},
|
|
139
|
+
"./dom": {
|
|
140
|
+
"import": "./dist/dom.mjs",
|
|
141
|
+
"require": "./dist/dom.cjs"
|
|
142
|
+
},
|
|
143
|
+
"./guards": {
|
|
144
|
+
"import": "./dist/guards.mjs",
|
|
145
|
+
"require": "./dist/guards.cjs"
|
|
146
|
+
},
|
|
147
|
+
"./hash": {
|
|
148
|
+
"import": "./dist/hash.mjs",
|
|
149
|
+
"require": "./dist/hash.cjs"
|
|
150
|
+
},
|
|
151
|
+
"./http-status": {
|
|
152
|
+
"import": "./dist/http-status.mjs",
|
|
153
|
+
"require": "./dist/http-status.cjs"
|
|
154
|
+
},
|
|
155
|
+
"./paginator": {
|
|
156
|
+
"import": "./dist/paginator.mjs",
|
|
157
|
+
"require": "./dist/paginator.cjs"
|
|
158
|
+
},
|
|
159
|
+
"./pluralizer": {
|
|
160
|
+
"import": "./dist/pluralizer.mjs",
|
|
161
|
+
"require": "./dist/pluralizer.cjs"
|
|
162
|
+
},
|
|
163
|
+
"./stylog": {
|
|
164
|
+
"import": "./dist/stylog.mjs",
|
|
165
|
+
"require": "./dist/stylog.cjs"
|
|
166
|
+
},
|
|
167
|
+
"./types": {
|
|
168
|
+
"import": "./dist/types/index.mjs",
|
|
169
|
+
"require": "./dist/types/index.cjs"
|
|
170
|
+
},
|
|
171
|
+
"./types/array": {
|
|
172
|
+
"import": "./dist/types/array.mjs",
|
|
173
|
+
"require": "./dist/types/array.cjs"
|
|
174
|
+
},
|
|
175
|
+
"./types/colors": {
|
|
176
|
+
"import": "./dist/types/colors.mjs",
|
|
177
|
+
"require": "./dist/types/colors.cjs"
|
|
178
|
+
},
|
|
179
|
+
"./types/converter": {
|
|
180
|
+
"import": "./dist/types/converter.mjs",
|
|
181
|
+
"require": "./dist/types/converter.cjs"
|
|
182
|
+
},
|
|
183
|
+
"./types/form": {
|
|
184
|
+
"import": "./dist/types/form.mjs",
|
|
185
|
+
"require": "./dist/types/form.cjs"
|
|
186
|
+
},
|
|
187
|
+
"./types/hash": {
|
|
188
|
+
"import": "./dist/types/hash.mjs",
|
|
189
|
+
"require": "./dist/types/hash.cjs"
|
|
190
|
+
},
|
|
191
|
+
"./types/http-status": {
|
|
192
|
+
"import": "./dist/types/http-status.mjs",
|
|
193
|
+
"require": "./dist/types/http-status.cjs"
|
|
194
|
+
},
|
|
195
|
+
"./types/number": {
|
|
196
|
+
"import": "./dist/types/number.mjs",
|
|
197
|
+
"require": "./dist/types/number.cjs"
|
|
198
|
+
},
|
|
199
|
+
"./types/object": {
|
|
200
|
+
"import": "./dist/types/object.mjs",
|
|
201
|
+
"require": "./dist/types/object.cjs"
|
|
202
|
+
},
|
|
203
|
+
"./types/pluralizer": {
|
|
204
|
+
"import": "./dist/types/pluralizer.mjs",
|
|
205
|
+
"require": "./dist/types/pluralizer.cjs"
|
|
206
|
+
},
|
|
207
|
+
"./types/string": {
|
|
208
|
+
"import": "./dist/types/string.mjs",
|
|
209
|
+
"require": "./dist/types/string.cjs"
|
|
210
|
+
},
|
|
211
|
+
"./types/stylog": {
|
|
212
|
+
"import": "./dist/types/stylog.mjs",
|
|
213
|
+
"require": "./dist/types/stylog.cjs"
|
|
214
|
+
},
|
|
215
|
+
"./types/utils": {
|
|
216
|
+
"import": "./dist/types/utils.mjs",
|
|
217
|
+
"require": "./dist/types/utils.cjs"
|
|
218
|
+
},
|
|
219
|
+
"./types/verbalizer": {
|
|
220
|
+
"import": "./dist/types/verbalizer.mjs",
|
|
221
|
+
"require": "./dist/types/verbalizer.cjs"
|
|
222
|
+
},
|
|
223
|
+
"./verbalizer": {
|
|
224
|
+
"import": "./dist/verbalizer.mjs",
|
|
225
|
+
"require": "./dist/verbalizer.cjs"
|
|
226
|
+
},
|
|
227
|
+
"./package.json": "./package.json"
|
|
228
|
+
},
|
|
229
|
+
"scripts": {
|
|
230
|
+
"build": "tsdown",
|
|
231
|
+
"dev:pkg": "tsdown --watch",
|
|
232
|
+
"dev": "pnpm --filter toolbox-x-docs dev",
|
|
233
|
+
"start": "pnpm --filter toolbox-x-docs start",
|
|
234
|
+
"build:docs": "pnpm --filter toolbox-x-docs build",
|
|
235
|
+
"gen": "pnpm --filter toolbox-x-docs gen",
|
|
236
|
+
"typegen": "pnpm --filter toolbox-x-docs typegen",
|
|
237
|
+
"typecheck": "tsc --noEmit",
|
|
238
|
+
"typecheck:docs": "pnpm --filter toolbox-x-docs typecheck",
|
|
239
|
+
"validate:links": "pnpm --filter toolbox-x-docs validate:links",
|
|
240
|
+
"commit": "nhb-commit",
|
|
241
|
+
"count": "nhb-count",
|
|
242
|
+
"delete": "nhb-delete",
|
|
243
|
+
"lint": "biome lint --diagnostic-level=error",
|
|
244
|
+
"fix": "biome check --write --diagnostic-level=error",
|
|
245
|
+
"format": "biome format --write --diagnostic-level=error",
|
|
246
|
+
"plugin": "nhb-module -t chronos-plugin -d src/plugins",
|
|
247
|
+
"create-docs": "nhb-module -t docs"
|
|
248
|
+
}
|
|
249
|
+
}
|