LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

npm-list

displays the dependency tree of installed packages

TLDR

List installed packages
$ npm list
copy
List global packages
$ npm list -g
copy
List only top-level packages
$ npm list --depth=0
copy
List as JSON
$ npm list --json
copy
List specific package
$ npm list [package-name]
copy
List production dependencies
$ npm list --prod
copy

SYNOPSIS

npm list [package] [options]

DESCRIPTION

npm list displays the dependency tree of installed packages. Shows versions and relationships. Use depth=0 for top-level only. Alias: npm ls.

PARAMETERS

-g, --global

List global packages.
--depth n
Dependency tree depth.
--json
Output as JSON.
--prod
Production dependencies only.
--dev
Development dependencies only.
--all
Show all packages.

INSTALL

sudo pacman -S npm
copy
sudo apk add npm
copy
brew install npm
copy

SEE ALSO

npm(1), npm-install(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid