Skip to main content
Deno 2 is finally 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.154.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.