devdeep-singh 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 +22 -0
- package/package.json +17 -0
package/index.js
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
import chalk from 'chalk';
|
|
4
|
+
import boxen from 'boxen';
|
|
5
|
+
|
|
6
|
+
const card = [
|
|
7
|
+
chalk.bold.white('Devdeep Singh'),
|
|
8
|
+
chalk.gray('Software Development Engineer'),
|
|
9
|
+
'',
|
|
10
|
+
chalk.dim('GitHub ') + chalk.cyan('https://www.github.com/Dsr-code'),
|
|
11
|
+
chalk.dim('LinkedIn') + chalk.cyan('https://www.linkedin.com/in/devdeep-singh-dsr2003/'),
|
|
12
|
+
].join('\n');
|
|
13
|
+
|
|
14
|
+
const output = boxen(card, {
|
|
15
|
+
padding: 1,
|
|
16
|
+
margin: 1,
|
|
17
|
+
borderStyle: 'round',
|
|
18
|
+
borderColor: 'gray',
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
console.log(output);
|
|
22
|
+
console.log(chalk.dim(' Say hello anytime!\n'));
|
package/package.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "devdeep-singh",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "My CLI Card",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"bin": {
|
|
8
|
+
"devdeep-singh": "index.js"
|
|
9
|
+
},
|
|
10
|
+
"keywords": [],
|
|
11
|
+
"author": "Devdeep Singh",
|
|
12
|
+
"license": "MIT",
|
|
13
|
+
"dependencies": {
|
|
14
|
+
"boxen": "^8.0.1",
|
|
15
|
+
"chalk": "^5.6.2"
|
|
16
|
+
}
|
|
17
|
+
}
|