logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Dedupe NPM Packages - Reduce Node Modules Duplicates | Online Free DevTools by Hexmos

Reduce NPM package duplicates with npm-dedupe. Optimize your node_modules directory and shrink bundle sizes. Free online tool, no registration required.

npm-dedupe

Reduce duplication in the node_modules directory. More information: https://docs.npmjs.com/cli/npm-dedupe.

  • Deduplicate packages in node_modules:

npm {{[ddp|dedupe]}}

  • Follow package-lock.json or npm-shrinkwrap.json during deduplication:

npm {{[ddp|dedupe]}} --lock

  • Run deduplication in strict mode:

npm {{[ddp|dedupe]}} --strict

  • Skip optional/peer dependencies during deduplication:

npm {{[ddp|dedupe]}} --omit {{optional|peer}}

  • Enable detailed logging for troubleshooting:

npm {{[ddp|dedupe]}} --loglevel verbose

  • Limit deduplication to a specific package:

npm {{[ddp|dedupe]}} {{package_name}}

See Also