1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 16:42:08 +02:00

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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: