codercraftz 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 +33 -0
  2. package/package.json +13 -0
package/card.js ADDED
@@ -0,0 +1,33 @@
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
+
10
+ const card = boxen(
11
+ [
12
+ green.bold("Aibek Jumabek"),
13
+ dim("Software Engineer & Content Creator"),
14
+ "",
15
+ `${dim("web")} ${white("codercraftz.com")}`,
16
+ `${dim("email")} ${white("aibek [at] codercraftz [dot] com")}`,
17
+ `${dim("github")} ${white("github.com/codercraftz")}`,
18
+ `${dim("x")} ${white("x.com/codercraftz")}`,
19
+ `${dim("youtube")} ${white("youtube.com/@codercraftz")}`,
20
+ "",
21
+ dim("The craft is the way."),
22
+ ].join("\n"),
23
+ {
24
+ padding: 1,
25
+ margin: 1,
26
+ borderStyle: "single",
27
+ borderColor: "#39FF14",
28
+ title: green("$ npx codercraftz"),
29
+ titleAlignment: "left",
30
+ }
31
+ );
32
+
33
+ console.log(card);
package/package.json ADDED
@@ -0,0 +1,13 @@
1
+ {
2
+ "name": "codercraftz",
3
+ "version": "1.0.0",
4
+ "description": "Aibek Jumabek's npx card",
5
+ "type": "module",
6
+ "bin": {
7
+ "codercraftz": "./card.js"
8
+ },
9
+ "dependencies": {
10
+ "boxen": "^8.0.1",
11
+ "chalk": "^5.4.1"
12
+ }
13
+ }