Skip to content

Context

[<Interface>]
type Context =
    abstract member conditions: string array option with get, set
    abstract member importAttributes: ImportAttributes option with get, set
    abstract member parentURL: string option with get, set
    static member Create (?conditions: string array, ?importAttributes: ImportAttributes, ?parentURL: string) : Context
AssemblyXantham.Fable.Node
Attributes[<Interface>]

Properties

abstract member conditions: string array option with get, set

Export conditions of the relevant package.json

abstract member importAttributes: ImportAttributes option with get, set

An object whose key-value pairs represent the assertions for the module to import

abstract member parentURL: string option with get, set

The module importing this one, or undefined if this is the Node.js entry point

Methods

static member Create (?conditions: string array, ?importAttributes: ImportAttributes, ?parentURL: string) : Context