Add process.version description.
authorMatt Ranney <mjr@ranney.com>
Fri, 7 May 2010 20:37:30 +0000 (13:37 -0700)
committerRyan Dahl <ry@tinyclouds.org>
Fri, 14 May 2010 17:11:47 +0000 (10:11 -0700)
doc/api.markdown

index 17e9e4d..b6ff274 100644 (file)
@@ -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`.