You want to improve you node dependency tree? module-replacements got you covered.

You can also get eslint tooling for this using the depend plugin.

https://github.com/es-tooling/module-replacements/blob/main/docs/modules/README.md

https://github.com/es-tooling/eslint-plugin-depend

#nodejs #eslint #e18e #javascript #bundlesize

module-replacements/docs/modules/README.md at main · es-tooling/module-replacements

A manifest of JS modules and their more modern/active replacements - es-tooling/module-replacements

GitHub