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:
4e40e88
)
Add process.version description.
author
Matt Ranney
<mjr@ranney.com>
Fri, 7 May 2010 20:37:30 +0000
(13:37 -0700)
committer
Ryan Dahl
<ry@tinyclouds.org>
Fri, 14 May 2010 17:11:47 +0000
(10:11 -0700)
doc/api.markdown
patch
|
blob
|
history
diff --git
a/doc/api.markdown
b/doc/api.markdown
index
17e9e4d
..
b6ff274
100644
(file)
--- a/
doc/api.markdown
+++ b/
doc/api.markdown
@@
-668,6
+668,12
@@
Gets/sets the user identity of the process. (See setuid(2).) This is the numeri
}
+### process.version
+
+A compiled-in property that exposes `NODE_VERSION`.
+
+ require('sys').puts('Version: ' + process.version);
+
### process.installPrefix
A compiled-in property that exposes `NODE_PREFIX`.