Add process.version description.

pull/22966/head
Matt Ranney 2010-05-07 13:37:30 -07:00 committed by Ryan Dahl
parent 4e40e8804b
commit 1f0963558c
1 changed files with 6 additions and 0 deletions

View 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`.