Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deno/std/encoding/yaml/parse.ts>parseAll

A modern runtime for JavaScript and TypeScript.
Go to Latest
function parseAll
import { parseAll } from "https://deno.land/x/deno@v0.28.0/std/encoding/yaml/parse.ts";

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

Parameters

content: string
optional
iterator: CbFunction
optional
options: ParseOptions

Returns

unknown