To initialize a Node.js project locally,

npm init -y

Screenshot 2024-08-24 at 6.22.45 PM.png

let firstName = "Harkirat Singh"
console.log(firstName)
node index.js
  "scripts": {
    "start": "node index.js"
  },