scott113341 / npm-install-version

Installs node modules to versioned or custom directories.
MIT License
56 stars 11 forks source link

Add ability to uninstall #45

Open steve-thousand opened 5 years ago

steve-thousand commented 5 years ago

Would it be reasonable to add the ability to uninstall a package that has been installed via npm-install-version?

One of the uses I have for this library is the ability to install and compare multiple versions of the same module at run-time. It would also be useful to be able to clean up after I am done. Generally I think if we want to be able to install modules programmatically via this library then we should have the ability to uninstall as well. Wondering if it would take anything more than just an rm -rf of the module directory