Appendix A. Modules in Node.js
This appendix covers things you need to know about modules and Node.js to use both effectively in your Grunt builds. Node.js is a platform built on top of the V8 JavaScript engine, the same engine that makes JavaScript in Google Chrome a reality. Grunt, the build tool you use in this book, runs on Node. Node is single threaded, as all JavaScript is.
Node comes with a nice little companion command-line interface (CLI) utility called npm, which is used to fetch and install packages from the node-packaged modules registry. Throughout the book, you’ll learn how to use the npm tool as needed. Let’s install Node.js first, since npm comes bundled with it!
A.1. Installing Node.js
You have a few options for installing ...
Get JavaScript Application Design now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.