Skip to Main Content
Professional JavaScript
book

Professional JavaScript

by Hugo Di Francesco, Siyuan Gao, Vinicius Isola, Philip Kirkbride
September 2019
Intermediate to advanced content levelIntermediate to advanced
664 pages
11h 42m
English
Packt Publishing
Content preview from Professional JavaScript

Chapter 2

Node.js and npm

Learning Objectives

By the end of this chapter, you will be able to:

  • Install and use Node.js to build applications
  • Run JavaScript code using the Node.js execution environment
  • Install and manage multiple Node.js versions using nvm
  • Identify and use modules developed by other developers using npm
  • Create and configure your own npm package

In this chapter, we will switch gears to the backend world by learning about Node.js and the basic concepts around it. We will go through how to install and manage multiple versions of Node.js using nvm, and then we will learn about npm and how to find and use external modules.

Introduction

In the previous chapter, we learned about how HTML becomes the DOM and how to use JavaScript ...

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.
Start your free trial

You might also like

Professional JavaScript for Web Developers, 4th Edition

Professional JavaScript for Web Developers, 4th Edition

Matt Frisbie
Speaking JavaScript

Speaking JavaScript

Axel Rauschmayer
JavaScript

JavaScript

T. J. Crowder

Publisher Resources

ISBN: 9781838820213Other