We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4782ec7 commit fbd18beCopy full SHA for fbd18be
doc/api/process.md
@@ -2476,13 +2476,16 @@ added: v0.1.3
2476
2477
* {string}
2478
2479
-The `process.version` property returns the Node.js version string in the form of
2480
-`v<major>.<minor>.<patch>`.
+The `process.version` property contains the Node.js version string.
2481
2482
```js
2483
console.log(`Version: ${process.version}`);
+// Version: v14.8.0
2484
```
2485
2486
+To get the version string without the prepended _v_, use
2487
+`process.versions.node`.
2488
+
2489
## `process.versions`
2490
<!-- YAML
2491
added: v0.2.0
0 commit comments