shin-engine 1.0.11 → 1.0.12
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/ee.js +2 -16
- package/package.json +1 -1
package/bin/ee.js
CHANGED
|
@@ -6,6 +6,7 @@ const path = require("path");
|
|
|
6
6
|
const https = require("https");
|
|
7
7
|
const http = require("http");
|
|
8
8
|
const os = require("os");
|
|
9
|
+
const figlet = require("figlet");
|
|
9
10
|
|
|
10
11
|
const PKG = require(join(__dirname, "..", "package.json"));
|
|
11
12
|
const VERSION = PKG.version;
|
|
@@ -19,22 +20,7 @@ const PORT = 8080;
|
|
|
19
20
|
|
|
20
21
|
const cmd = process.argv[2];
|
|
21
22
|
|
|
22
|
-
const ASCII =
|
|
23
|
-
\x1b[0;37;40m\u2588\u2588\u2588\u2584\u2584\u2584\u2584 \u2588\u2588\u2588 \u2588\u2588\u2588 \u2588\u2588\u2588 \u2588\u2588\u2588\u2580\u2588\u2588\u2584\u2588\u2588\u2588 \x1b[0m
|
|
24
|
-
\x1b[0;37;40m \u2580\u2588\u2588\u2588\u2588\u2588\u2588\u2584 \u2588\u2588\u2588\u2580\u2580\u2580\u2588\u2588\u2588 \u2588\u2588\u2588 \u2588\u2588\u2588 \u2580\u2580\u2588\u2588\u2588 \x1b[0m
|
|
25
|
-
\x1b[0;37;40m\u2584\u2584\u2584\u2584\u2584\u2584\u2588\u2588\u2588 \u2588\u2588\u2588 \u2588\u2588\u2588 \u2588\u2588\u2588 \u2588\u2588\u2588 \u2588\u2588\u2588 \x1b[0m
|
|
26
|
-
\x1b[0;37;40m \u2580\u2580\u2580\u2580\u2580\u2580\u2580 \u2580\u2580\u2580 \u2580\u2580\u2580 \u2580\u2580\u2580 \u2580\u2580\u2580 \u2580\u2580\u2580 \x1b[0m
|
|
27
|
-
\x1b[0;37;40m\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2584 \u2584\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2584\u2584 \u2588\u2588\u2588 \u2584\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2584 \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 \x1b[0m
|
|
28
|
-
\x1b[0;37;40m\u2588\u2588\u2588 \u2580\u2588\u2588\u2588\u2588\u2588\u2580 \u2588\u2588\u2588 \u2588\u2588\u2588 \u2588\u2588\u2588 \u2588\u2588\u2588 \u2588\u2588\u2588 \u2588\u2588\u2588 \u2588\u2588\u2588 \u2588\u2588\u2588\u2580\u2588\u2588\u2584\u2588\u2588\u2588 \u2588\u2588\u2588\u2580 \u2580\u2580\u2580 \u2588\u2588\u2588 \x1b[0m
|
|
29
|
-
\x1b[0;37;40m\u2588\u2588\u2588\u2580\u2580\u2580 \u2584\u2588\u2588\u2588\u2584 \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2580 \u2588\u2588\u2588\u2580\u2580\u2580 \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588 \u2588\u2588\u2588\u2580\u2580\u2580 \u2588\u2588\u2588 \u2580\u2580\u2588\u2588\u2588 \u2588\u2588\u2588 \u2588\u2588\u2588\u2580\u2580\u2580 \x1b[0m
|
|
30
|
-
\x1b[0;37;40m\u2588\u2588\u2588\u2584\u2584\u2584\u2584\u2584 \u2584\u2588\u2588\u2588\u2580\u2588\u2588\u2588\u2584 \u2588\u2588\u2588 \u2588\u2588\u2588\u2584\u2584\u2584\u2584\u2584 \u2588\u2588\u2588 \u2588\u2588\u2588 \u2588\u2588\u2588 \u2588\u2588\u2588\u2584\u2584\u2584\u2584\u2584 \u2588\u2588\u2588 \u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2584\u2584\u2588\u2588\u2588 \u2588\u2588\u2588\u2584\u2584\u2584\u2584\u2584 \x1b[0m
|
|
31
|
-
\x1b[0;37;40m\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580 \u2580\u2580\u2580 \u2580\u2580\u2580 \u2580\u2580\u2580 \u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580 \u2580\u2580\u2580 \u2580\u2580\u2580 \u2580\u2580\u2580 \u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580 \u2580\u2580\u2580 \u2580\u2580\u2580 \u2580\u2580\u2580\u2580\u2580\u2580\u2580 \u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580 \x1b[0m
|
|
32
|
-
\x1b[0;37;40m\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2584\u2584 \u2588\u2588\u2588 \u2584\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2584 \u2588\u2588\u2588 \u2588\u2588\u2588\u2584\u2584 \u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 \x1b[0m
|
|
33
|
-
\x1b[0;37;40m\u2588\u2588\u2588 \u2588\u2588\u2588\u2580\u2588\u2588\u2584\u2588\u2588\u2588 \u2588\u2588\u2588\u2580 \u2580\u2580\u2580 \u2588\u2588\u2588 \u2588\u2588\u2588\u2580\u2588\u2588\u2584\u2588\u2588\u2588 \u2588\u2588\u2588 \x1b[0m
|
|
34
|
-
\x1b[0;37;40m\u2588\u2588\u2588\u2580\u2580\u2580 \u2588\u2588\u2588 \u2580\u2580\u2588\u2588\u2588 \u2588\u2588\u2588 \u2580\u2580\u2588\u2588\u2588\u2580 \u2588\u2588\u2588 \u2588\u2588\u2588 \u2580\u2580\u2588\u2588\u2588 \u2588\u2588\u2588\u2580\u2580\u2580 \x1b[0m
|
|
35
|
-
\x1b[0;37;40m\u2588\u2588\u2588\u2584\u2584\u2584\u2584\u2584 \u2588\u2588\u2588 \u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2584\u2584\u2588\u2588\u2588\u2588 \u2588\u2588\u2588 \u2588\u2588\u2588 \u2588\u2588\u2588 \u2588\u2588\u2588\u2584\u2584\u2584\u2584\u2584 \x1b[0m
|
|
36
|
-
\x1b[0;37;40m\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580 \u2580\u2580\u2580 \u2580\u2580\u2580 \u2580\u2580\u2580\u2580\u2580\u2580\u2580 \u2580 \u2580\u2580\u2580 \u2580\u2580\u2580 \u2580\u2580\u2580 \u2580\u2580\u2580\u2580\u2580\u2580\u2580\u2580 \x1b[0m
|
|
37
|
-
`;
|
|
23
|
+
const ASCII = figlet.textSync("SHIN EXPERIENCE\nENGINE", { font: "ANSI Shadow" });
|
|
38
24
|
|
|
39
25
|
function log(msg) { console.log(msg); }
|
|
40
26
|
function ok(msg) { console.log(` \u2713 ${msg}`); }
|