mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 06:02:18 +02:00
npm.md: additional module listing use case
Added a use case for listing all globally installed modules with a tree depth of 0.
This commit is contained in:
parent
be45f49de5
commit
91c6744c1e
1 changed files with 4 additions and 0 deletions
|
@ -27,6 +27,10 @@
|
||||||
|
|
||||||
`npm list`
|
`npm list`
|
||||||
|
|
||||||
|
- List a tree of globally installed modules:
|
||||||
|
|
||||||
|
`npm list -g --depth=0`
|
||||||
|
|
||||||
- Interactively create a package.json file:
|
- Interactively create a package.json file:
|
||||||
|
|
||||||
`npm init`
|
`npm init`
|
||||||
|
|
Loading…
Add table
Reference in a new issue