haswinmurali 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/19AEF99C-6D3D-4DF6-A5F0-E2C1777FACD6_1_201_a-ascii-art.txt +20 -0
- package/haswin.txt +30 -0
- package/index.js +36 -0
- package/package.json +9 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
⢀⣿⠚⠙⠛⠷⣶⣶⣶⣦⡴⠶⠶⠶⠶⣶⣶⣶⣶⣶⣶⣦⣮⣿⣯⣤
|
|
2
|
+
⠟⣿⠀⠀⠀⡐⠸⣿⣿⠏⢀⣼⣿⣿⣿⣿⢻⣿⡛⢁⣿⣿⣿⣿⣷⣿
|
|
3
|
+
⠀⡟⠀⠀⣠⣦⡀⣿⠃⠀⣼⣿⣿⣿⣿⣿⠛⠉⣁⣸⣻⣿⣿⣿⣿⣿
|
|
4
|
+
⠀⡇⠀⢀⣬⢋⡃⡿⠀⠤⠈⠟⠉⠈⠁⠀⠀⠈⠋⠻⠍⢻⣿⣿⣿⣿
|
|
5
|
+
⠀⡇⠀⠰⣮⣭⠁⣁⠀⠰⠀⠀⠀⠀⢀⣀⣀⣀⠀⠀⠀⠀⠘⣿⣿⣿
|
|
6
|
+
⠀⡇⠀⠀⠛⠀⠀⡀⢰⢀⣄⠀⣴⣾⣿⣿⣿⣿⣷⣶⣦⡄⠀⢹⣿⣿
|
|
7
|
+
⠀⣧⠀⠀⠀⢈⠆⠇⠠⠈⡍⢰⣿⣿⣛⠫⣿⣿⣿⣿⣿⣿⣖⡄⢿⡿
|
|
8
|
+
⠀⣯⣷⣦⣀⢨⣤⢷⣠⣤⣧⢀⡄⢸⣿⣶⣶⣿⣿⣿⣿⣿⣾⠁⢊⣠
|
|
9
|
+
⠀⣯⠭⡿⣿⣸⣿⠛⢻⣿⣿⣿⣿⡿⣟⣿⣿⣿⣿⣿⣿⣿⠁⣾⣿⣿
|
|
10
|
+
⠀⣿⣷⣿⡆⡇⣿⣠⣾⡏⣿⣿⣿⡟⣈⣭⣭⣿⣿⣿⣿⣿⣯⣿⣿⣿
|
|
11
|
+
⠀⣿⣿⣿⡧⣿⣿⣻⠩⠁⠙⣿⣿⣿⣷⠿⠿⠿⣻⣿⣿⣿⣿⢿⡿⡿
|
|
12
|
+
⠀⡿⣿⣿⣩⣿⣽⣮⡀⡀⣰⣿⣿⡟⠐⠀⢣⠘⣿⣿⣿⡿⠋⠀⠱⠗
|
|
13
|
+
⠀⠙⠉⠛⢉⡉⠻⠿⣿⣿⣿⠻⠿⠃⠀⠀⣸⣶⣿⣿⠋⠀⠀⠀⠀⠀
|
|
14
|
+
⠀⠀⠀⢀⣬⣷⣭⣷⣉⣿⣿⣦⡀⠀⠀⢸⣿⣿⠟⠃⠀⠀⠀⠀⠀⠀
|
|
15
|
+
⠀⠀⣠⠀⢉⡍⣛⠛⢿⣿⣿⣿⣿⣆⠀⠈⠟⠁⠀⠀⠀⠀⠀⠀⠀⠀
|
|
16
|
+
⠀⠀⠟⠐⠻⡟⠿⡿⢿⣿⣿⣿⣿⣿⣿⣦⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
|
17
|
+
⠀⡀⣿⣿⣿⣽⣄⣤⣾⣿⣿⣿⣿⣿⣿⣿⣷⣄⠀⠀⠀⠀⠀⠀⠀⠀
|
|
18
|
+
⢸⣿⣿⣿⣿⣾⣯⡟⠀⠉⠛⠿⣿⣿⣿⣿⣿⣿⣦⠀⠀⠀⠀⠀⠀⠀
|
|
19
|
+
⢸⣿⣿⣿⣿⣿⣿⠇⠀⠀⠀⠀⠀⠙⢿⣿⣿⣿⣿⣷⡀⠀⠀⠀⠀⠀
|
|
20
|
+
⢸⣿⣿⣿⣿⣿⡿⠀⠀⠀⠀⠀⠀⠀⠘⣿⣿⣿⣿⣿⣿⣄⠀⠀⠀⠀
|
package/haswin.txt
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
⠀⠀⡗⠲⠒⠓⠻⠿⣶⣶⣶⣶⣶⣦⣄⣀⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣤⣶⣶⣤⣭⣽⣿⡷⣁⣀
|
|
2
|
+
⣠⡿⡇⠀⠀⠀⠀⠀⠀⠙⣿⣿⣿⣟⡽⠛⠉⠀⣤⣶⣶⣶⣾⣭⡻⣿⣿⣿⣿⡿⢻⣷⣾⣿⣶⣿⣯⣽⣛⡿
|
|
3
|
+
⠛⠀⡇⠀⠀⠀⠀⠀⡸⠀⢹⣿⣿⡿⠁⠀⢠⣿⣿⣿⣿⣿⣿⣿⡏⢹⣿⣿⡉⠀⣤⣿⣿⣿⣿⣿⣿⣿⣿⣿
|
|
4
|
+
⠀⢠⡇⠀⠀⠀⠀⢠⣧⡀⠈⣿⡟⠀⠀⠀⣼⣿⣿⣿⣿⣿⣿⣿⠿⠾⠋⠉⠀⠀⠿⣿⣿⣿⣿⣿⣿⣿⣿⣿
|
|
5
|
+
⠀⢸⡇⠀⠀⠀⠰⣿⣿⣇⡆⣿⠃⠀⠀⠺⢿⣿⣿⠿⠛⡯⠛⠛⠁⠀⠀⣼⡽⢝⡿⣶⣿⣿⣿⣿⣿⣿⣿⣿
|
|
6
|
+
⠀⢸⡇⠀⢀⣀⣴⡊⢁⡤⢀⣿⠀⠀⠷⠄⠸⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠁⠁⠻⠴⠬⣛⣿⣿⣿⣿⣿⣿
|
|
7
|
+
⠀⢸⡇⠀⠀⢠⣬⣭⣭⠛⠀⠙⠀⠀⢸⠆⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠐⠃⠀⠀⠀⠀⣿⣿⣿⣿⣿
|
|
8
|
+
⠀⢸⠁⠐⡀⠈⢿⡿⠻⠀⠀⠙⠀⠀⠈⠀⠀⠀⠀⢀⣀⣴⣶⣿⣿⣿⣿⣷⣄⡀⠀⠀⠀⠀⠀⠸⣿⣿⣿⣿
|
|
9
|
+
⠀⢸⠀⠀⠀⠀⠈⠃⠈⠀⡄⡄⠀⢽⠀⣾⣠⡀⢰⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⣦⡀⠀⠀⢿⣿⣿⣿
|
|
10
|
+
⠀⢸⣤⠀⠀⠀⠀⠀⠈⡆⡀⡇⠀⡄⡀⢛⡓⠀⣾⣿⣿⣿⠟⢟⣩⣿⣿⣿⣿⣿⣿⣿⣟⣵⡶⢆⠀⣿⣿⣿
|
|
11
|
+
⠀⢸⢻⡄⡀⠀⠀⠀⢰⠃⠁⣇⠈⠁⠀⣸⠀⠀⠟⠛⢻⣷⣾⡅⠙⠛⣯⣿⣿⣿⣿⣿⣿⣿⣻⣾⠀⣨⠏⠉
|
|
12
|
+
⠀⢸⣖⣷⣿⣶⣤⡄⢸⣶⣶⣿⣇⣶⣦⣿⣆⢀⣶⠄⢸⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣽⣿⠃⠀⢁⣤⣤
|
|
13
|
+
⠀⢸⣉⣉⣙⣟⣿⡇⢾⣿⡿⡿⢿⣿⣿⢟⣷⣿⣿⣷⣿⣿⠿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠃⢠⣿⣿⣿⣿
|
|
14
|
+
⠀⢸⣽⣄⣻⣇⣛⠁⡟⢿⡇⠀⠀⣿⣿⢿⣿⠿⣿⣿⣷⣜⣻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡀⣾⣿⣿⣿⣿
|
|
15
|
+
⠀⢸⣿⣿⣿⣿⣿⠀⡇⣾⣟⣦⣾⣿⣇⠸⣿⣿⣿⣿⣏⢉⣤⣴⣶⣶⣿⣿⣿⣿⣿⣿⣿⣿⣷⣿⣾⣿⣿⢿
|
|
16
|
+
⠀⢸⣿⣿⣿⣿⣿⢰⣿⣿⡿⢟⠍⡉⠉⠉⢻⣿⣿⣿⣿⣿⣶⣿⣿⣿⣿⣿⠿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣽⢾
|
|
17
|
+
⠀⢸⢹⣿⣿⣿⡏⢼⢿⡿⣗⢸⠀⠀⠀⠀⢸⣿⣿⣿⣿⡏⠉⠀⢈⡁⠀⣴⣿⣿⣿⣿⣿⣿⡿⠉⠙⣞⢫⠦
|
|
18
|
+
⠀⢸⢺⢿⣿⣿⣅⣼⣿⣧⣿⣶⣦⠀⡀⢠⣼⣿⣿⣿⡟⠀⠈⠀⠈⢸⠀⢹⣿⣿⣿⣿⣿⠟⠀⠀⠀⠈⠛⠉
|
|
19
|
+
⠀⠈⢺⠚⠻⠿⠁⢟⠛⠻⣿⣿⣿⣿⣿⣿⣿⢿⣿⣿⠧⠀⠀⠀⠀⢸⣤⣬⣿⣿⣿⡟⠁⠀⠀⠀⠀⠀⠀⠀
|
|
20
|
+
⠀⠀⠰⠤⠴⠀⠀⣗⠶⠠⣶⣍⠻⣿⣿⣿⣿⠀⠀⠀⠀⠀⠀⢀⣶⣾⣿⣿⣿⣿⠏⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
|
21
|
+
⠀⠀⠠⠄⠀⢀⣴⣾⣿⣷⣾⣿⣦⣨⣿⣿⣿⣿⣆⠀⠀⠀⠀⠀⣿⣿⣿⡿⠋⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
|
22
|
+
⠀⠀⠀⢀⣄⠈⠛⢛⡛⢻⡿⣿⣿⣿⣿⣿⣿⣿⣿⣷⣄⠀⠀⠀⢿⡿⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
|
23
|
+
⠀⠀⠀⣸⣏⢀⣴⣾⣶⣾⣶⣦⣤⣿⣿⣿⣿⣿⣿⣿⣿⣷⣄⠀⠈⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
|
24
|
+
⠀⠀⠀⠟⢀⠀⠛⢻⡟⠛⢿⡿⠿⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⣄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
|
25
|
+
⠀⠀⠀⣿⣿⣿⣿⣿⣹⣆⠀⣀⣤⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⣄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
|
26
|
+
⠀⣶⡆⣿⣿⡿⣿⣿⣹⣿⣿⣿⠿⠿⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣦⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
|
27
|
+
⠀⣿⣷⣽⣿⣿⣿⣿⣿⣿⣾⡟⠀⠀⠀⠉⠙⠻⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
|
28
|
+
⠀⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠇⠀⠀⠀⠀⠀⠀⠀⠈⠙⣿⣿⣿⣿⣿⣿⣿⣿⣿⣄⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
|
29
|
+
⢸⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⢿⣿⣿⣿⣿⣿⣿⣿⣿⣦⠀⠀⠀⠀⠀⠀⠀⠀
|
|
30
|
+
⠀⣿⣿⣯⣿⣯⣿⣿⣿⣿⠇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⢿⣿⣿⣿⣿⣿⣿⣿⣿⣷⡀⠀⠀⠀⠀⠀⠀
|
package/index.js
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import fs from "fs";
|
|
3
|
+
import path from "path";
|
|
4
|
+
|
|
5
|
+
// --------- CONFIG ---------
|
|
6
|
+
const artFile = path.join(process.cwd(), "haswin.txt"); // colored ASCII file
|
|
7
|
+
const textLines = [
|
|
8
|
+
"Hi, I'm Haswin 👋",
|
|
9
|
+
"I build terminal projects.",
|
|
10
|
+
"GitHub: https://github.com/yourname",
|
|
11
|
+
"Twitter: https://twitter.com/yourname",
|
|
12
|
+
];
|
|
13
|
+
// ---------------------------
|
|
14
|
+
|
|
15
|
+
// Read the ASCII art
|
|
16
|
+
let art;
|
|
17
|
+
try {
|
|
18
|
+
art = fs.readFileSync(artFile, "utf8").split("\n");
|
|
19
|
+
} catch (err) {
|
|
20
|
+
console.error("Error: ASCII art file not found!");
|
|
21
|
+
process.exit(1);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
// Prepare text lines for right side
|
|
25
|
+
const maxArtLines = art.length;
|
|
26
|
+
const paddedText = [...textLines];
|
|
27
|
+
while (paddedText.length < maxArtLines) paddedText.push("");
|
|
28
|
+
|
|
29
|
+
// Print side by side
|
|
30
|
+
for (let i = 0; i < maxArtLines; i++) {
|
|
31
|
+
const left = art[i] || "";
|
|
32
|
+
const right = paddedText[i] || "";
|
|
33
|
+
// Adjust spacing between art and text
|
|
34
|
+
const spacing = " ".repeat(5);
|
|
35
|
+
console.log(left + spacing + right);
|
|
36
|
+
}
|