Skip to content

Commit

Permalink
doc: add documentation for process.features
Browse files Browse the repository at this point in the history
  • Loading branch information
marco-ippolito committed Sep 12, 2024
1 parent 6cc4d5f commit 95d9102
Showing 1 changed file with 96 additions and 0 deletions.
96 changes: 96 additions & 0 deletions doc/api/process.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
<!-- YAML
added: REPLACEME
-->
* {boolean}
A boolean value that is `true` if the current Node.js build is caching builtin modules.
## `process.features.debug`
<!-- YAML
added: REPLACEME
-->
* {boolean}
A boolean value that is `true` if the current Node.js build is a debug build.
## `process.features.inspector`
<!-- YAML
added: REPLACEME
-->
* {boolean}
A boolean value that is `true` if the current Node.js build includes the inspector.
## `process.features.ipv6`
<!-- YAML
added: REPLACEME
-->
* {boolean}
A boolean value that is `true` if the current Node.js build includes support for IPv6.
## `process.features.tls`
<!-- YAML
added: REPLACEME
-->
* {boolean}
A boolean value that is `true` if the current Node.js build includes support for TLS.
## `process.features.tls_alpn`
<!-- YAML
added: REPLACEME
-->
* {boolean}
A boolean value that is `true` if the current Node.js build includes support for ALPN in TLS.
***
## `process.features.tls_ocsp`
<!-- YAML
added: REPLACEME
-->
* {boolean}
A boolean value that is `true` if the current Node.js build includes support for OCSP in TLS.
***
## `process.features.tls_sni`
<!-- YAML
added: REPLACEME
-->
* {boolean}
A boolean value that is `true` if the current Node.js build includes support for SNI in TLS.
***
## `process.features.uv`
<!-- YAML
added: REPLACEME
-->
* {boolean}
A boolean value that is `true` if the current Node.js build includes support for libuv.
## `process.finalization.register(ref, callback)`
<!-- YAML
Expand Down

0 comments on commit 95d9102

Please sign in to comment.