P
process.config
History
Added in: v0.7.7
v0.7.7
Introduced in: v0.10.0
v0.10.0
The
process.config object is now frozen.v19.0.0
Modifying process.config has been deprecated.
v16.0.0
Type:
ObjectThe process.config property returns a frozen Object containing the
JavaScript representation of the configure options used to compile the current
Node.js executable. This is the same as the config.gypi file that was produced
when running the ./configure script.
An example of the possible output looks like:
{ "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "host_arch": "x64", "napi_build_version": 5, "node_install_npm": "true", "node_prefix": "", "node_shared_cares": "false", "node_shared_http_parser": "false", "node_shared_libuv": "false", "node_shared_zlib": "false", "node_use_openssl": "true", "node_shared_openssl": "false", "target_arch": "x64", "v8_use_snapshot": 1 } }