voidcosmos / npkill

List any node_modules 📦 dir in your system and how heavy they are. You can then select which ones you want to erase to free up space 🧹
https://npkill.js.org
MIT License
8.31k stars 188 forks source link

Refactor/controller #143

Closed zaldih closed 1 year ago

zaldih commented 1 year ago

Detach the "view" from the controller.

For this I have created small components under the "ui" directory that contain the different parts of the interface.

"Controller" has been reduced by 45%.