npm: additional module listing use case (#1642)
This commit is contained in:
@@ -23,10 +23,14 @@
|
|||||||
|
|
||||||
`npm uninstall {{module_name}}`
|
`npm uninstall {{module_name}}`
|
||||||
|
|
||||||
- List a tree of installed modules:
|
- List a tree of installed modules referenced in package.json:
|
||||||
|
|
||||||
`npm list`
|
`npm list`
|
||||||
|
|
||||||
|
- List top-level globally installed modules:
|
||||||
|
|
||||||
|
`npm list -g --depth={{0}}`
|
||||||
|
|
||||||
- Interactively create a package.json file:
|
- Interactively create a package.json file:
|
||||||
|
|
||||||
`npm init`
|
`npm init`
|
||||||
|
Reference in New Issue
Block a user