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 13, 2024
1 parent 6cc4d5f commit e3f91db
Showing 1 changed file with 97 additions and 0 deletions.
97 changes: 97 additions & 0 deletions doc/api/process.md
Original file line number Diff line number Diff line change
Expand Up @@ -1896,6 +1896,103 @@ 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.
Since it's currently not possible to build Node.js without libuv, this value is always `true`.
## `process.finalization.register(ref, callback)`
<!-- YAML
Expand Down

0 comments on commit e3f91db

Please sign in to comment.