Node and npm

Get familiar with Node and npm.

We'll cover the following...

Installing Node and npm

The JavaScript landscape has changed dramatically in the last eight years, and nothing bears as much responsibility for those changes as Node.js (“Node” for short). JavaScript was created at Netscape in 1995 to run in one specific place: the browser. Since then, server-side JavaScript has been attempted in various forms but without much success. Node changed all that. Today, JavaScript powers millions of servers, rivals Ruby and Python in popularity as a scripting language, and lies at the core of many rich desktop apps. For example, VS Code, which is a full-featured editor you’ll meet in the next chapter. Thanks to Node, JavaScript is everywhere.

Check if you have Node installed by running node -v:

$ node
...
Access this course and 1400+ top-rated courses and projects.