interface ProcessFeatures
Properties #
#cached_builtins: boolean
A boolean value that is true
if the current Node.js build is caching builtin modules.
A boolean value that is true
if the current Node.js build includes the inspector.
A boolean value that is true
if the current Node.js build includes support for IPv6.
Since all Node.js builds have IPv6 support, this value is always true
.
#require_module: boolean
A boolean value that is true
if the current Node.js build supports
loading ECMAScript modules using require()
.
A boolean value that is true
if the current Node.js build includes support for TLS.
A boolean value that is true
if the current Node.js build includes support for ALPN in TLS.
In Node.js 11.0.0 and later versions, the OpenSSL dependencies feature unconditional ALPN support.
This value is therefore identical to that of process.features.tls
.
A boolean value that is true
if the current Node.js build includes support for OCSP in TLS.
In Node.js 11.0.0 and later versions, the OpenSSL dependencies feature unconditional OCSP support.
This value is therefore identical to that of process.features.tls
.
A boolean value that is true
if the current Node.js build includes support for SNI in TLS.
In Node.js 11.0.0 and later versions, the OpenSSL dependencies feature unconditional SNI support.
This value is therefore identical to that of process.features.tls
.
#typescript: "strip"
| "transform"
| false
A value that is "strip"
if Node.js is run with --experimental-strip-types
,
"transform"
if Node.js is run with --experimental-transform-types
, and false
otherwise.