deno.com

interface ProcessFeatures

Properties #

#cached_builtins: boolean
readonly

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

#debug: boolean
readonly

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

#inspector: boolean
readonly

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

#ipv6: boolean
deprecated
readonly

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
readonly

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

#tls: boolean
readonly

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

#tls_alpn: boolean
deprecated
readonly

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.

#tls_ocsp: boolean
deprecated
readonly

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.

#tls_sni: boolean
deprecated
readonly

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
readonly

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.

#uv: boolean
deprecated
readonly

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.