0.3.0 • Published 9 months ago

dry-uninstall v0.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

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

  1. node_modules size. In cases where tree-shaking does not work.
  2. Simplified Build. There was a long time when installing mongodb required kerberos package. And kerberos required to build native addon modules, and it can be painfull.
  3. Sequrity. Replace the vulenrable packages, to be sure that the code is never used.
  4. License Issues

Inside

This package is a single file, that exports dict that can be safelly imported:

module.exports = {};
0.3.0

9 months ago

0.2.0

9 months ago

0.1.0

9 months ago