From e63e2693c20743fe0201a8c15e58653cf0d4ee71 Mon Sep 17 00:00:00 2001 From: Azalea <22280294+hykilpikonna@users.noreply.github.com> Date: Wed, 22 Nov 2023 02:16:25 -0500 Subject: [PATCH] [+] Add support for npm global packages Closes #215 --- neofetch | 1 + 1 file changed, 1 insertion(+) diff --git a/neofetch b/neofetch index 74af968d8..14498b671 100755 --- a/neofetch +++ b/neofetch @@ -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