Description
Removes unwanted files and directories from a node_modules folder to reduce project size. It is commonly used in JavaScript projects to delete tests, examples, documentation, or other files not needed for a packaged build.
Use it only after confirming what patterns will be removed. Because it deletes files, keep a clean dependency install or version-controlled project state available if you need to restore anything.