Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace U

U stands for Utilities

You can find miscellaneous helpers here

Index

Functions

GetConfig

  • GetConfig(key: string): any
  • Get config from user configuration file.

    Parameters

    • key: string

    Returns any

parseXML

  • parseXML(xml: string, simplify?: boolean): any
  • Convert xml string to javascript object. Output will always be plain javascript string.

    Parameters

    • xml: string

      xml string

    • Optional simplify: boolean

      if true, the parser will ignore attributes and only generate string values. (default: true)

    Returns any

toXML

  • toXML(data: any): string
  • Convert json data to xml string.

    Parameters

    • data: any

      xml-like javascript object

    Returns string

Generated using TypeDoc