Skip to main content
Module

x/yaml_loader/yaml_loader.ts>YamlLoader

A yaml file loader & parser module for Deno
Latest
class YamlLoader
import { YamlLoader } from "https://deno.land/x/yaml_loader@v0.1.0/yaml_loader.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.