Skip to content

Commit 7c38e50

Browse files
doc: add documentation for process.features
PR-URL: #54897 Backport-PR-URL: #56948 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>
1 parent de5cbdc commit 7c38e50

File tree

1 file changed

+97
-0
lines changed

1 file changed

+97
-0
lines changed

doc/api/process.md

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1877,6 +1877,103 @@ a code.
18771877
Specifying a code to [`process.exit(code)`][`process.exit()`] will override any
18781878
previous setting of `process.exitCode`.
18791879
1880+
## `process.features.cached_builtins`
1881+
1882+
<!-- YAML
1883+
added: REPLACEME
1884+
-->
1885+
1886+
* {boolean}
1887+
1888+
A boolean value that is `true` if the current Node.js build is caching builtin modules.
1889+
1890+
## `process.features.debug`
1891+
1892+
<!-- YAML
1893+
added: REPLACEME
1894+
-->
1895+
1896+
* {boolean}
1897+
1898+
A boolean value that is `true` if the current Node.js build is a debug build.
1899+
1900+
## `process.features.inspector`
1901+
1902+
<!-- YAML
1903+
added: REPLACEME
1904+
-->
1905+
1906+
* {boolean}
1907+
1908+
A boolean value that is `true` if the current Node.js build includes the inspector.
1909+
1910+
## `process.features.ipv6`
1911+
1912+
<!-- YAML
1913+
added: REPLACEME
1914+
-->
1915+
1916+
* {boolean}
1917+
1918+
A boolean value that is `true` if the current Node.js build includes support for IPv6.
1919+
1920+
## `process.features.tls`
1921+
1922+
<!-- YAML
1923+
added: REPLACEME
1924+
-->
1925+
1926+
* {boolean}
1927+
1928+
A boolean value that is `true` if the current Node.js build includes support for TLS.
1929+
1930+
## `process.features.tls_alpn`
1931+
1932+
<!-- YAML
1933+
added: REPLACEME
1934+
-->
1935+
1936+
* {boolean}
1937+
1938+
A boolean value that is `true` if the current Node.js build includes support for ALPN in TLS.
1939+
1940+
***
1941+
1942+
## `process.features.tls_ocsp`
1943+
1944+
<!-- YAML
1945+
added: REPLACEME
1946+
-->
1947+
1948+
* {boolean}
1949+
1950+
A boolean value that is `true` if the current Node.js build includes support for OCSP in TLS.
1951+
1952+
***
1953+
1954+
## `process.features.tls_sni`
1955+
1956+
<!-- YAML
1957+
added: REPLACEME
1958+
-->
1959+
1960+
* {boolean}
1961+
1962+
A boolean value that is `true` if the current Node.js build includes support for SNI in TLS.
1963+
1964+
***
1965+
1966+
## `process.features.uv`
1967+
1968+
<!-- YAML
1969+
added: REPLACEME
1970+
-->
1971+
1972+
* {boolean}
1973+
1974+
A boolean value that is `true` if the current Node.js build includes support for libuv.
1975+
Since it's currently not possible to build Node.js without libuv, this value is always `true`.
1976+
18801977
## `process.getActiveResourcesInfo()`
18811978
18821979
<!-- YAML

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy