@ac-essentials/misc-util
    Preparing search index...

    Function writeYamlFile

    • Writes a YAML file by stringifying the provided data.

      Parameters

      • path: FileHandle | PathLike

        Path to the YAML file.

      • data: unknown

        Data to be stringified and written to the file.

      • Optionaloptions: WriteYamlFileOptions

        Options for writing the file and stringifying YAML.

      Returns Promise<void>

      A promise that resolves when the file has been written.