Back-End Code Sharing and Distribution: npm

npm is the "node package manager". It installs with NodeJS, and gives you access to a wide variety of 3rd-party JavaScript modules.

It also performs dependency management for your back-end application. You specify module dependencies in a file called package.json; running npm install will resolve, download and install your back-end application's dependencies.

原文: https://angular-2-training-book.rangle.io/handout/tooling/back_end_code_sharing_and_distribution.html