Some helpful packages for minimizing the node_modules bloat

Everett
August 10, 2019

While attempting to reduce the number of dependencies my project relied on, I came across some useful Node packages that helped trim the fat from the node_modules: - depcheck: Outputs all the usages of each package listed in package json. This is useful for determining if any packages are unused - npm prune: Once you've found packages that are unused, this Node command will remove any packages removed from the package.json - npm ddp: Flatten dependency tree and removes redundant packages

Calgary

1700, 308 4th Avenue SW
Calgary, AB T2P 0H7
Canada
403.242.4361

info.calgary@arcurve.com

Houston

5090 Richmond Avenue
Houston TX, 77056
USA
713.422.2135

info.houston@arcurve.com

© 2024 Arcurve. All rights reserved.