stack-analyze 1.1.7 → 1.2.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/CHANGELOG.md +33 -3
- package/about.js +97 -45
- package/cli.js +313 -109
- package/functions/animeInfo.js +12 -15
- package/functions/bitly.js +3 -4
- package/functions/cryptoList.js +16 -13
- package/functions/gitUser.js +14 -14
- package/functions/hardware.js +195 -243
- package/functions/moviesInfo.js +5 -10
- package/functions/multipleStack.js +13 -8
- package/functions/pageSpeed.js +1 -1
- package/functions/password.js +25 -0
- package/functions/scraping.js +153 -0
- package/functions/singleStack.js +14 -9
- package/functions/twitch.js +5 -7
- package/index.cjs +177 -139
- package/index.mjs +179 -140
- package/package.json +18 -18
- package/readme.md +38 -7
- package/utils.js +15 -0
- package/env/bitly.env.js +0 -1
- package/env/movie.env.js +0 -1
- package/env/twitchID.env.js +0 -1
- package/hash/aboutOpts.js +0 -53
- package/hash/hardwareTools.js +0 -47
- package/hash/infoTools.js +0 -112
- package/hash/mainTools.js +0 -67
- package/models/aboutTables.js +0 -40
- package/models/animeTable.js +0 -33
- package/models/cryptoTables.js +0 -32
- package/models/hardwareTables.js +0 -87
- package/models/movieTables.js +0 -33
- package/models/stackTables.js +0 -23
- package/models/twitchTables.js +0 -28
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,39 @@
|
|
|
2
2
|
|
|
3
3
|
stack-analyze all version and notable changes, fixed, remove and new additions in code.
|
|
4
4
|
|
|
5
|
+
## version 1.2.0
|
|
6
|
+
### Added
|
|
7
|
+
- new tool password generator
|
|
8
|
+
### fixed
|
|
9
|
+
- update anime search tool
|
|
10
|
+
- the files modules now using callbacks and remove no using vars
|
|
11
|
+
### change
|
|
12
|
+
- the web scraping tool decided to use the question returns to the main menu instead of going to the main menu
|
|
13
|
+
|
|
14
|
+
## version 1.1.9
|
|
15
|
+
### Added
|
|
16
|
+
- new module cheerio
|
|
17
|
+
- new tool webscraping
|
|
18
|
+
- new test
|
|
19
|
+
### fixed
|
|
20
|
+
- rewirte axios import
|
|
21
|
+
### change
|
|
22
|
+
- hardware information change from functions to hash table
|
|
23
|
+
- about now is hash table
|
|
24
|
+
- now using the function printTable avoid overwritting.
|
|
25
|
+
- remove jsdocs the modules files
|
|
26
|
+
### remove
|
|
27
|
+
- remove models console-table-printer
|
|
28
|
+
- remove hash tables
|
|
29
|
+
|
|
30
|
+
## version 1.1.8
|
|
31
|
+
### fixed
|
|
32
|
+
- restructure all tools as a hash table with promises except the tool hardware information and about section
|
|
33
|
+
- update all modules
|
|
34
|
+
### change
|
|
35
|
+
- remove the module coingecko-api
|
|
36
|
+
- remove process.env variables to writting manual token for security
|
|
37
|
+
|
|
5
38
|
## version 1.1.7
|
|
6
39
|
### Added
|
|
7
40
|
- twitch info tool
|
|
@@ -20,7 +53,6 @@ stack-analyze all version and notable changes, fixed, remove and new additions i
|
|
|
20
53
|
- module stack-analyze mode
|
|
21
54
|
### fixed
|
|
22
55
|
- rewrite code
|
|
23
|
-
- renove nonolive recommends
|
|
24
56
|
### changed
|
|
25
57
|
- menu renove
|
|
26
58
|
- renove jsdocs in some function or variables
|
|
@@ -46,8 +78,6 @@ stack-analyze all version and notable changes, fixed, remove and new additions i
|
|
|
46
78
|
### fixed
|
|
47
79
|
- rewrite some functions
|
|
48
80
|
- update npm modules via manual
|
|
49
|
-
### changed
|
|
50
|
-
- no changed
|
|
51
81
|
|
|
52
82
|
## version 1.1.3
|
|
53
83
|
### Added
|
package/about.js
CHANGED
|
@@ -1,58 +1,110 @@
|
|
|
1
|
+
// print table
|
|
2
|
+
import { printTable } from "console-table-printer";
|
|
3
|
+
|
|
4
|
+
import { listFormat } from "./utils.js";
|
|
5
|
+
|
|
1
6
|
// package.json
|
|
2
7
|
import { createRequire } from "module";
|
|
3
8
|
const require = createRequire(import.meta.url);
|
|
4
9
|
const { license, version } = require("./package.json");
|
|
5
10
|
|
|
6
11
|
/**
|
|
7
|
-
*
|
|
12
|
+
* types for about tools
|
|
13
|
+
*
|
|
14
|
+
* @typedef {Object.<string, function(): void>} aboutTable
|
|
15
|
+
*
|
|
16
|
+
* @typedef {Object} info
|
|
17
|
+
* @property {string} info.mainDeveloper
|
|
18
|
+
* @property {string} info.version
|
|
19
|
+
* @property {string} info.license
|
|
20
|
+
*
|
|
21
|
+
* @typedef {Object} developerList
|
|
22
|
+
* @property {string} developerList.name
|
|
23
|
+
* @property {string} developerList.roles
|
|
24
|
+
*
|
|
25
|
+
* @typedef {Object} youtube
|
|
26
|
+
* @property {string} youtubeChannel
|
|
27
|
+
* @property {string} recomendation
|
|
28
|
+
*
|
|
29
|
+
* @typedef {Object} twitch
|
|
30
|
+
* @property {string} twitch.user
|
|
31
|
+
* @property {string} [twitch.details]
|
|
32
|
+
*
|
|
33
|
+
* @typedef {Object} project
|
|
34
|
+
* @property {string} project.name
|
|
35
|
+
* @property {string} project.desc
|
|
8
36
|
*/
|
|
9
|
-
const aboutApp = {
|
|
10
|
-
mainDeveloper: "omega5300",
|
|
11
|
-
license,
|
|
12
|
-
version
|
|
13
|
-
};
|
|
14
37
|
|
|
15
|
-
/**
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
38
|
+
/** @type {aboutTable} */
|
|
39
|
+
const aboutTool = {
|
|
40
|
+
mainInfo() {
|
|
41
|
+
/** @type {info} */
|
|
42
|
+
const aboutApp = {
|
|
43
|
+
mainDeveloper: "omega5300",
|
|
44
|
+
license,
|
|
45
|
+
version
|
|
46
|
+
};
|
|
20
47
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
48
|
+
console.clear();
|
|
49
|
+
console.table(aboutApp);
|
|
50
|
+
},
|
|
51
|
+
lineup() {
|
|
52
|
+
/** @type {developerList[]} */
|
|
53
|
+
const developers = [
|
|
54
|
+
{
|
|
55
|
+
name: "omega5300",
|
|
56
|
+
roles: listFormat.format(["main developer", "lead project", "founder"])
|
|
57
|
+
}
|
|
58
|
+
];
|
|
25
59
|
|
|
26
|
-
|
|
27
|
-
|
|
60
|
+
console.clear();
|
|
61
|
+
printTable(developers);
|
|
62
|
+
},
|
|
63
|
+
youtubeRecomendation() {
|
|
64
|
+
/** @type {youtube[]} */
|
|
65
|
+
const youtubeDev = [
|
|
66
|
+
{ youtubeChannel: "fazt", recomendation: "recommend" },
|
|
67
|
+
{ youtubeChannel: "doriandesings", recomendation: "recommend" },
|
|
68
|
+
{ youtubeChannel: "bluuweb", recomendation: "recommend" },
|
|
69
|
+
{ youtubeChannel: "leonidas esteban", recomendation: "neutral recommend" },
|
|
70
|
+
{ youtubeChannel: "fernando herrera", recomendation: "recommend" },
|
|
71
|
+
{ youtubeChannel: "soy dalto", recomendation: "neutral recommend" },
|
|
72
|
+
];
|
|
28
73
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
*/
|
|
74
|
+
console.clear();
|
|
75
|
+
printTable(youtubeDev);
|
|
76
|
+
},
|
|
77
|
+
twitchRecomendation() {
|
|
78
|
+
/** @type {twitch[]} */
|
|
79
|
+
const twitchUsers = [
|
|
80
|
+
{
|
|
81
|
+
user: "dannyaegyo",
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
user: "Lunanny",
|
|
85
|
+
details: "audiovisual student even though if has ADHD has a great variety regardless of whether or not he has ADHD."
|
|
86
|
+
}
|
|
87
|
+
];
|
|
34
88
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
{
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
youtubeDev,
|
|
55
|
-
twitch,
|
|
56
|
-
projects,
|
|
57
|
-
ideas
|
|
89
|
+
console.clear();
|
|
90
|
+
printTable(twitchUsers);
|
|
91
|
+
},
|
|
92
|
+
projectsRecomendation() {
|
|
93
|
+
/** @type {project[]} */
|
|
94
|
+
const projects = [
|
|
95
|
+
{
|
|
96
|
+
name: "Doofy's Projects",
|
|
97
|
+
desc: "tools and systems customs"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
name: "black metal promotion",
|
|
101
|
+
desc: "upload new albums and sometimes tracks from upcoming albums with the permission of bands and/or labels"
|
|
102
|
+
}
|
|
103
|
+
];
|
|
104
|
+
|
|
105
|
+
console.clear();
|
|
106
|
+
printTable(projects);
|
|
107
|
+
}
|
|
58
108
|
};
|
|
109
|
+
|
|
110
|
+
export default aboutTool;
|