Skip to content

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
AssemblyXantham.Fable.Node
Attributes[<Interface>]

Declared inside

Typescript

Properties

abstract member cached_builtins: bool

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

@since v12.0.0

abstract member debug: bool

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

@since v0.5.5

abstract member inspector: bool

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

@since v11.10.0

abstract member ipv6: bool

A 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

A 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

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

@since v0.5.3

abstract member tls_alpn: bool

A 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

A 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

A 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

A 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

A 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

Methods

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