O'Reilly logo

Hands-On Microservices with Node.js by Diogo Resende

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Node.js Package Manager

The huge number of modules available today makes it easy to start developing any kind of application or service, and npm ensures you're able to deploy your code in other servers easily. In fact, npm is also one of the advantages of Node.js and is also responsible for its spread.

# look how fast it checks dependencies (infinite levels), downloads them# and installs them locally$ npm i express+ express@4.16.2added 48 packages in 3.129s

There has always been some criticism about using Node.js, with people considering it slow and inefficient for some tasks. Some usually point to the fact that the code is single-threaded, but forget that the core API, which is your only way of communicating over the network or with the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required