
上QQ阅读APP看书,第一时间看更新
Using and creating npm modules
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.