Dependency

A dependency is an external library or package that a project needs in order to work. Dependencies are usually installed and tracked by a package manager.

General Programming

Projects list their dependencies in a file (such as package.json for Node.js or requirements.txt for Python) so anyone can install the exact set needed to run the code.

Examples

Pseudocode

# Node.js
npm install express

# Python
pip install requests

Output:

Express and Requests are added as dependencies.

See also

Back to the Dictionary