I have installed node.js and I have created with npm init -f my very first module.
In created package.json file I see "main": "index.js", which should be starting point of my application. So in same folder I have created this file and I have putted there console.log('test')
The problem is that I don't know how to run it without declaring "scripts": { "start": "node index.js" }
Should I always have scripts section. Because I'm missing why there is entry point of application when I have to use scripts section anyway.
Thanks