Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/ndeno/src/deps.ts>parse

js runtime project management tool / js runtime 项目管理工具
Go to Latest
function parse
import { parse } from "https://deno.land/x/ndeno@v2.0.4/src/deps.ts";

Parses content as single YAML document.

Returns a JavaScript object or throws YAMLError 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