yarn-duplicate
v0.1.4
Published
A small tool to help you check duplicate package and package size in `yarn.lock`.
Downloads
21
Readme
Yarn Duplicate
A small tool to help you check duplicate package and package size in yarn.lock
.
Usage
- Change to your project root folder, which have a
yarn.lock
file. npx yarn-duplicate
That's all!
PS: If you don't have npx
installed, use:
npm install -g yarn-duplicate
yarn-duplicate
Caveats
Only support Yarn V1.x right now.
Showcase
Run duplicate check under redux source code
Meaning of columns:
name
: name of the npm packageduplicates
: times of the package duplicatessizeInBrowser-KB
: package size in bowser by KB.
If there're no duplicate packages, the result would be: