From 683c1c6583d749324087cdd821a49ff53f12f179 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Ma=C5=82ecki?= Date: Thu, 13 Oct 2011 16:10:24 +0200 Subject: [PATCH] docs: document `process.versions` --- doc/api/process.markdown | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/doc/api/process.markdown b/doc/api/process.markdown index 1c05d5b497..817a81d987 100644 --- a/doc/api/process.markdown +++ b/doc/api/process.markdown @@ -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`.