mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-20 04:50:30 +00:00
Update cheatsheets
This commit is contained in:
@@ -10,16 +10,16 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Explain why a specific package is installed:
|
||||
|
||||
`npm explain {{package_name}}`
|
||||
`npm {{[why|explain]}} {{package_name}}`
|
||||
|
||||
- Show explanation in JSON format:
|
||||
|
||||
`npm explain {{package_name}} --json`
|
||||
`npm {{[why|explain]}} {{package_name}} --json`
|
||||
|
||||
- Include peer dependencies in the explanation:
|
||||
|
||||
`npm explain {{package_name}} --include peer`
|
||||
`npm {{[why|explain]}} {{package_name}} --include peer`
|
||||
|
||||
- Limit explanation depth to 2 levels deep:
|
||||
|
||||
`npm explain {{package_name}} --depth 2`
|
||||
`npm {{[why|explain]}} {{package_name}} --depth 2`
|
||||
|
||||
Reference in New Issue
Block a user