ProcessFeatures
[<Interface>]
type ProcessFeatures =
abstract member cached_builtins: bool
abstract member debug: bool
abstract member inspector: bool
abstract member ipv6: bool
abstract member require_module: bool
abstract member tls: bool
abstract member tls_alpn: bool
abstract member tls_ocsp: bool
abstract member tls_sni: bool
abstract member typescript: Typescript
abstract member uv: bool
static member Create (cached_builtins: bool, debug: bool, inspector: bool, ipv6: bool, require_module: bool, tls: bool, tls_alpn: bool, tls_ocsp: bool, tls_sni: bool, typescript: Typescript, uv: bool) : ProcessFeatures| Assembly | Xantham.Fable.Node |
| Attributes | [<Interface>] |
Declared inside
Typescript |
Properties
abstract member cached_builtins: bool
abstract member cached_builtins: boolA boolean value that is true if the current Node.js build is caching builtin modules.
@since v12.0.0
abstract member debug: bool
abstract member debug: boolA boolean value that is true if the current Node.js build is a debug build.
@since v0.5.5
abstract member inspector: bool
abstract member inspector: boolA boolean value that is true if the current Node.js build includes the inspector.
@since v11.10.0
abstract member ipv6: bool
abstract member ipv6: boolA boolean value that is true if the current Node.js build includes support for IPv6.
Since all Node.js builds have IPv6 support, this value is always true.
@since v0.5.3
abstract member require_module: bool
abstract member require_module: boolA boolean value that is true if the current Node.js build supports loading ECMAScript modules using require().
@since v22.10.0
abstract member tls: bool
abstract member tls: boolA boolean value that is true if the current Node.js build includes support for TLS.
@since v0.5.3
abstract member tls_alpn: bool
abstract member tls_alpn: boolA boolean value that is true if the current Node.js build includes support for ALPN in TLS.
In Node.js 11.0.0 and later versions, the OpenSSL dependencies feature unconditional ALPN support. This value is therefore identical to that of process.features.tls.
@since v4.8.0
abstract member tls_ocsp: bool
abstract member tls_ocsp: boolA boolean value that is true if the current Node.js build includes support for OCSP in TLS.
In Node.js 11.0.0 and later versions, the OpenSSL dependencies feature unconditional OCSP support. This value is therefore identical to that of process.features.tls.
@since v0.11.13
abstract member tls_sni: bool
abstract member tls_sni: boolA boolean value that is true if the current Node.js build includes support for SNI in TLS.
In Node.js 11.0.0 and later versions, the OpenSSL dependencies feature unconditional SNI support. This value is therefore identical to that of process.features.tls.
@since v0.5.3
abstract member typescript: Typescript
abstract member typescript: TypescriptA value that is "strip" by default, "transform" if Node.js is run with --experimental-transform-types, and false if Node.js is run with --no-experimental-strip-types.
@since v22.10.0
abstract member uv: bool
abstract member uv: boolA boolean value that is true if the current Node.js build includes support for libuv.
Since it's not possible to build Node.js without libuv, this value is always true.
@since v0.5.3