function parseAllimport { parseAll } from "https://dotland.deno.dev/std@0.181.0/yaml/mod.ts"; parseAll(content: string,iterator: CbFunction,options?: ParseOptions,): voidSame as parse(), but understands multi-document sources. Applies iterator to each document if specified, or returns array of documents. parseAll(content: string, options?: ParseOptions): unknownSame as parse(), but understands multi-document sources. Applies iterator to each document if specified, or returns array of documents. ExamplesExample 1 import { parseAll } from "https://deno.land/std@0.181.0/yaml/parse.ts"; const data = parseAll(` --- id: 1 name: Alice --- id: 2 name: Bob --- id: 3 name: Eve `); console.log(data); // => [ { id: 1, name: "Alice" }, { id: 2, name: "Bob" }, { id: 3, name: "Eve" } ] Parameterscontent: stringiterator: CbFunctionoptionaloptions: ParseOptionsReturnsvoidParameterscontent: stringoptionaloptions: ParseOptionsReturnsunknown