UNPKG

@curvenote/schema

Version:

Schema and markdown parser for @curvenote/editor

6 lines 210 B
import yaml from 'js-yaml'; import { fromJSON } from '../json'; export function fromYAML(input, useSchema) { return fromJSON(JSON.stringify(yaml.load(input)), useSchema); } //# sourceMappingURL=index.js.map