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

std/encoding/yaml.ts>parseAll

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function parseAll
import { parseAll } from "https://deno.land/std@0.135.0/encoding/yaml.ts";

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

Parameters

content: string
iterator: CbFunction
optional
options: ParseOptions

Parameters

content: string
optional
options: ParseOptions

Returns

unknown

Parameters

content: string
optional
iterator: CbFunction | ParseOptions
optional
options: ParseOptions

Returns

unknown