dilpreetsinghverma 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/README.md +13 -0
- package/bin/card.js +83 -0
- package/package.json +31 -0
package/README.md
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# npx dilpreet
|
|
2
|
+
|
|
3
|
+
> Run `npx dilpreetsinghverma` in any terminal to see my interactive developer card.
|
|
4
|
+
|
|
5
|
+
```bash
|
|
6
|
+
npx dilpreetsinghverma
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
Built with [chalk](https://github.com/chalk/chalk), [boxen](https://github.com/sindresorhus/boxen), and [gradient-string](https://github.com/bokub/gradient-string).
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
**Dilpreet Singh Verma** · [eventfoldstudio.com](https://eventfoldstudio.com) · [GitHub](https://github.com/DilpreetSinghVerma)
|
package/bin/card.js
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
'use strict';
|
|
4
|
+
|
|
5
|
+
const chalk = require('chalk');
|
|
6
|
+
const boxen = require('boxen');
|
|
7
|
+
const gradient = require('gradient-string');
|
|
8
|
+
|
|
9
|
+
// ─── Clear screen ───────────────────────────────────────────────────────────
|
|
10
|
+
process.stdout.write('\x1Bc');
|
|
11
|
+
|
|
12
|
+
// ─── Colour palette ─────────────────────────────────────────────────────────
|
|
13
|
+
const blue = chalk.hex('#58a6ff');
|
|
14
|
+
const dblue = chalk.hex('#1f6feb');
|
|
15
|
+
const green = chalk.hex('#3fb950');
|
|
16
|
+
const orange = chalk.hex('#ff9500');
|
|
17
|
+
const purple = chalk.hex('#bc8cff');
|
|
18
|
+
const dim = chalk.dim;
|
|
19
|
+
const bold = chalk.bold;
|
|
20
|
+
const white = chalk.white;
|
|
21
|
+
|
|
22
|
+
// ─── Gradient header ─────────────────────────────────────────────────────────
|
|
23
|
+
const header = gradient(['#58a6ff', '#bc8cff', '#3fb950']).multiline(
|
|
24
|
+
` ██████╗ ██╗██╗ ██████╗ ██████╗ ███████╗███████╗████████╗
|
|
25
|
+
██╔â•â•██╗██║██║ ██╔â•â•██╗██╔â•â•██╗██╔â•â•â•â•â•██╔â•â•â•â•â•╚â•â•██╔â•â•â•
|
|
26
|
+
██║ ██║██║██║ ██████╔â•██████╔â•█████╗ █████╗ ██║
|
|
27
|
+
██║ ██║██║██║ ██╔â•â•â•╠██╔â•â•██╗██╔â•â•╠██╔â•â•╠██║
|
|
28
|
+
██████╔â•██║███████╗██║ ██║ ██║███████╗███████╗ ██║
|
|
29
|
+
╚â•â•â•â•â•╠╚â•â•╚â•â•â•â•â•â•â•╚â•╠╚â•╠╚â•â•╚â•â•â•â•â•â•â•╚â•â•â•â•â•â•╠╚â•â• `
|
|
30
|
+
);
|
|
31
|
+
|
|
32
|
+
// ─── Label helper ────────────────────────────────────────────────────────────
|
|
33
|
+
const row = (icon, label, value, color = white) =>
|
|
34
|
+
` ${icon} ${dim(label.padEnd(13))}${color(value)}`;
|
|
35
|
+
|
|
36
|
+
const divider = dim(' ' + '─'.repeat(56));
|
|
37
|
+
|
|
38
|
+
// ─── Card body ───────────────────────────────────────────────────────────────
|
|
39
|
+
const card = [
|
|
40
|
+
'',
|
|
41
|
+
` ${bold.white('Dilpreet Singh Verma')}`,
|
|
42
|
+
` ${dim('Founder · Full-Stack Builder · CS & AI/ML Student')}`,
|
|
43
|
+
'',
|
|
44
|
+
divider,
|
|
45
|
+
'',
|
|
46
|
+
row('ðŸŒ', 'Portfolio', 'dilpreet-webresume.vercel.app', blue),
|
|
47
|
+
row('🚀', 'Company', 'eventfoldstudio.com', orange),
|
|
48
|
+
row('ðŸ™', 'GitHub', 'github.com/DilpreetSinghVerma', blue),
|
|
49
|
+
row('💼', 'LinkedIn', 'in/dilpreet-singh-709b35310', blue),
|
|
50
|
+
row('📧', 'Email', 'dilpreetsinghverma@gmail.com', green),
|
|
51
|
+
row('ðŸ“', 'Location', 'Ludhiana, Punjab, India 🇮🇳', white),
|
|
52
|
+
'',
|
|
53
|
+
divider,
|
|
54
|
+
'',
|
|
55
|
+
` ${purple('▸ Building')} ${white('EventFold Studio · Kalam Notes · Jarvis AI')}`,
|
|
56
|
+
` ${green('▸ Stack')} ${white('React · Next.js · TypeScript · Firebase · Python')}`,
|
|
57
|
+
` ${orange('▸ Open to')} ${white('SWE Internships · Collaborations · Freelance')}`,
|
|
58
|
+
'',
|
|
59
|
+
divider,
|
|
60
|
+
'',
|
|
61
|
+
` ${dim('"I didn\'t wait for the right tool. I built it."')}`,
|
|
62
|
+
'',
|
|
63
|
+
].join('\n');
|
|
64
|
+
|
|
65
|
+
// ─── Render ──────────────────────────────────────────────────────────────────
|
|
66
|
+
console.log('\n' + header + '\n');
|
|
67
|
+
|
|
68
|
+
console.log(
|
|
69
|
+
boxen(card, {
|
|
70
|
+
padding: { top: 0, bottom: 0, left: 1, right: 3 },
|
|
71
|
+
margin: { top: 0, bottom: 1, left: 2, right: 2 },
|
|
72
|
+
borderStyle: 'round',
|
|
73
|
+
borderColor: '#58a6ff',
|
|
74
|
+
title: blue.bold(' 👨â€ðŸ’» Developer Card '),
|
|
75
|
+
titleAlignment: 'center',
|
|
76
|
+
})
|
|
77
|
+
);
|
|
78
|
+
|
|
79
|
+
console.log(
|
|
80
|
+
' ' + dim('Liked what you saw? ') +
|
|
81
|
+
blue('github.com/DilpreetSinghVerma') +
|
|
82
|
+
dim(' — drop a â on a repo!\n')
|
|
83
|
+
);
|
package/package.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "dilpreetsinghverma",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Dilpreet Singh Verma's interactive developer card — run 'npx dilpreetsinghverma'",
|
|
5
|
+
"bin": {
|
|
6
|
+
"dilpreetsinghverma": "bin/card.js"
|
|
7
|
+
},
|
|
8
|
+
"scripts": {
|
|
9
|
+
"start": "node bin/card.js"
|
|
10
|
+
},
|
|
11
|
+
"dependencies": {
|
|
12
|
+
"boxen": "^5.1.2",
|
|
13
|
+
"chalk": "^4.1.2",
|
|
14
|
+
"gradient-string": "^2.0.2"
|
|
15
|
+
},
|
|
16
|
+
"engines": {
|
|
17
|
+
"node": ">=12"
|
|
18
|
+
},
|
|
19
|
+
"keywords": [
|
|
20
|
+
"dilpreet",
|
|
21
|
+
"business-card",
|
|
22
|
+
"developer-card",
|
|
23
|
+
"npx-card"
|
|
24
|
+
],
|
|
25
|
+
"author": "Dilpreet Singh Verma <dilpreetsinghverma@gmail.com>",
|
|
26
|
+
"license": "MIT",
|
|
27
|
+
"repository": {
|
|
28
|
+
"type": "git",
|
|
29
|
+
"url": "https://github.com/DilpreetSinghVerma/npx-card"
|
|
30
|
+
}
|
|
31
|
+
}
|