Node.js (https://nodejs.org/en/) is an asynchronous, monothread web server built on Chrome's V8 JavaScript engine. It executes server-side, JavaScript-compiled code, and it is event based, like JavaScript.
The npm (https://www.npmjs.com/) manages the Node.js package ecosystem composed of open source JavaScript libraries. We will use npm using the command line and install all the node packages or modules in this way.
We can also use npm as a fast-build pipeline to develop, test, minify, and deploy our apps.
In this recipe, we will learn how to create and publish our own node package.
The installation of Visual Studio 2015 Community Edition includes the installation of Node.js, which is the IDE we will use during the processes described in this book. If, for some reason, Node.js is not installed with Visual Studio 2015, we can install it by going to the Node.js download page at https://nodejs.org/en/download/. The npm will be installed with Node.js:
![](https://static.packt-cdn.com/products/9781785886751/graphics/e48d292a-f7d6-4f1d-9df7-319b5a0b2eff.png)
We...