Table of Contents

About

package Dependency in Node.

Dependency are declared/added in package.json:

Type of dependency relationship

Management

Installation of all dependencies

It will get the dependency from the package.json file

Installation of all dependency of a cloned project.

  • for dev
git clone url
yarn install
# or
npm install
npm ci

Add a dependency to your project

See:

Exclude

To not include a dependency, you need to declare it as peerDependency