projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b0e368
)
docs: document `process.versions`
author
Maciej Małecki
<maciej.malecki@notimplemented.org>
Thu, 13 Oct 2011 14:10:24 +0000
(16:10 +0200)
committer
Ben Noordhuis
<info@bnoordhuis.nl>
Thu, 13 Oct 2011 15:02:54 +0000
(17:02 +0200)
doc/api/process.markdown
patch
|
blob
|
history
diff --git
a/doc/api/process.markdown
b/doc/api/process.markdown
index
1c05d5b
..
817a81d
100644
(file)
--- a/
doc/api/process.markdown
+++ b/
doc/api/process.markdown
@@
-228,6
+228,21
@@
A compiled-in property that exposes `NODE_VERSION`.
console.log('Version: ' + process.version);
+### process.versions
+
+A property exposing version strings of node and its dependencies.
+
+ console.log(process.versions);
+
+Will output:
+
+ { node: '0.4.12',
+ v8: '3.1.8.26',
+ ares: '1.7.4',
+ ev: '4.4',
+ openssl: '1.0.0e-fips' }
+
+
### process.installPrefix
A compiled-in property that exposes `NODE_PREFIX`.