Skip to content

Commit b57a077

Browse files
author
gsagar
committed
Node starter
1 parent 8fe74ad commit b57a077

4 files changed

Lines changed: 51 additions & 1 deletion

File tree

‎.gitignore‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,4 +85,6 @@ modules.xml
8585

8686
# End of https://www.gitignore.io/api/jetbrains+all
8787

88-
.idea/
88+
.idea/
89+
90+
node_modules/
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
"use strict";
2+
3+
const superhero = require('superheroes');
4+
5+
console.log(superhero.random());

‎[06] NodeJS/[01] Node Project/package-lock.json‎

Lines changed: 29 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"name": "node-intro",
3+
"version": "1.0.0",
4+
"description": "Basic Introduction To NodeJS and NPM",
5+
"main": "index.js",
6+
"scripts": {
7+
"test": "node test"
8+
},
9+
"author": "Sagar Giri",
10+
"license": "MIT",
11+
"dependencies": {
12+
"superheroes": "^2.0.0"
13+
}
14+
}

0 commit comments

Comments
 (0)