src: add `jsEngine` property to `process`
Module owners currently have no documented way to determine which engine is being used to execute their code, preventing seamless usage of Node-ChakraCore. The most common issue is usage of V8-specific launch options when spawning child processes.
Refs: https://github.com/nodejs/node-chakracore/issues/10 Refs: https://github.com/nodejs/node-chakracore/issues/486
I just wanted to gauge interest in exposing this property to modules so that they can be more targeted in when they take a dependency on V8 options.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines