devnithin 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/README.md +1 -0
- package/index.js +37 -0
- package/package.json +24 -0
package/README.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# nithin_npm_package
|
package/index.js
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
import chalk from "chalk";
|
|
4
|
+
import boxen from "boxen";
|
|
5
|
+
|
|
6
|
+
const data = {
|
|
7
|
+
name: "KS Nithin",
|
|
8
|
+
role: "Full Stack Developer | Backend | AI-curious",
|
|
9
|
+
github: "https://github.com/ks-nithin",
|
|
10
|
+
linkedin: "https://linkedin.com/in/ks-nithin",
|
|
11
|
+
portfolio: "https://ks-nithin.vercel.app",
|
|
12
|
+
tech: "C++, JavaScript, React, Node.js, MongoDB",
|
|
13
|
+
card: "npx ks_nithin"
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
const content = `
|
|
17
|
+
${chalk.bold.white(data.name)}
|
|
18
|
+
${chalk.gray(data.role)}
|
|
19
|
+
|
|
20
|
+
${chalk.bold("GitHub:")} ${chalk.cyan(data.github)}
|
|
21
|
+
${chalk.bold("LinkedIn:")} ${chalk.cyan(data.linkedin)}
|
|
22
|
+
${chalk.bold("Portfolio:")} ${chalk.cyan(data.portfolio)}
|
|
23
|
+
|
|
24
|
+
${chalk.bold("Tech Stack:")}
|
|
25
|
+
${chalk.white(data.tech)}
|
|
26
|
+
|
|
27
|
+
${chalk.bold("Card:")} ${chalk.green(data.card)}
|
|
28
|
+
`;
|
|
29
|
+
|
|
30
|
+
const box = boxen(content, {
|
|
31
|
+
padding: 1,
|
|
32
|
+
margin: 1,
|
|
33
|
+
borderStyle: "round",
|
|
34
|
+
borderColor: "cyan"
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
console.log(box);
|
package/package.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "devnithin",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "This is a package that describes nithin work and his portfolio ",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
9
|
+
},
|
|
10
|
+
"repository": {
|
|
11
|
+
"type": "git",
|
|
12
|
+
"url": "git+https://github.com/Nithin0620/nithin_npm_package.git"
|
|
13
|
+
},
|
|
14
|
+
"author": "nithin",
|
|
15
|
+
"license": "ISC",
|
|
16
|
+
"bugs": {
|
|
17
|
+
"url": "https://github.com/Nithin0620/nithin_npm_package/issues"
|
|
18
|
+
},
|
|
19
|
+
"homepage": "https://github.com/Nithin0620/nithin_npm_package#readme",
|
|
20
|
+
"dependencies": {
|
|
21
|
+
"boxen": "^8.0.1",
|
|
22
|
+
"chalk": "^5.6.2"
|
|
23
|
+
}
|
|
24
|
+
}
|