Options
All
  • Public
  • Public/Protected
  • All
Menu

Utility methods in charge of loading and saving yaml files (and text files).

Hierarchy

  • YamlUtils

Index

Constructors

constructor

Methods

Static fromYaml

  • fromYaml(yamlString: string): any

Static isYmlFile

  • isYmlFile(string: string): boolean

Static loadFileAsText

  • loadFileAsText(fileLocation: string): string

Static loadYaml

  • loadYaml(fileLocation: string, password: Password): any

Static readTextFile

  • readTextFile(path: string): Promise<string>

Static toYaml

  • toYaml(object: unknown): string

Static writeTextFile

  • writeTextFile(path: string, text: string): Promise<void>

Static writeYaml

  • writeYaml(path: string, object: unknown, password: undefined | string): Promise<void>

Generated using TypeDoc