Sitelet https://github.com/nodejs/node/pull/56948/commits/eb9f460dff6145b63670207d255e29a2db218c1a
Skip to content
Closed
Changes from 1 commit
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
Next Next commit
doc: add documentation for process.features
PR-URL: #54897
Refs: #54295
Reviewed-By: Ethan Arrowood <ethan@arrowood.dev>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
  • Loading branch information
marco-ippolito committed Feb 7, 2025
commit eb9f460dff6145b63670207d255e29a2db218c1a
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: 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.getActiveResourcesInfo()`

<!-- YAML
Expand Down