Reputation: 85
I just added a depedency to my project and did an npm install. However, I get 20 modules in my node_modules folder. Why is this happening? I only need one module.
Upvotes: 0
Views: 58
Reputation: 12968
In NPM 3, the dependency hierarchy is flat by default, so you are probably seeing your dependency's dependencies.
Upvotes: 1