npm-dedupe.md
Command execution help instruction
SHA-2561d0b4e0a5d32ab0a573609bc16463e498fcb05642c4f0ac03bdf635bbc31c637
MaleculeH(U)
Evidence
2:17… e
3section: 1
4description: Reduce duplication in the package tree
5---
6
⋯4 lines
11### Description
12
13Searches the local package tree and attempts to simplify the overall
14structure by moving dependencies further up the tree, where th …
15:13… ctively shared by multiple dependent packages.
16
17For example, consider this dependency graph:
18
19```
⋯4 lines
37:67… root
38level of the tree.
39
40In some cases, you may have a dependency graph like this:
41
42```
⋯4 lines
63:21… d. Dedupe always acts on the entire tree.
64
65Note that this operation transforms the dependency tree, but will never
66result in new modules being installed.
67
68Using `npm find-dupes` will run the command in `--dry-run` mode.
69
70Note: `npm dedupe` will never update the semver values of direct
71dependencies in your project `package.js …