Skip to main content
Module

std/front_matter/any.ts

Deno standard library
Go to Latest
File
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
import { createExtractor, type Extractor, type Parser,} from "./create_extractor.ts";import { parse as parseYAML } from "../yaml/parse.ts";import { parse as parseTOML } from "../toml/parse.ts";
export const extract: Extractor = createExtractor({ yaml: parseYAML as Parser, toml: parseTOML as Parser, json: JSON.parse as Parser,});