Skip to content

Commit

Permalink
npm.md: additional module listing use case
Browse files Browse the repository at this point in the history
Added a use case for listing all globally installed modules with a tree depth of 0.
  • Loading branch information
Raymond Douglas authored Nov 22, 2017
1 parent be45f49 commit 91c6744
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pages/common/npm.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@

`npm list`

- List a tree of globally installed modules:

`npm list -g --depth=0`

- Interactively create a package.json file:

`npm init`

0 comments on commit 91c6744

Please sign in to comment.