Module

std/encoding/yaml.ts

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

parse and stringify for handling YAML encoded data.

Ported from js-yaml v3.13.1

This module is browser compatible.

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.