Is package.json supposed to be manually edited? Couldn\'t a program like npm just look through the files, see the \"require\" statements, and then use that to put the necess
use command npm init -f to generate package.json file and after that use --save after each command so that each module will automatically get updated inside your package.json
for ex: npm install express --save