I am running command as npm list and I get below mentioned list as my dependencies and I want to know what is meaning of deduped please let me know meaning of this.
相关问题
- npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fs
- google-drive can't get push notifications
- Failed at the electron@1.8.2 postinstall script
- How to reimport module with ES6 import
- Webpack getting started, import error
相关文章
- node连接远程oracle报错
- How can make folder with Firebase Cloud Functions
- @angular-cli install fails with deprecated request
- node.js modify file data stream?
- How to resolve hostname to an ip address in node j
- Transactionally writing files in Node.js
- Log to node console or debug during webpack build
- Get file created date in node
deduped
is short for "deduplicated" (duplicates were removed). The documentation fornpm dedupe
explains hownpm
does this:In other words, it looks if multiple packages have the same dependencies (meaning the same packages and version range) and "points" them to the same package.
The same package is referenced, so it doesn't have to be installed twice.
Also, it moves the packages "up the tree" (flattens the tree). This makes total sense as otherwise one package would have to look in the
node_modules
of some other package (which would be kind of messy) and helps to simplify the dependencies.You can validate this, as every package in your dependency graph that says
deduped
, can be found at least one more time in the graph, usually at a higher level.In the screenshot you posted
content-type@1.0.4
is a dependency ofbody-parser
. A bit further down, it's also listed as a direct dependency of express one level higher.