3 ms·
"Modules" refers to individual source files, not npm packages. A single npm package can contain many source files, each of which is a separate CommonJS module.
by jahewson 10y ago
"Modules" refers to individual source files, not npm packages. A single npm package can contain many source files, each of which is a separate CommonJS module.
Most npm modules are small, so I'd expect in the average case that the majority of modules are actually your own app code.