Setting up Node.js
To set up Node.js on your machine, you will need to visit the official download page at https://nodejs.org/en/download and follow the instructions for your operating system.
If you are an OS X or Linux user, you can additionally install the node version manager (nvm) following the instructions at https://github.com/creationix/nvm. This tool allows us to install multiple versions of Node.js on the same machine and to switch between them in a matter of seconds. If you are a Windows user, you will need to install https://github.com/coreybutler/nvm-windows instead.
If we want to use one of the Node.js core API modules, all we need to do is to import it. We don't need to install an additional npm module. For example, the filesystem ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access