interface ProcessFeatures {
    cached_builtins: boolean;
    debug: boolean;
    inspector: boolean;
    ipv6: boolean;
    require_module: boolean;
    tls: boolean;
    tls_alpn: boolean;
    tls_ocsp: boolean;
    tls_sni: boolean;
    typescript: false | "strip" | "transform";
    uv: boolean;
}

Properties

cached_builtins: boolean

A boolean value that is true if the current Node.js build is caching builtin modules.

v12.0.0

debug: boolean

A boolean value that is true if the current Node.js build is a debug build.

v0.5.5

inspector: boolean

A boolean value that is true if the current Node.js build includes the inspector.

v11.10.0

ipv6: boolean

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.

v0.5.3

This property is always true, and any checks based on it are redundant.

require_module: boolean

A boolean value that is true if the current Node.js build supports loading ECMAScript modules using require().

v22.10.0

tls: boolean

A boolean value that is true if the current Node.js build includes support for TLS.

v0.5.3

tls_alpn: boolean

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.

v4.8.0

Use process.features.tls instead.

tls_ocsp: boolean

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.

v0.11.13

Use process.features.tls instead.

tls_sni: boolean

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.

v0.5.3

Use process.features.tls instead.

typescript: false | "strip" | "transform"

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.

v22.10.0

uv: boolean

A boolean value that is true if the current Node.js build includes support for libuv.

Since it's not possible to build Node.js without libuv, this value is always true.

v0.5.3

This property is always true, and any checks based on it are redundant.

MMNEPVFCICPMFPCPTTAAATR