Crates.io | nodedup |
lib.rs | nodedup |
version | 2.0.1 |
source | src |
created_at | 2024-06-21 16:56:48.280444 |
updated_at | 2024-08-19 10:07:10.441056 |
description | Find duplicate JS dependencies in a given folder |
homepage | |
repository | |
max_upload_size | |
id | 1279700 |
size | 42,156 |
NoDEdup is a CLI tool designed to help you identify duplicate JavaScript dependencies in your project. It scans all package.json files within the specified folder, pinpointing any dependencies or devDependencies that exist in multiple versions, helping you streamline your project's dependency tree.
cargo install nodedup
Usage: nodedup [OPTIONS] --folder <FOLDER>
Options:
-f, --folder <FOLDER> Folder to scan
-o, --output <OUTPUT> Output format. Possible values: 'default', 'short', 'full' [default: default]
-s, --silent Exit with zero code when duplicates are found
-c, --color Color important output
-h, --help Print help
-V, --version Print version
You can create .ndignore
file in the root of your project to ignore specific dependencies. Each line in the file
should
be a dependency name.
Ignoring dependencies is useful when you have a dependency that you know is duplicated but you don't want to remove it.
lodash
react