Node Module
Noun · Development
Definitions
A reusable unit of JavaScript code in the Node.js ecosystem — either a single file or a directory with a package.json — that can be loaded via `require()` or `import`. Installed dependencies live in the `node_modules` directory, which is notorious for its depth and disk usage.
In plain English: A chunk of reusable JavaScript code that your project can pull in as a dependency, stored in a folder that tends to grow very large.
Example: "Our node_modules folder is 1.2 GB and contains four different versions of lodash — welcome to JavaScript."