stack-analyze 1.3.5 → 1.3.7

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 (43) hide show
  1. package/CHANGELOG.md +335 -311
  2. package/LICENSE +21 -21
  3. package/about.js +98 -121
  4. package/api/pokerApi.js +5 -5
  5. package/api/wallpapersURL.js +7 -5
  6. package/api/webApis.js +21 -21
  7. package/cli.js +204 -213
  8. package/eslint.config.js +44 -44
  9. package/functions/animeInfo.js +45 -45
  10. package/functions/bitly.js +41 -41
  11. package/functions/bundlephobia.js +36 -36
  12. package/functions/cryptoList.js +48 -48
  13. package/functions/cssValidator.js +25 -25
  14. package/functions/deezer.js +37 -37
  15. package/functions/download.js +25 -24
  16. package/functions/gitUser.js +37 -37
  17. package/functions/hardware.js +109 -109
  18. package/functions/moviesInfo.js +55 -55
  19. package/functions/multipleStack.js +53 -53
  20. package/functions/pageSpeed.js +82 -82
  21. package/functions/password.js +24 -24
  22. package/functions/pokemon.js +106 -106
  23. package/functions/poker.js +40 -42
  24. package/functions/potterSearch.js +32 -32
  25. package/functions/quotes.js +33 -0
  26. package/functions/scraping.js +132 -132
  27. package/functions/singleStack.js +48 -48
  28. package/functions/twitch.js +72 -72
  29. package/hash/infoTools.js +61 -61
  30. package/hash/queryTools.js +113 -116
  31. package/hash/quotesSelect.js +16 -0
  32. package/hash/utilityTools.js +33 -32
  33. package/hash/wallpaperSelect.js +90 -59
  34. package/hash/webTools.js +93 -92
  35. package/logo-module.webp +0 -0
  36. package/menu.js +13 -13
  37. package/package.json +67 -67
  38. package/prompts/webPrompts.js +31 -31
  39. package/readme.md +44 -44
  40. package/types.js +51 -0
  41. package/utils.js +96 -101
  42. package/validations/infoValidations.js +37 -37
  43. package/validations/webValidations.js +33 -33
package/CHANGELOG.md CHANGED
@@ -1,311 +1,335 @@
1
- # changelog
2
-
3
- stack-analyze all version and notable changes, fixed, remove and new additions in code.
4
-
5
- ## generation 4 (ver. 1.3.0 - )
6
-
7
- ### version 1.3.5
8
- #### Added
9
- - new tool poker game rule selector "poker rule".
10
-
11
- #### changed
12
- - change inquirer to @inquirer/prompts.
13
- - about.js file now using esm with json modules.
14
- - all tools now using new inquirer methods.
15
-
16
- #### fixed
17
- - add question for anime search tool.
18
-
19
- #### remove
20
- - remove validations folder.
21
-
22
- ### version 1.3.4
23
- #### changed
24
- - new ui cli for potter search tool & save file.
25
-
26
- ### version 1.3.3
27
- #### Added
28
- - add potter search (harry potter npx characters)
29
- #### changed
30
- - update linter
31
-
32
- ### version 1.3.2
33
- #### Added
34
- - title for stack menu tools
35
-
36
- ### version 1.3.1
37
- #### Added
38
- - seyyahi2 wallpapers (this pack is from album app)
39
- #### changed
40
- - add new view field is total track and id
41
-
42
- ### version 1.3.0
43
- #### Added
44
- - deezer search tool
45
-
46
- ## generation 3 (ver. 1.2.0 - 1.2.9)
47
-
48
- ### version 1.2.9
49
- #### Added
50
- - css validate
51
- #### changed
52
- - changed wappalyzer module
53
-
54
- ### version 1.2.8
55
- #### Added
56
- - dimensions wallpaper download
57
- #### changed
58
- - renove download wallpaper function
59
- - about script using cjs
60
-
61
- ### version 1.2.7
62
- #### Added
63
- - wallpaper tool download (sol, moon)
64
- #### changed
65
- - default case in range color 91 to 100
66
-
67
- ### version 1.2.6
68
- #### Changed
69
- - redesign poke info tool
70
- - remove module info in readme
71
-
72
- ### version 1.2.5
73
- #### Added
74
- - pokemon info tool.
75
- #### Changed
76
- - update script test.
77
- - remove the cjs and mjs files.
78
- - renove changelog based in generations similar to neo-jquery.
79
- #### fixed
80
- - add examples in twitch info users.
81
- - fixed the bug create hardware info file.
82
-
83
- ### version 1.2.4
84
- #### Changed
85
- - remove jest module by node:test,
86
- - web scraping & github info using native fetch api & not axios,
87
- #### fixed
88
- - fixed errors in:
89
- - single stack.
90
- - multiple.
91
- - hardware information.
92
- - single & multiple stack using sub await mode
93
-
94
- ### version 1.2.3
95
- #### Added
96
- - bundlephobia info tool
97
- #### Changed
98
- - change write json to csv in hardware information
99
-
100
- ### version 1.2.2
101
- #### Added
102
- - add save file function for the tools
103
- #### Changed
104
- - change the hash table to unique function in hardware information
105
- #### Fixed
106
- - fixed to unique user to multiple users with split params
107
-
108
- ### version 1.2.1
109
- #### Fixed
110
- - rewrite form arrow functions to named function with export default.
111
- - rewrite some test functions.
112
- - add regexp form bitly info tool
113
- #### Changed
114
- - renove menu now using categories.
115
- - add api params.
116
- - comeback multibar from pagespeed tool
117
-
118
- ### version 1.2.0
119
- #### Added
120
- - new tool password generator
121
- #### Fixed
122
- - update anime search tool
123
- - the files modules now using callbacks and remove no using vars
124
- #### Changed
125
- - the web scraping tool decided to use the question returns to the main menu instead of going to the main menu
126
-
127
- ## generation 2 (ver. 1.1.0 - 1.1.9)
128
-
129
- ### version 1.1.9
130
- #### Added
131
- - new module cheerio
132
- - new tool webscraping
133
- - new test
134
- #### Fixed
135
- - rewirte axios import
136
- #### Changed
137
- - hardware information change from functions to hash table
138
- - about now is hash table
139
- - now using the function printTable avoid overwritting.
140
- - remove jsdocs the modules files
141
- #### remove
142
- - remove models console-table-printer
143
- - remove hash tables
144
-
145
- ### version 1.1.8
146
- #### Fixed
147
- - restructure all tools as a hash table with promises except the tool hardware information and about section
148
- - update all modules
149
- #### Changed
150
- - remove the module coingecko-api
151
- - remove process.env variables to writting manual token for security
152
-
153
- ## version 1.1.7
154
- #### Added
155
- - twitch info tool
156
- - remove one js module for module to cjs and esm
157
- #### Fixed
158
- - change write token to process.env varaibles own (not avalible values in github and gitlab)
159
- - migrate cjs to esm
160
- - rewrite module
161
- #### Changed
162
- - except some hardware tools and github using models from console-table-printer
163
- - now using esm now about is js file not folder about with index.js
164
- - rewrite all tests functions
165
-
166
- ### version 1.1.6
167
- #### Added
168
- - module stack-analyze mode
169
- #### Fixed
170
- - rewrite code
171
- #### Changed
172
- - menu renove
173
- - renove jsdocs in some function or variables
174
- - remove nonolive recommends soon in versions desktop 7 and pwa 1.5.0
175
-
176
- ### version 1.1.5
177
- #### Added
178
- - add new tool: movie info
179
- - add new test
180
- - renove menu
181
- #### Fixed
182
- - rewrite in some functions and about
183
- - remove some dependencies not using project
184
- #### Changed
185
- - change multibar to 2 single bars
186
- - change switch in all tools for hash functions tables
187
- - renove nonolive recommends
188
-
189
- ### version 1.1.4
190
- #### Added
191
- - add new tool: bitly info
192
- - add new test
193
- #### Fixed
194
- - rewrite some functions
195
- - update npm modules via manual
196
-
197
- ### version 1.1.3
198
- #### Added
199
- - add new module: coingecko-api
200
- - add new tool: crypto market
201
- - add new recomends
202
- - add new test
203
- #### Fixed
204
- - rewrite some functions
205
- - update npm modules via manual
206
- #### Changed
207
- - add new const variables for map array functions
208
-
209
- ### version 1.1.2
210
- #### Added
211
- - add new nonolive streamers Recomend
212
- #### Fixed
213
- - rewrite multiple techstack
214
- - rewrite test files
215
- #### Changed
216
- - changed the for loop to foreach loop
217
-
218
- ### version 1.1.1
219
- #### Added
220
- - using console.table only in objects variables
221
- - using the console-table-printer in arrays in some functions and the about section
222
- - add the new module: console-table-printer
223
- - add the new nonolive streamers and youtube dev recommedation
224
- #### Fixed
225
- - rewrite some funcions
226
- - fragment about section
227
- #### Changed
228
- - using console.table only in objects variables
229
- - using the console-table-printer in arrays in some functions and the about section
230
-
231
- ### version 1.1.0
232
- #### Added
233
- - add the new modules:
234
- - systeminformation the main module
235
- - jsdoc + the template minami the dev modules
236
- - add the hardware information
237
- - add new recomendations for about section
238
- #### Fixed
239
- - rewrite the code the functions singlestack and multiple
240
- - add the name app to question function
241
- #### Changed
242
- - changed the node style color to using colors
243
-
244
- ## generation 1 (ver. 1.0.1 - 1.0.9)
245
-
246
- ### version 1.0.9
247
- #### Added
248
- - add the new modules:
249
- - timeago.js for the github user
250
- - add the options github info and anime search the main options
251
- - add new recomendations for the about section
252
- #### Fixed
253
- - return the peformance now for pagespeed
254
- #### Changed
255
- - add new testing
256
-
257
- ### version 1.0.8
258
- #### Added
259
- - add the new modules:
260
- - colors
261
- - cli-progress
262
- #### Fixed
263
- change json print to table print version
264
- #### Changed
265
- - change console.dir about to console.table
266
- - change from text to bar for pagespeed results
267
- - add the badge tech stack project
268
- #### patch version 1.0.85
269
- notes:
270
- - fixed the cli run
271
- - remove performance.now for the defined time in pagespeed
272
- - add recomendations sections
273
-
274
- ### version 1.0.7
275
- #### Added
276
- - add the new modules:
277
- - figlet the main module
278
- - jest dev module and testing functions
279
- - add the options page speed and about the main options
280
- - add return in a option select except about and exit
281
- #### Fixed
282
- - the website in blank or website without http:// or https:// return the main options
283
- - eslint custom rules without style guide
284
- #### Changed
285
- - changed the inquirer list to inquirer rawlist
286
- - rewirte jsdoc in all project except test files
287
- - the tech stack using other console methods console.log only in exit cli
288
-
289
- ## version 1.0.6
290
- #### Added
291
- - add the new options: multiple (analyze many sites) and exit (exit cli).
292
- - the code was testing with eslint to avoid errors to execute
293
- - rewrite the module docs.
294
- #### Changed
295
- - the list options with inquirer
296
- - welcome message modified
297
-
298
- ### version 1.0.5
299
- #### Changed
300
- - modify the code and module structure
301
- #### remove
302
- - remove the commander module
303
-
304
- #### version 1.0.4
305
- - fisrt official version in npm with the modules:
306
- - wappalyzer
307
- - inquirer
308
- - commander
309
-
310
- #### version 1.0.1 to 1.0.3
311
- test version modules without wappalyzer module (only testing)
1
+ # changelog
2
+
3
+ stack-analyze all version and notable changes, fixed, remove and new additions in code.
4
+
5
+ ## generation 4 (ver. 1.3.0 - )
6
+
7
+ ### version 1.3.7
8
+
9
+ #### Added
10
+ - quotes new tool
11
+
12
+ #### Changed
13
+ - some files using new types jsdocs via import
14
+ - cpuinfo using separetd of cache
15
+
16
+ ### version 1.3.6 (5th aniversary)
17
+
18
+ #### Added
19
+ - new wallpaers pack:
20
+ - tsuky no emily.
21
+ - ancient mistery.
22
+
23
+ #### Changed
24
+ - simplify in how play for poker rule tool.
25
+
26
+ #### fixed
27
+ - fixed download wallpapers.
28
+ - cli.js fixed jsdoc.
29
+
30
+
31
+ ### version 1.3.5
32
+ #### Added
33
+ - new tool poker game rule selector "poker rule".
34
+
35
+ #### changed
36
+ - change inquirer to @inquirer/prompts.
37
+ - about.js file now using esm with json modules.
38
+ - all tools now using new inquirer methods.
39
+
40
+ #### fixed
41
+ - add question for anime search tool.
42
+
43
+ #### remove
44
+ - remove validations folder.
45
+
46
+ ### version 1.3.4
47
+ #### changed
48
+ - new ui cli for potter search tool & save file.
49
+
50
+ ### version 1.3.3
51
+ #### Added
52
+ - add potter search (harry potter npx characters)
53
+ #### changed
54
+ - update linter
55
+
56
+ ### version 1.3.2
57
+ #### Added
58
+ - title for stack menu tools
59
+
60
+ ### version 1.3.1
61
+ #### Added
62
+ - seyyahi2 wallpapers (this pack is from album app)
63
+ #### changed
64
+ - add new view field is total track and id
65
+
66
+ ### version 1.3.0
67
+ #### Added
68
+ - deezer search tool
69
+
70
+ ## generation 3 (ver. 1.2.0 - 1.2.9)
71
+
72
+ ### version 1.2.9
73
+ #### Added
74
+ - css validate
75
+ #### changed
76
+ - changed wappalyzer module
77
+
78
+ ### version 1.2.8
79
+ #### Added
80
+ - dimensions wallpaper download
81
+ #### changed
82
+ - renove download wallpaper function
83
+ - about script using cjs
84
+
85
+ ### version 1.2.7
86
+ #### Added
87
+ - wallpaper tool download (sol, moon)
88
+ #### changed
89
+ - default case in range color 91 to 100
90
+
91
+ ### version 1.2.6
92
+ #### Changed
93
+ - redesign poke info tool
94
+ - remove module info in readme
95
+
96
+ ### version 1.2.5
97
+ #### Added
98
+ - pokemon info tool.
99
+ #### Changed
100
+ - update script test.
101
+ - remove the cjs and mjs files.
102
+ - renove changelog based in generations similar to neo-jquery.
103
+ #### fixed
104
+ - add examples in twitch info users.
105
+ - fixed the bug create hardware info file.
106
+
107
+ ### version 1.2.4
108
+ #### Changed
109
+ - remove jest module by node:test,
110
+ - web scraping & github info using native fetch api & not axios,
111
+ #### fixed
112
+ - fixed errors in:
113
+ - single stack.
114
+ - multiple.
115
+ - hardware information.
116
+ - single & multiple stack using sub await mode
117
+
118
+ ### version 1.2.3
119
+ #### Added
120
+ - bundlephobia info tool
121
+ #### Changed
122
+ - change write json to csv in hardware information
123
+
124
+ ### version 1.2.2
125
+ #### Added
126
+ - add save file function for the tools
127
+ #### Changed
128
+ - change the hash table to unique function in hardware information
129
+ #### Fixed
130
+ - fixed to unique user to multiple users with split params
131
+
132
+ ### version 1.2.1
133
+ #### Fixed
134
+ - rewrite form arrow functions to named function with export default.
135
+ - rewrite some test functions.
136
+ - add regexp form bitly info tool
137
+ #### Changed
138
+ - renove menu now using categories.
139
+ - add api params.
140
+ - comeback multibar from pagespeed tool
141
+
142
+ ### version 1.2.0
143
+ #### Added
144
+ - new tool password generator
145
+ #### Fixed
146
+ - update anime search tool
147
+ - the files modules now using callbacks and remove no using vars
148
+ #### Changed
149
+ - the web scraping tool decided to use the question returns to the main menu instead of going to the main menu
150
+
151
+ ## generation 2 (ver. 1.1.0 - 1.1.9)
152
+
153
+ ### version 1.1.9
154
+ #### Added
155
+ - new module cheerio
156
+ - new tool webscraping
157
+ - new test
158
+ #### Fixed
159
+ - rewirte axios import
160
+ #### Changed
161
+ - hardware information change from functions to hash table
162
+ - about now is hash table
163
+ - now using the function printTable avoid overwritting.
164
+ - remove jsdocs the modules files
165
+ #### remove
166
+ - remove models console-table-printer
167
+ - remove hash tables
168
+
169
+ ### version 1.1.8
170
+ #### Fixed
171
+ - restructure all tools as a hash table with promises except the tool hardware information and about section
172
+ - update all modules
173
+ #### Changed
174
+ - remove the module coingecko-api
175
+ - remove process.env variables to writting manual token for security
176
+
177
+ ## version 1.1.7
178
+ #### Added
179
+ - twitch info tool
180
+ - remove one js module for module to cjs and esm
181
+ #### Fixed
182
+ - change write token to process.env varaibles own (not avalible values in github and gitlab)
183
+ - migrate cjs to esm
184
+ - rewrite module
185
+ #### Changed
186
+ - except some hardware tools and github using models from console-table-printer
187
+ - now using esm now about is js file not folder about with index.js
188
+ - rewrite all tests functions
189
+
190
+ ### version 1.1.6
191
+ #### Added
192
+ - module stack-analyze mode
193
+ #### Fixed
194
+ - rewrite code
195
+ #### Changed
196
+ - menu renove
197
+ - renove jsdocs in some function or variables
198
+ - remove nonolive recommends soon in versions desktop 7 and pwa 1.5.0
199
+
200
+ ### version 1.1.5
201
+ #### Added
202
+ - add new tool: movie info
203
+ - add new test
204
+ - renove menu
205
+ #### Fixed
206
+ - rewrite in some functions and about
207
+ - remove some dependencies not using project
208
+ #### Changed
209
+ - change multibar to 2 single bars
210
+ - change switch in all tools for hash functions tables
211
+ - renove nonolive recommends
212
+
213
+ ### version 1.1.4
214
+ #### Added
215
+ - add new tool: bitly info
216
+ - add new test
217
+ #### Fixed
218
+ - rewrite some functions
219
+ - update npm modules via manual
220
+
221
+ ### version 1.1.3
222
+ #### Added
223
+ - add new module: coingecko-api
224
+ - add new tool: crypto market
225
+ - add new recomends
226
+ - add new test
227
+ #### Fixed
228
+ - rewrite some functions
229
+ - update npm modules via manual
230
+ #### Changed
231
+ - add new const variables for map array functions
232
+
233
+ ### version 1.1.2
234
+ #### Added
235
+ - add new nonolive streamers Recomend
236
+ #### Fixed
237
+ - rewrite multiple techstack
238
+ - rewrite test files
239
+ #### Changed
240
+ - changed the for loop to foreach loop
241
+
242
+ ### version 1.1.1
243
+ #### Added
244
+ - using console.table only in objects variables
245
+ - using the console-table-printer in arrays in some functions and the about section
246
+ - add the new module: console-table-printer
247
+ - add the new nonolive streamers and youtube dev recommedation
248
+ #### Fixed
249
+ - rewrite some funcions
250
+ - fragment about section
251
+ #### Changed
252
+ - using console.table only in objects variables
253
+ - using the console-table-printer in arrays in some functions and the about section
254
+
255
+ ### version 1.1.0
256
+ #### Added
257
+ - add the new modules:
258
+ - systeminformation the main module
259
+ - jsdoc + the template minami the dev modules
260
+ - add the hardware information
261
+ - add new recomendations for about section
262
+ #### Fixed
263
+ - rewrite the code the functions singlestack and multiple
264
+ - add the name app to question function
265
+ #### Changed
266
+ - changed the node style color to using colors
267
+
268
+ ## generation 1 (ver. 1.0.1 - 1.0.9)
269
+
270
+ ### version 1.0.9
271
+ #### Added
272
+ - add the new modules:
273
+ - timeago.js for the github user
274
+ - add the options github info and anime search the main options
275
+ - add new recomendations for the about section
276
+ #### Fixed
277
+ - return the peformance now for pagespeed
278
+ #### Changed
279
+ - add new testing
280
+
281
+ ### version 1.0.8
282
+ #### Added
283
+ - add the new modules:
284
+ - colors
285
+ - cli-progress
286
+ #### Fixed
287
+ change json print to table print version
288
+ #### Changed
289
+ - change console.dir about to console.table
290
+ - change from text to bar for pagespeed results
291
+ - add the badge tech stack project
292
+ #### patch version 1.0.85
293
+ notes:
294
+ - fixed the cli run
295
+ - remove performance.now for the defined time in pagespeed
296
+ - add recomendations sections
297
+
298
+ ### version 1.0.7
299
+ #### Added
300
+ - add the new modules:
301
+ - figlet the main module
302
+ - jest dev module and testing functions
303
+ - add the options page speed and about the main options
304
+ - add return in a option select except about and exit
305
+ #### Fixed
306
+ - the website in blank or website without http:// or https:// return the main options
307
+ - eslint custom rules without style guide
308
+ #### Changed
309
+ - changed the inquirer list to inquirer rawlist
310
+ - rewirte jsdoc in all project except test files
311
+ - the tech stack using other console methods console.log only in exit cli
312
+
313
+ ## version 1.0.6
314
+ #### Added
315
+ - add the new options: multiple (analyze many sites) and exit (exit cli).
316
+ - the code was testing with eslint to avoid errors to execute
317
+ - rewrite the module docs.
318
+ #### Changed
319
+ - the list options with inquirer
320
+ - welcome message modified
321
+
322
+ ### version 1.0.5
323
+ #### Changed
324
+ - modify the code and module structure
325
+ #### remove
326
+ - remove the commander module
327
+
328
+ #### version 1.0.4
329
+ - fisrt official version in npm with the modules:
330
+ - wappalyzer
331
+ - inquirer
332
+ - commander
333
+
334
+ #### version 1.0.1 to 1.0.3
335
+ test version modules without wappalyzer module (only testing)