Browse Source

node: add print argument example (#2688)

Axel Navarro 6 years ago
parent
commit
9368ca7301
1 changed files with 4 additions and 0 deletions
  1. 4 0
      pages/common/node.md

+ 4 - 0
pages/common/node.md

@@ -13,3 +13,7 @@
 - Evaluate JavaScript by passing it in the command:
 
 `node -e "{{code}}"`
+
+- Evaluate and print result, useful to see node's dependencies versions:
+
+`node -p "{{process.versions}}"`