Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
docs: document process.versions
  • Loading branch information
mmalecki authored and bnoordhuis committed Oct 13, 2011
1 parent 4b0e368 commit 683c1c6
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions doc/api/process.markdown
Expand Up @@ -228,6 +228,21 @@ A compiled-in property that exposes `NODE_VERSION`.

console.log('Version: ' + process.version);

### process.versions

A property exposing version strings of node and its dependencies.

console.log(process.versions);

Will output:

{ node: '0.4.12',
v8: '3.1.8.26',
ares: '1.7.4',
ev: '4.4',
openssl: '1.0.0e-fips' }


### process.installPrefix

A compiled-in property that exposes `NODE_PREFIX`.
Expand Down

0 comments on commit 683c1c6

Please sign in to comment.