Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v20.x backport] doc: add documentation for process.features #56948

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
97 changes: 97 additions & 0 deletions doc/api/process.md
Original file line number Diff line number Diff line change
Expand Up @@ -1877,6 +1877,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: v12.0.0
-->

* {boolean}

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

## `process.features.debug`

<!-- YAML
added: v0.5.5
-->

* {boolean}

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

## `process.features.inspector`

<!-- YAML
added: v11.10.0
-->

* {boolean}

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

## `process.features.ipv6`

<!-- YAML
added: v0.5.3
-->

* {boolean}

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

## `process.features.tls`

<!-- YAML
added: v0.5.3
-->

* {boolean}

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

## `process.features.tls_alpn`

<!-- YAML
added: v4.8.0
-->

* {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: v0.11.13
-->

* {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: v0.5.3
-->

* {boolean}

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

***

## `process.features.uv`

<!-- YAML
added: v0.5.3
-->

* {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.getActiveResourcesInfo()`

<!-- YAML
Expand Down
Loading