Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "presets/node"

Index

Interfaces

Type aliases

Functions

Type aliases

DOMParser

DOMParser: object

XML/HTML parser from string into DOM Document.

Type declaration

  • constructor: function
    • new __type(): any
  • prototype: any

Fetch

Fetch: function

WHATWG-compatible fetch function.

Type declaration

    • (input: any, config?: any): Promise<any>
    • Parameters

      • input: any
      • Optional config: any

      Returns Promise<any>

Functions

node

  • node(__namedParameters: object): object
  • Options preset for node-canvas.

    Parameters

    • __namedParameters: object
      • DOMParser: object
        • constructor: function
          • new __type(): any
        • prototype: any
      • canvas: ICanvas
      • fetch: function
          • (input: any, config?: any): Promise<any>
          • Parameters

            • input: any
            • Optional config: any

            Returns Promise<any>

    Returns object

    • DOMParser: object
      • constructor: function
        • new __type(): any
      • prototype: any
    • createCanvas: createCanvas
    • createImage: loadImage
    • fetch: function
        • (input: any, config?: any): Promise<any>
        • Parameters

          • input: any
          • Optional config: any

          Returns Promise<any>

    • ignoreAnimation: boolean
    • ignoreMouse: boolean
    • window: null

Generated using TypeDoc