Would like to understand, how npm handles installation of duplicate packages with same version.
- Does it ignore, if the same package - same version installed already?
- Does it install/overwrite again the same package?
For eg:
- Package A is dependent on package B and package C.
- Where Packages B and C are dependent on common package D version 1.0
so while running npm install will it try to install package D twice or only once and will ignore second occurrence as its already present in node_modules?