Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Latest commit

 

History

History
executable file
·
23 lines (16 loc) · 705 Bytes

list.md

File metadata and controls

executable file
·
23 lines (16 loc) · 705 Bytes

npm-list(1) -- List installed packages

SYNOPSIS

npm list
npm ls

DESCRIPTION

This command will print to stdout all the versions of packages that are either installed or available in the registry, with their tags and whether or not they're active and/or stable.

To filter a single package or state, you can provide words to filter on and highlight (if appropriate). For instance, to see all the stable packages, you could do this:

npm ls @stable

Strings are matched using the JavaScript "split" function, so regular expression strings are ok. However, the highlighting is a simple split/join, so regexps probably won't get the funky colors.