dry-uninstall
v0.3.0
Published
Empty npm package to "uninstall" unused transitive dependencies
Downloads
24,211
Readme
dry-uninstall
Empty npm package to «uninstall» unused transitive dependencies.
Put it in overrides
section to replace any package. If you want to remove foo
package:
{
"overrides": {
"foo": "npm:dry-uninstall"
}
}
If you want to remove bar
package at any depth beyond foo
:
{
"overrides": {
"foo": {
"bar": "npm:dry-uninstall"
}
}
}
See documentation for overrides for full list of usage patterns. Or check the sample project using simple-node-logger without momentjs.
Reasoning
- node_modules size. In cases where tree-shaking does not work.
- Simplified Build. There was a long time when installing
mongodb
requiredkerberos
package. Andkerberos
required to build native addon modules, and it can be painfull. - Sequrity. Replace the vulenrable packages, to be sure that the code is never used.
- License Issues
Inside
This package is a single file, that exports dict that can be safelly imported:
module.exports = {};