jumabek 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.
Files changed (2) hide show
  1. package/card.js +38 -0
  2. package/package.json +13 -0
package/card.js ADDED
@@ -0,0 +1,38 @@
1
+ #!/usr/bin/env node
2
+
3
+ import chalk from "chalk";
4
+ import boxen from "boxen";
5
+
6
+ const green = chalk.hex("#39FF14");
7
+ const dim = chalk.hex("#d6d6d6").dim;
8
+ const white = chalk.hex("#d6d6d6");
9
+ const divider = dim("─".repeat(40));
10
+
11
+ const card = boxen(
12
+ [
13
+ green.bold("Aibek Jumabek"),
14
+ white("Software Engineer"),
15
+ "",
16
+ divider,
17
+ "",
18
+ `${dim("LinkedIn")} ${white("linkedin.com/in/aibekjumabek")}`,
19
+ `${dim("Twitter")} ${white("twitter.com/aibekjumabek")}`,
20
+ `${dim("Github")} ${white("github.com/aibekjumabek")}`,
21
+ `${dim("Email")} ${white("aibek@jumabek.com")}`,
22
+ `${dim("Web")} ${white("aibekjumabek.com")}`,
23
+ "",
24
+ divider,
25
+ "",
26
+ `${white("Run ")}${green("npx jumabek")}${white(" anytime to see this card")}`,
27
+ ].join("\n"),
28
+ {
29
+ padding: 1,
30
+ margin: 1,
31
+ borderStyle: "single",
32
+ borderColor: "#39FF14",
33
+ title: green("$ npx jumabek"),
34
+ titleAlignment: "left",
35
+ }
36
+ );
37
+
38
+ console.log(card);
package/package.json ADDED
@@ -0,0 +1,13 @@
1
+ {
2
+ "name": "jumabek",
3
+ "version": "1.0.0",
4
+ "description": "Aibek Jumabek's npx card",
5
+ "type": "module",
6
+ "bin": {
7
+ "jumabek": "card.js"
8
+ },
9
+ "dependencies": {
10
+ "boxen": "^8.0.1",
11
+ "chalk": "^5.4.1"
12
+ }
13
+ }