DEV Community

Discussion on: why does NPM install extra modules?

Collapse
 
joshualjohnson profile image
Joshua Johnson

Node installs all modules required by any modules you depend on. In the case of express. It has a number of modules that have to be pulled in to properly run.

Collapse
 
salahhamza profile image
Hamza

Yes, so it seems! Cause I was wondering what are all these modules, am I doing something wrong, turns out npm installed what it's supposed to.
And that's why I love programming I learn something new every time I ask a question.
Thank you Joshua