January 2018
Beginner
658 pages
13h 10m
English
In order to get started, we will make a directory to store our code for this chapter. We'll make one on the desktop using mkdir and we'll call this directory node-tests:
mkdir node-tests
Then we'll change directory inside it using cd, so we can go ahead and run npm init. We'll be installing modules and this will require a package.json file:
cd node-testsnpm init

We'll run npm init using the default values for everything, simply hitting enter throughout every single step:

Now once that package.json file is generated, ...