NodeJS generate package.json

If you have a node application with manually installed dependencies (using npm-install), you may want to generate a package.json file. Luckily there is a simple command for this, simply run

npm init

and follow the prompts.