[+] Add support for npm global packages

Closes #215
This commit is contained in:
Azalea 2023-11-22 02:16:25 -05:00
parent 524baf9cf7
commit e63e2693c2

View file

@ -2030,6 +2030,7 @@ get_packages() {
# OS-independent package managers.
has pipx && tot pipx list --short
has cargo && _cargopkgs="$(cargo install --list | grep -v '^ ')" && tot echo "$_cargopkgs"
has npm && pkgs_h=1 tot npm list -g --depth=0
# OS-specific package managers.
case $os in