Convert YAML (yet-another-markup-language) strings to JSON (JavaScript object notation).
Nothing to see yet!
({ take: [ { type: "code", label: "YAML" }, { type: "import", value: "https://cdn.jsdelivr.net/npm/js-yaml@4.1.0/dist/js-yaml.min.js", }, ], make: (yaml) => { const value = jsyaml.load(yaml) return [{ type: "json", label: "JSON", value }] }, })