From 1f0963558c2e3f7a02f4d3c2db8121c5f9a12c69 Mon Sep 17 00:00:00 2001 From: Matt Ranney Date: Fri, 7 May 2010 13:37:30 -0700 Subject: [PATCH] Add process.version description. --- doc/api.markdown | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/api.markdown b/doc/api.markdown index 17e9e4d3a3..b6ff2748a1 100644 --- 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`.