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

x/ter/deps.ts>parse

A tiny wiki-style site builder with Zettelkasten flavor.
Go to Latest
function parse
import { parse } from "https://deno.land/x/ter@0.6.5/deps.ts";

Parses content as single YAML document.

Returns a JavaScript object or throws YAMLException on error. By default, does not support regexps, functions and undefined. This method is safe for untrusted data.

Parameters

content: string
optional
options: ParseOptions

Returns

unknown