-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js
92 lines (70 loc) · 3.5 KB
/
index.js
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
#!/usr/bin/env node
import { createSpinner } from "nanospinner";
import colors from "colors";
function displaySkills(skills, header) {
const skillColors = ["blue", "red", "yellow", "magenta"];
let skillArr = [];
skills.forEach((skill, index) => {
const color = skillColors[Math.floor(Math.random() * skillColors.length)];
skillArr.push(colors[color](skill));
});
console.log(colors.green(header), "-", skillArr.join(", "));
}
async function main() {
console.log(
`
(ノ◕ヮ◕)ノ*:・゚✧
██╗░░██╗██╗ ████████╗██╗░░██╗███████╗██████╗░███████╗ ██╗██╗
██║░░██║██║ ╚══██╔══╝██║░░██║██╔════╝██╔══██╗██╔════╝ ██║██║
███████║██║ ░░░██║░░░███████║█████╗░░██████╔╝█████╗░░ ██║██║
██╔══██║██║ ░░░██║░░░██╔══██║██╔══╝░░██╔══██╗██╔══╝░░ ╚═╝╚═╝
██║░░██║██║ ░░░██║░░░██║░░██║███████╗██║░░██║███████╗ ██╗██╗
╚═╝░░╚═╝╚═╝ ░░░╚═╝░░░╚═╝░░╚═╝╚══════╝╚═╝░░╚═╝╚══════╝ ╚═╝╚═╝`.magenta
);
console.log();
const spinner = createSpinner("Loading pratik's details").start();
async function spinnerStart() {
await new Promise((resolve) => setTimeout(resolve, 1500));
}
await spinnerStart();
spinner.success();
console.log();
console.log(
`
█▀█ █▀▀ █▀█ █▀ █▀█ █▄░█ ▄▀█ █░░ █▀▄ █▀▀ ▀█▀ ▄▀█ █ █░░ █▀
█▀▀ ██▄ █▀▄ ▄█ █▄█ █░▀█ █▀█ █▄▄ █▄▀ ██▄ ░█░ █▀█ █ █▄▄ ▄█
`.yellow
)
console.log();
const githubLink = "https://github.com/pratiiikkk";
const websiteLInk = "https://neexzz.me";
console.log(`NAME `.green + " - " + "Pratik".cyan);
console.log(`STATUS `.green + " - " + "Student".cyan);
console.log(`GITHUB `.green + " - " + `${githubLink}`.cyan);
console.log(`WEBSITE `.green + " - " + `${websiteLInk}`.cyan);
console.log();
console.log(
`
█▀ █▄▀ █ █░░ █░░ █▀
▄█ █░█ █ █▄▄ █▄▄ ▄█`.yellow
);
console.log();
displaySkills([ "C", "TypeScript", "JavaScript"],"LANGUAGES ");
displaySkills(["React", "NextJs",], "FRAMEWORKS ");
displaySkills(["Express", "Nodejs", "Prisma"],"TECHNOLOGIES");
displaySkills(["MongoDb", "PostgresSQL", "SQL"], "DATABASES ");
displaySkills(["GIT", "Github"], "Tools ");
console.log();
console.log(
`
█▀▄▀█ █▀▀ █▀ █▀ ▄▀█ █▀▀ █▀▀
█░▀░█ ██▄ ▄█ ▄█ █▀█ █▄█ ██▄`.yellow
);
console.log();
console.log(
"pratik is up for hire, ready to help your company get to next heights and ofc Thanks for checking out my cli!"
.magenta
);
console.log();
}
main();