-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.js
executable file
·42 lines (36 loc) · 1.29 KB
/
index.js
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
31
32
33
34
35
36
37
38
39
40
41
42
#!/usr/bin/env node
const {
white, green, bold,
yellow, cyan, bgBlueBright
} = require('colorette');
const boxen = require('boxen');
const work = white(`${yellow("Ferudinato")} - ${cyan(`Frontend Web Developer`)}`);
const twitter = green("https://twitter.com/ferdr0id8o8o");
const twitch = green("https://twitch.tv/ferdroid8080");
const github = green("https://github.com/ferdroid8080");
const site = green("https://ferudinato.com");
const npx = green("npx ferdroid8080");
const newline = "\n";
const headline = ` ${bgBlueBright(bold(`${yellow(" Ferdroid8080")} - ${white("Andres Fernando ")}`))} 👨🏻💻`;
const workLine = `${white(bold(" Work at:"))} ${work}`;
const twitterLine = `${white(bold(" Tweet me:"))} ${twitter}`;
const twitchLine = `${white(bold(" Streaming on:"))} ${twitch}`;
const githubLine = `${white(bold(" GitHub:"))} ${github}`;
const webLine = `${white(bold(" Website:"))} ${site}`;
const card = `${white(bold(" This card:"))} ${npx} 👀`;
const output = `${headline}
${newline}
${workLine}
${twitterLine}
${twitchLine}
${githubLine}
${webLine}
${newline}
${card}
`;
console.log(boxen(output, {
padding: 1,
borderColor: 'green',
borderStyle: 'round',
margin: 0.6
}));