This commit is contained in:
Henrik Bygren 2023-08-28 19:47:46 +02:00
commit db3b3cb359
4 changed files with 55 additions and 0 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
node_modules

9
index.mjs Normal file
View File

@ -0,0 +1,9 @@
import { upperCase } from "upper-case";
const x = 12
const y = 10
let sum = x + y
console.log(upperCase("Summering"))
console.log(x + " + " + y + " = " + sum)

29
package-lock.json generated Normal file
View File

@ -0,0 +1,29 @@
{
"name": "nodetest",
"version": "1.0.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "nodetest",
"version": "1.0.0",
"license": "ISC",
"dependencies": {
"upper-case": "^2.0.2"
}
},
"node_modules/tslib": {
"version": "2.6.2",
"resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz",
"integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q=="
},
"node_modules/upper-case": {
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/upper-case/-/upper-case-2.0.2.tgz",
"integrity": "sha512-KgdgDGJt2TpuwBUIjgG6lzw2GWFRCW9Qkfkiv0DxqHHLYJHmtmdUIKcZd8rHgFSjopVTlw6ggzCm1b8MFQwikg==",
"dependencies": {
"tslib": "^2.0.3"
}
}
}
}

15
package.json Normal file
View File

@ -0,0 +1,15 @@
{
"name": "nodetest",
"version": "1.0.0",
"description": "Test",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"dev": "node index.mjs"
},
"author": "Henrik Bygren",
"license": "ISC",
"dependencies": {
"upper-case": "^2.0.2"
}
}