File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed
Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ # npm find-dupes
2+
3+ > Identify duplicate dependencies in ` node_modules ` .
4+ > More information: < https://docs.npmjs.com/cli/commands/npm-find-dupes > .
5+
6+ - List all duplicate packages within ` node_modules ` :
7+
8+ ` npm find-dupes `
9+
10+ - Include ` devDependencies ` in duplicate detection:
11+
12+ ` npm find-dupes --include=dev `
13+
14+ - List all duplicate instances of a specific package in ` node-modules ` :
15+
16+ ` npm find-dupes {{package_name}} `
17+
18+ - Exclude optional dependencies from duplicate detection:
19+
20+ ` npm find-dupes --omit=optional `
21+
22+ - Set the logging level for output:
23+
24+ ` npm find-dupes --loglevel={{silent|error|warn|info|verbose}} `
25+
26+ - Output duplicate information in JSON format:
27+
28+ ` npm find-dupes --json `
29+
30+ - Limit duplicate search to specific scopes:
31+
32+ ` npm find-dupes --scope={{@scope1,@scope2}} `
33+
34+ - Exclude specific scopes from duplicate detection:
35+
36+ ` npm find-dupes --omit-scope={{@scope1,@scope2}} `
You can’t perform that action at this time.
0 commit comments