Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

std/encoding/yaml.ts

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
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.