npm.md: additional module listing use case

Made changes per suggestions by agnivade.
This commit is contained in:
Raymond Douglas
2017-11-22 22:06:43 -08:00
committed by GitHub
parent b5d71ae196
commit 5b9848dc64

View File

@@ -23,13 +23,13 @@
`npm uninstall {{module_name}}` `npm uninstall {{module_name}}`
- List a tree of installed modules: - List of tree of installed modules referenced in package.json:
`npm list` `npm list`
- List globally installed modules: - List top-level globally installed modules:
`npm list -g --depth=0` `npm list -g --depth={{0}}`
- Interactively create a package.json file: - Interactively create a package.json file: