Writes a YAML file by stringifying the provided data.
Path to the YAML file.
Data to be stringified and written to the file.
Optional
Options for writing the file and stringifying YAML.
A promise that resolves when the file has been written.
Writes a YAML file by stringifying the provided data.