mazharul 1.0.0 โ 1.0.2
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/index.js +110 -41
- package/package.json +10 -2
package/index.js
CHANGED
|
@@ -1,42 +1,111 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
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
|
-
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
import chalk from "chalk";
|
|
4
|
+
import boxen from "boxen";
|
|
5
|
+
import ora from "ora";
|
|
6
|
+
import gradient from "gradient-string";
|
|
7
|
+
import cliCursor from "cli-cursor";
|
|
8
|
+
|
|
9
|
+
const sleep = (ms) => new Promise((r) => setTimeout(r, ms));
|
|
10
|
+
|
|
11
|
+
async function typewriter(text, speed = 15) {
|
|
12
|
+
for (const char of text) {
|
|
13
|
+
process.stdout.write(char);
|
|
14
|
+
await sleep(speed);
|
|
15
|
+
}
|
|
16
|
+
process.stdout.write("\n");
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
async function section(title, content) {
|
|
20
|
+
console.log(chalk.bold.cyan(`\n${title}`));
|
|
21
|
+
await sleep(200);
|
|
22
|
+
await typewriter(content, 10);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
async function main() {
|
|
26
|
+
console.clear();
|
|
27
|
+
cliCursor.hide();
|
|
28
|
+
|
|
29
|
+
const spinner = ora({
|
|
30
|
+
text: "Booting Mazharul CLI Portfolio...",
|
|
31
|
+
spinner: "dots",
|
|
32
|
+
}).start();
|
|
33
|
+
|
|
34
|
+
await sleep(1500);
|
|
35
|
+
spinner.succeed("Portfolio loaded successfully ๐");
|
|
36
|
+
|
|
37
|
+
await sleep(400);
|
|
38
|
+
|
|
39
|
+
// Animated Gradient Title
|
|
40
|
+
const title = gradient.morning(`
|
|
41
|
+
๐ Hello, Iโm Mazharul Islam
|
|
42
|
+
Software Engineer | Full-Stack Developer
|
|
42
43
|
`);
|
|
44
|
+
|
|
45
|
+
const headerBox = boxen(title, {
|
|
46
|
+
padding: 1,
|
|
47
|
+
borderStyle: "double",
|
|
48
|
+
borderColor: "cyan",
|
|
49
|
+
});
|
|
50
|
+
|
|
51
|
+
console.log(headerBox);
|
|
52
|
+
|
|
53
|
+
await sleep(600);
|
|
54
|
+
|
|
55
|
+
await section(
|
|
56
|
+
"๐ผ Profession",
|
|
57
|
+
"Software Engineer at Next Level Media\nBuilding scalable, production-ready software systems."
|
|
58
|
+
);
|
|
59
|
+
|
|
60
|
+
await section(
|
|
61
|
+
"๐ Bio",
|
|
62
|
+
"Passionate full-stack developer with a strong focus on backend architecture,\nclean APIs, and performance-driven applications.\nI love turning ideas into real-world SaaS products."
|
|
63
|
+
);
|
|
64
|
+
|
|
65
|
+
await section(
|
|
66
|
+
"๐ Skills",
|
|
67
|
+
`โข JavaScript & TypeScript
|
|
68
|
+
โข Node.js, Express.js, NestJS
|
|
69
|
+
โข React.js & Next.js
|
|
70
|
+
โข MongoDB, PostgreSQL, Prisma
|
|
71
|
+
โข Redux & RTK Query
|
|
72
|
+
โข REST APIs & System Design`
|
|
73
|
+
);
|
|
74
|
+
|
|
75
|
+
await section(
|
|
76
|
+
"๐ก Interests",
|
|
77
|
+
`โข SaaS Product Development
|
|
78
|
+
โข Backend & System Architecture
|
|
79
|
+
โข Microservices & Scalability
|
|
80
|
+
โข Teaching & Continuous Learning`
|
|
81
|
+
);
|
|
82
|
+
|
|
83
|
+
await section(
|
|
84
|
+
"๐ Social Links",
|
|
85
|
+
`${chalk.blue("GitHub")} : https://github.com/mazharulDev
|
|
86
|
+
${chalk.blue("LinkedIn")} : https://www.linkedin.com/in/mazharuldev/
|
|
87
|
+
${chalk.blue("Website")} : https://www.mazharul.me/
|
|
88
|
+
${chalk.blue("Facebook")}: https://www.facebook.com/MazharulDev/`
|
|
89
|
+
);
|
|
90
|
+
|
|
91
|
+
await section(
|
|
92
|
+
"๐ Contact",
|
|
93
|
+
`Phone : ${chalk.green("+880 1911-396142")}`
|
|
94
|
+
);
|
|
95
|
+
|
|
96
|
+
await sleep(500);
|
|
97
|
+
|
|
98
|
+
const footer = boxen(
|
|
99
|
+
chalk.dim("โLearning every day, building for the future.โ"),
|
|
100
|
+
{
|
|
101
|
+
padding: 1,
|
|
102
|
+
borderStyle: "round",
|
|
103
|
+
borderColor: "gray",
|
|
104
|
+
}
|
|
105
|
+
);
|
|
106
|
+
|
|
107
|
+
console.log("\n" + footer);
|
|
108
|
+
cliCursor.show();
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
main();
|
package/package.json
CHANGED
|
@@ -1,15 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mazharul",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
8
8
|
},
|
|
9
|
+
"type": "module",
|
|
9
10
|
"bin": {
|
|
10
11
|
"mazharul": "./index.js"
|
|
11
12
|
},
|
|
12
13
|
"keywords": [],
|
|
13
14
|
"author": "",
|
|
14
|
-
"license": "ISC"
|
|
15
|
+
"license": "ISC",
|
|
16
|
+
"dependencies": {
|
|
17
|
+
"boxen": "^8.0.1",
|
|
18
|
+
"chalk": "^5.6.2",
|
|
19
|
+
"cli-cursor": "^5.0.0",
|
|
20
|
+
"gradient-string": "^3.0.0",
|
|
21
|
+
"ora": "^9.0.0"
|
|
22
|
+
}
|
|
15
23
|
}
|