From 95d9102ce56244101900a110c9a10f13df6f6e43 Mon Sep 17 00:00:00 2001 From: Marco Ippolito Date: Thu, 12 Sep 2024 12:02:25 +0200 Subject: [PATCH] doc: add documentation for process.features --- doc/api/process.md | 96 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) diff --git a/doc/api/process.md b/doc/api/process.md index fef004603910d3..6d0ac8e2cfef91 100644 --- a/doc/api/process.md +++ b/doc/api/process.md @@ -1896,6 +1896,102 @@ a code. Specifying a code to [`process.exit(code)`][`process.exit()`] will override any previous setting of `process.exitCode`. +## `process.features.cached_builtins` + + + +* {boolean} + +A boolean value that is `true` if the current Node.js build is caching builtin modules. + +## `process.features.debug` + + + +* {boolean} + +A boolean value that is `true` if the current Node.js build is a debug build. + +## `process.features.inspector` + + + +* {boolean} + +A boolean value that is `true` if the current Node.js build includes the inspector. + +## `process.features.ipv6` + + + +* {boolean} + +A boolean value that is `true` if the current Node.js build includes support for IPv6. + +## `process.features.tls` + + + +* {boolean} + +A boolean value that is `true` if the current Node.js build includes support for TLS. + +## `process.features.tls_alpn` + + + +* {boolean} + +A boolean value that is `true` if the current Node.js build includes support for ALPN in TLS. + +*** + +## `process.features.tls_ocsp` + + + +* {boolean} + +A boolean value that is `true` if the current Node.js build includes support for OCSP in TLS. + +*** + +## `process.features.tls_sni` + + + +* {boolean} + +A boolean value that is `true` if the current Node.js build includes support for SNI in TLS. + +*** + +## `process.features.uv` + + + +* {boolean} + +A boolean value that is `true` if the current Node.js build includes support for libuv. + ## `process.finalization.register(ref, callback)`