[os] Refactor `npm_packages.sh`
[os] Refactor `npm_packages.sh`

AlbertoElias/dotfiles,makabde/dotfiles,pbrooks/dotfiles,zlot/dotfiles,girishramnani/dotfiles,b-boogaard/dotfiles,oddlord/dotfiles,newtonne/dotfiles,girishramnani/dotfiles,mickael83/ubuntu-dotfiles,EDiLD/dotfiles,EDiLD/dotfiles,newtonne/dotfiles,mickael83/ubuntu-dotfiles,christophermoura/dotfiles,makabde/dotfiles,AlbertoElias/dotfiles,zlot/dotfiles,christophermoura/dotfiles