The process object contains a lot of information about the currently running process (in this case, node).
My process.versions , for example, contains the current version of V8:
process: { versions: { http_parser: '2.5.0', node: '4.2.4', v8: '4.5.103.35', uv: '1.7.5', zlib: '1.2.8', ares: '1.10.1-DEV', icu: '56.1', modules: '46', openssl: '1.0.2e' } }
You should be able to query this object and determine the current engine.
duncanhall
source share