Skip to content

Commit e63e269

Browse files
committed
[+] Add support for npm global packages
Closes #215
1 parent 524baf9 commit e63e269

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

neofetch

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2030,6 +2030,7 @@ get_packages() {
20302030
# OS-independent package managers.
20312031
has pipx && tot pipx list --short
20322032
has cargo && _cargopkgs="$(cargo install --list | grep -v '^ ')" && tot echo "$_cargopkgs"
2033+
has npm && pkgs_h=1 tot npm list -g --depth=0
20332034

20342035
# OS-specific package managers.
20352036
case $os in

0 commit comments

Comments
 (0)