soumabrata-dev 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/index.js +76 -0
- package/package.json +27 -0
package/index.js
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
import chalk from 'chalk';
|
|
4
|
+
import clear from 'clear';
|
|
5
|
+
import figlet from 'figlet';
|
|
6
|
+
import gradient from 'gradient-string';
|
|
7
|
+
|
|
8
|
+
// Clear the terminal first
|
|
9
|
+
clear();
|
|
10
|
+
|
|
11
|
+
// Pastel Purple Gradient to match site theme
|
|
12
|
+
const purpleGradient = gradient(['#fdf4ff', '#c4b5fd', '#a855f7']);
|
|
13
|
+
|
|
14
|
+
// Helper to print headers using Figlet
|
|
15
|
+
const printHeader = (text) => {
|
|
16
|
+
console.log(purpleGradient(figlet.textSync(text, {
|
|
17
|
+
font: 'Pagga', // Compact, blocky font
|
|
18
|
+
horizontalLayout: 'default',
|
|
19
|
+
verticalLayout: 'default'
|
|
20
|
+
})));
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
// Define data
|
|
24
|
+
const data = {
|
|
25
|
+
name: chalk.white('Soumabrata Ghosh'),
|
|
26
|
+
status: chalk.white('Fullstack Developer'),
|
|
27
|
+
github: chalk.gray('https://github.com/') + chalk.cyan('Souma061'),
|
|
28
|
+
website: chalk.gray('https://') + chalk.cyan('soumabrata.dev'),
|
|
29
|
+
|
|
30
|
+
labelName: chalk.bold.green('NAME '),
|
|
31
|
+
labelStatus: chalk.bold.green('STATUS '),
|
|
32
|
+
labelGitHub: chalk.bold.green('GITHUB '),
|
|
33
|
+
labelWeb: chalk.bold.green('WEBSITE '),
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
const labels = {
|
|
37
|
+
LANGUAGES: chalk.bold.green('LANGUAGES '),
|
|
38
|
+
FRAMEWORKS: chalk.bold.green('FRAMEWORKS '),
|
|
39
|
+
TOOLS: chalk.bold.green('TOOLS ')
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
const skills = {
|
|
43
|
+
languages: chalk.white('JavaScript, Python, C++'),
|
|
44
|
+
frameworks: chalk.white('React, ' + chalk.magenta('Node.js') + ', Express, MongoDB'),
|
|
45
|
+
tools: chalk.white('Git, VS Code, Postman')
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
const main = async () => {
|
|
49
|
+
// Top kawaii line
|
|
50
|
+
console.log(chalk.gray('( ˘ ɜ˘) ཕ'));
|
|
51
|
+
|
|
52
|
+
// Huge "HI THERE!!"
|
|
53
|
+
console.log(purpleGradient(figlet.textSync('HI THERE!!', { font: 'ANSI Shadow' }))); // Big bold standard font for main title
|
|
54
|
+
|
|
55
|
+
console.log(chalk.magenta('✔ ') + 'Loading Soumabrata\'s details\n');
|
|
56
|
+
|
|
57
|
+
printHeader('PERSONAL DETAILS');
|
|
58
|
+
console.log(` ${data.labelName} - ${data.name}`);
|
|
59
|
+
console.log(` ${data.labelStatus} - ${data.status}`);
|
|
60
|
+
console.log(` ${data.labelGitHub} - btw its awesome -> (${data.github})`);
|
|
61
|
+
console.log(` ${data.labelWeb} - Coolest thing -> (${data.website})`);
|
|
62
|
+
console.log('');
|
|
63
|
+
|
|
64
|
+
printHeader('SKILLS');
|
|
65
|
+
console.log(` ${labels.LANGUAGES} - ${skills.languages}`);
|
|
66
|
+
console.log(` ${labels.FRAMEWORKS} - ${skills.frameworks}`);
|
|
67
|
+
console.log(` ${labels.TOOLS} - ${skills.tools}`);
|
|
68
|
+
console.log('');
|
|
69
|
+
|
|
70
|
+
printHeader('MESSAGE');
|
|
71
|
+
console.log(' Soumabrata is up for hire, ready to help your company get to next heights!');
|
|
72
|
+
console.log(' Thanks for checking out my cli!');
|
|
73
|
+
console.log('');
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
main();
|
package/package.json
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "soumabrata-dev",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "My npx card",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"bin": {
|
|
7
|
+
"soumabrata-dev": "index.js"
|
|
8
|
+
},
|
|
9
|
+
"scripts": {
|
|
10
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
11
|
+
},
|
|
12
|
+
"keywords": [
|
|
13
|
+
"npx",
|
|
14
|
+
"card",
|
|
15
|
+
"portfolio"
|
|
16
|
+
],
|
|
17
|
+
"author": "Soumabrata Ghosh",
|
|
18
|
+
"license": "ISC",
|
|
19
|
+
"dependencies": {
|
|
20
|
+
"boxen": "^7.1.1",
|
|
21
|
+
"chalk": "^5.3.0",
|
|
22
|
+
"clear": "^0.1.0",
|
|
23
|
+
"figlet": "^1.6.0",
|
|
24
|
+
"gradient-string": "^2.0.2"
|
|
25
|
+
},
|
|
26
|
+
"type": "module"
|
|
27
|
+
}
|