Skip to main content
The Deno 2 Release Candidate is here
Learn more
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.