Skip to main content
Latest
class YamlLoader
import { YamlLoader } from "https://deno.land/x/deno_proxy@v1.4.1/deps.ts";

The class used for parsing yaml files.

Properties

private
decoder: TextDecoder

Needed for parsing the file's text.

Methods

parseFile(filePath: string)

Takes the filePath and returns the parsed yaml as an object. Requires the --allow-read flag.