Dependency

noun

say it: “dih-PEN-dun-see” /dɪˈpɛndənsi/

A package someone else wrote that your project needs in order to work, listed in package.json so it can be installed again on any computer.

What is Dependency in JavaScript?

Dependency — External code that a project needs to compile or run.

In a sentence

  • “Before adding a new dependency, I checked how big it was and when it was last updated.”
  • “The bike shop page has one dependency, a small library that formats prices as dollars.”

Level: Journeyman · More JavaScript terms at this level

Updated

In other subjects