'Parse YAML file in Google Apps Script

I'm trying to parse a YAML file within Google Apps Script. I would like to use the information from a YAML file in Google Sheets.

From what I understood, the underlying library is available (Use app engine yaml parser in scripts) but I don't seem to understand how I can use this library.

Thanks



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source