June 2024
Intermediate to advanced
778 pages
16h 2m
English
In this chapter, I explain the simple process of getting started with Node.js, beginning with the simple steps that are required to prepare for development. I explain how to execute JavaScript code using Node.js and then I introduce the real power in Node.js development: the Node Package Manager (npm). npm is the tool that does most of the work during development, taking responsibility for everything from downloading and installing JavaScript packages, reporting on security vulnerabilities, and running development commands. Table 2.1 summarizes the chapter.
Table 2.1: Chapter summary
|
Problem |
Solution |
Listing |
|
Execute a JavaScript file. |
Use the |
5 |
|
Initialize a project for use with ... |
Read now
Unlock full access