Skip to main content
Module

std/encoding/yaml.ts

Deno standard library
Go to Latest
import * as mod from "https://deno.land/std@0.158.0/encoding/yaml.ts";

parse and stringify for handling YAML encoded data.

Ported from js-yaml v3.13.1

Functions

Parses content as single YAML document.

Same as parse(), but understands multi-document sources. Applies iterator to each document if specified, or returns array of documents.

Serializes object as a YAML document.