UNPKG

yaml-unist-parser

Version:

A YAML parser that produces output compatible with unist

8 lines (7 loc) 169 B
import { createNode } from "./node.js"; export function createTag(position, value) { return { ...createNode("tag", position), value, }; }