With the installation of the nodejs-package also came a tool called ’npm’ (Node Package Manager). We will be using this quite a bit when developing for NodeJS. For a start it helps us setting up our project properly.
Now we can let the npm-magic happen:
This will ask you for a couple of things. You should at least enter your project’s name, the current version and your name as the author. Setting the entry point to server.js
helps anyone working with your project to have this information easily accessible without having to search through all your files. The rest of the fields can be left blank for now.