mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-21 16:51:02 +00:00
Update cheatsheets
This commit is contained in:
@@ -22,11 +22,11 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Evaluate JavaScript code by passing it as an argument:
|
||||
|
||||
`node -e "{{code}}"`
|
||||
`node {{[-e|--eval]}} "{{code}}"`
|
||||
|
||||
- Evaluate and print the result, useful to print node's dependencies versions:
|
||||
|
||||
`node -p "process.versions"`
|
||||
`node {{[-p|--print]}} "process.versions"`
|
||||
|
||||
- Activate inspector, pausing execution until a debugger is connected once source code is fully parsed:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user