npm: additional module listing use case (#1642)

This commit is contained in:
Starbeamrainbowlabs
2017-11-23 18:06:22 +00:00
committed by GitHub

View File

@@ -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`