mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 06:22:07 +02:00
npm: additional module listing use case (#1642)
This commit is contained in:
commit
6c391a1192
1 changed files with 5 additions and 1 deletions
|
@ -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`
|
||||||
|
|
Loading…
Add table
Reference in a new issue