September 2018
Intermediate to advanced
764 pages
20h 6m
English
For Node.js projects, the settings and configurations are stored inside a file named package.json, located at the root of the repository. The npm CLI tool provides a npm init command, which will initiate a mini-wizard that helps you compose your package.json file. So, inside our project directory, run npm init to initiate the wizard.
The wizard will ask you a series of questions, but also provides sensible defaults. Let's go through each question one by one:
Read now
Unlock full access