UNPKG

yaml-unist-parser

Version:

A YAML parser that produces output compatible with unist

7 lines (6 loc) 168 B
export function createPosition(start, end) { return { start, end }; } export function createEmptyPosition(point) { return { start: point, end: point }; }