techeverri 1.0.1 → 1.1.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/bin/card +16 -17
- package/bin/cli.js +4 -1
- package/package.json +1 -1
package/bin/card
CHANGED
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
[32m[39m
|
|
1
|
+
|
|
2
|
+
┌─────────────────────────────────────────────────────┐
|
|
3
|
+
│ │
|
|
4
|
+
│ Tomas Echeverri / techeverri │
|
|
5
|
+
│ Made in Colombia. Living in Sweden. │
|
|
6
|
+
│ │
|
|
7
|
+
│ Work: Software Engineer │
|
|
8
|
+
│ Twitter: https://twitter.com/TomasEcheverri │
|
|
9
|
+
│ GitHub: https://github.com/techeverri │
|
|
10
|
+
│ npm: https://www.npmjs.com/~techeverri │
|
|
11
|
+
│ LinkedIn: https://www.linkedin.com/in/tomechval │
|
|
12
|
+
│ Website: https://techeverri.dev │
|
|
13
|
+
│ │
|
|
14
|
+
│ Card: npx techeverri │
|
|
15
|
+
│ │
|
|
16
|
+
└─────────────────────────────────────────────────────┘
|
package/bin/cli.js
CHANGED
|
@@ -2,12 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
import fs from "fs";
|
|
4
4
|
import path from "path";
|
|
5
|
+
import url from "url";
|
|
5
6
|
|
|
6
7
|
const options = {
|
|
7
8
|
encoding: "utf8",
|
|
8
9
|
flag: "r",
|
|
9
10
|
};
|
|
10
11
|
|
|
11
|
-
const
|
|
12
|
+
const __dirname = path.dirname(url.fileURLToPath(import.meta.url));
|
|
13
|
+
|
|
14
|
+
const card = fs.readFileSync(path.join(__dirname, "card"), options);
|
|
12
15
|
|
|
13
16
|
console.log(card);
|