Files
go-cuckoo/node_modules/markdownlint-cli2/parsers/toml-parse.mjs
T
2026-07-03 19:24:01 -04:00

12 lines
241 B
JavaScript

// @ts-check
import { parse } from "smol-toml";
/**
* Parses a TOML string, returning the corresponding object.
* @type {import("markdownlint").ConfigurationParser}
*/
const tomlParse = (text) => parse(text);
export default tomlParse;