Browse Source

Add process.version description.

v0.7.4-release
Matt Ranney 15 years ago
committed by Ryan Dahl
parent
commit
1f0963558c
  1. 6
      doc/api.markdown

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

Loading…
Cancel
Save