lassiecoder 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/bin/index.js +57 -0
  2. package/package.json +37 -0
package/bin/index.js ADDED
@@ -0,0 +1,57 @@
1
+ #!/usr/bin/env node
2
+
3
+ import chalk from "chalk";
4
+ import boxen from "boxen";
5
+
6
+ const options = {
7
+ width: 64,
8
+ padding: 1,
9
+ borderStyle: "single",
10
+ title: "Hey there! 👋",
11
+ borderColor: "#66FF66",
12
+ titleAlignment: "center",
13
+ };
14
+
15
+ const data = {
16
+ // LABELS
17
+ labelWork: chalk.bgHex("#008080").black.bold("Work "),
18
+ labelTwitter: chalk.bgHex("#1d9bf0").black.bold("Twitter "),
19
+ labelGitHub: chalk.bgHex("#24292e").white.bold("GitHub "),
20
+ labelLinkedIn: chalk.bgHex("#0b66c2").black.bold("LinkedIn "),
21
+ labelDev: chalk.bgHex("#A9A9A9").black.bold("Dev "),
22
+ labelWeb: chalk.bgHex("#4CAF50").black.bold("Webfolio "),
23
+ labelInstagram: chalk.bgHex("#C13584").black.bold("Instagram "),
24
+
25
+ // LABEL DESCRIPTION
26
+ twitter: chalk.gray("https://twitter.com/") + chalk.cyan("lassiecoder"),
27
+ github: chalk.gray("https://github.com/") + chalk.green("lassiecoder"),
28
+ dev: chalk.gray("https://dev.to/") + chalk.hex("#B0C4DE")("lassiecoder"),
29
+ web: chalk.yellowBright.underline("https://www.polywork.com/priyanka_s"),
30
+ instagram: chalk.gray("https://www.instagram.com/") + chalk.hex("#AB1E6B")("lassiecoder"),
31
+ linkedin: chalk.gray("https://linkedin.com/in/") + chalk.blueBright("priyanka-s-b79401142"),
32
+ work: chalk.white.bold("Currently, I am employed at ") + chalk.redBright("The Adecco Group"),
33
+ intro: chalk.white.bold("I am Priyanka Sharma, a Software Developer known by the handle ") + chalk.hex("#7B68EE")("lassiecoder") + chalk.white.bold(" across various tech platforms. My expertise lies in developing both mobile and web solutions."),
34
+ };
35
+
36
+ const newline = "\n";
37
+ const working = `${data.work}`;
38
+ const introduction = `${data.intro}`;
39
+ const devto = `${data.labelDev} ${data.dev}`;
40
+ const github = `${data.labelGitHub} ${data.github}`;
41
+ const onlinePortfolio = `${data.labelWeb} ${data.web}`;
42
+ const insta = `${data.labelInstagram} ${data.instagram}`;
43
+ const twitter = `${data.labelTwitter} ${data.twitter}`;
44
+ const linkedin = `${data.labelLinkedIn} ${data.linkedin}`;
45
+
46
+
47
+ const output =
48
+ introduction + newline + newline +
49
+ working + newline + newline +
50
+ devto + newline +
51
+ github + newline +
52
+ twitter + newline +
53
+ onlinePortfolio + newline +
54
+ insta + newline +
55
+ linkedin;
56
+
57
+ console.log(chalk.white(boxen(output, options)));
package/package.json ADDED
@@ -0,0 +1,37 @@
1
+ {
2
+ "name": "lassiecoder",
3
+ "version": "1.0.0",
4
+ "description": "Priyanka's introduction on terminal.",
5
+ "exports": "./index.js",
6
+ "bin": {
7
+ "lassiecoder": "./bin/index.js"
8
+ },
9
+ "type": "module",
10
+ "scripts": {
11
+ "build": "node bin/index.js",
12
+ "dev": "npm run build && node ./bin/card.js",
13
+ "lint": "standard"
14
+ },
15
+ "repository": {
16
+ "type": "git",
17
+ "url": "git+https://github.com/lassiecoder/npx-lassiecoder"
18
+ },
19
+ "keywords": [
20
+ "business",
21
+ "npx-card",
22
+ "npm card",
23
+ "priyankash",
24
+ "lassiecoder",
25
+ "priyanka-sharma",
26
+ "npx business card"
27
+ ],
28
+ "author": "lassiecoder",
29
+ "license": "MIT",
30
+ "files": [
31
+ "bin/index.js"
32
+ ],
33
+ "dependencies": {
34
+ "boxen": "^7.1.0",
35
+ "chalk": "^5.3.0"
36
+ }
37
+ }