Skip to content

Commit eca9668

Browse files
marco-ippolitotargos
authored andcommitted
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>
1 parent 1de5512 commit eca9668

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
@@ -1888,6 +1888,103 @@ a code.
18881888
Specifying a code to [`process.exit(code)`][`process.exit()`] will override any
18891889
previous setting of `process.exitCode`.
18901890
1891+
## `process.features.cached_builtins`
1892+
1893+
<!-- YAML
1894+
added: REPLACEME
1895+
-->
1896+
1897+
* {boolean}
1898+
1899+
A boolean value that is `true` if the current Node.js build is caching builtin modules.
1900+
1901+
## `process.features.debug`
1902+
1903+
<!-- YAML
1904+
added: REPLACEME
1905+
-->
1906+
1907+
* {boolean}
1908+
1909+
A boolean value that is `true` if the current Node.js build is a debug build.
1910+
1911+
## `process.features.inspector`
1912+
1913+
<!-- YAML
1914+
added: REPLACEME
1915+
-->
1916+
1917+
* {boolean}
1918+
1919+
A boolean value that is `true` if the current Node.js build includes the inspector.
1920+
1921+
## `process.features.ipv6`
1922+
1923+
<!-- YAML
1924+
added: REPLACEME
1925+
-->
1926+
1927+
* {boolean}
1928+
1929+
A boolean value that is `true` if the current Node.js build includes support for IPv6.
1930+
1931+
## `process.features.tls`
1932+
1933+
<!-- YAML
1934+
added: REPLACEME
1935+
-->
1936+
1937+
* {boolean}
1938+
1939+
A boolean value that is `true` if the current Node.js build includes support for TLS.
1940+
1941+
## `process.features.tls_alpn`
1942+
1943+
<!-- YAML
1944+
added: REPLACEME
1945+
-->
1946+
1947+
* {boolean}
1948+
1949+
A boolean value that is `true` if the current Node.js build includes support for ALPN in TLS.
1950+
1951+
***
1952+
1953+
## `process.features.tls_ocsp`
1954+
1955+
<!-- YAML
1956+
added: REPLACEME
1957+
-->
1958+
1959+
* {boolean}
1960+
1961+
A boolean value that is `true` if the current Node.js build includes support for OCSP in TLS.
1962+
1963+
***
1964+
1965+
## `process.features.tls_sni`
1966+
1967+
<!-- YAML
1968+
added: REPLACEME
1969+
-->
1970+
1971+
* {boolean}
1972+
1973+
A boolean value that is `true` if the current Node.js build includes support for SNI in TLS.
1974+
1975+
***
1976+
1977+
## `process.features.uv`
1978+
1979+
<!-- YAML
1980+
added: REPLACEME
1981+
-->
1982+
1983+
* {boolean}
1984+
1985+
A boolean value that is `true` if the current Node.js build includes support for libuv.
1986+
Since it's currently not possible to build Node.js without libuv, this value is always `true`.
1987+
18911988
## `process.finalization.register(ref, callback)`
18921989
18931990
<!-- 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