concept package in category javascript

appears as: packages, package, packages, package
JavaScript Application Design: A Build First Approach

This is an excerpt from Manning's book JavaScript Application Design: A Build First Approach.

You’ll need to take one additional step, which is creating a package.json manifest file. These files describe Node projects. They indicate a list of packages the project depends upon, as well as metadata such as the project name, version, description, and homepage. For Grunt to work in your project, you need to add it as a development dependency in your package.json. It should be a development dependency because you won’t use Grunt anywhere other than your local development environment. You can create a bare minimum package.json file containing the following JSON code, and you should place it in your project root directory:

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!