{"versions":{"6.0.0":{"name":"@codemirror/lang-yaml","version":"6.0.0","description":"YAML language support for the CodeMirror code editor","scripts":{"test":"cm-runtests","prepare":"cm-buildhelper src/yaml.ts"},"keywords":["editor","code"],"author":{"name":"Marijn Haverbeke","email":"marijn@haverbeke.berlin","url":"http://marijnhaverbeke.nl"},"type":"module","main":"dist/index.cjs","exports":{"import":"./dist/index.js","require":"./dist/index.cjs"},"types":"dist/index.d.ts","module":"dist/index.js","sideEffects":false,"license":"MIT","dependencies":{"@codemirror/autocomplete":"^6.0.0","@codemirror/language":"^6.0.0","@codemirror/state":"^6.0.0","@lezer/common":"^1.2.0","@lezer/yaml":"^1.0.0"},"devDependencies":{"@codemirror/buildhelper":"^1.0.0"},"repository":{"type":"git","url":"git+https://github.com/codemirror/lang-yaml.git"},"_id":"@codemirror/lang-yaml@6.0.0","gitHead":"7ce1d56555ed9abe4bb9494e07b5df50e8d21f30","bugs":{"url":"https://github.com/codemirror/lang-yaml/issues"},"homepage":"https://github.com/codemirror/lang-yaml#readme","_nodeVersion":"18.19.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-fVPapdX1oYr5HMC5bou1MHscGnNCvOHuhUW6C+V2gfIeIRcughvVfznV0OuUyHy0AdXoBCjOehjzFcmLRumu2Q==","shasum":"768b5c646939bf444ba5b87a1ca8428059fedcb5","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@codemirror/lang-yaml/-/lang-yaml-6.0.0.tgz","fileCount":9,"unpackedSize":9630,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBes1vIgKfFRj9vyV8doOSoEtkPXW5OPEKQUoy/h6hntAiEAgJxcLpBzu40pCyk469EuKZoBsVVKapwfEIOE2gkxryI="}]},"_npmUser":{"name":"anonymous","email":"marijn@haverbeke.berlin"},"directories":{},"maintainers":[{"name":"anonymous","email":"mail@adrianheine.de"},{"name":"anonymous","email":"marijn@haverbeke.berlin"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lang-yaml_6.0.0_1705909979254_0.5632386682788839"},"_hasShrinkwrap":false,"contributors":[]},"6.1.0":{"name":"@codemirror/lang-yaml","version":"6.1.0","description":"YAML language support for the CodeMirror code editor","scripts":{"test":"cm-runtests","prepare":"cm-buildhelper src/yaml.ts"},"keywords":["editor","code"],"author":{"name":"Marijn Haverbeke","email":"marijn@haverbeke.berlin","url":"http://marijnhaverbeke.nl"},"type":"module","main":"dist/index.cjs","exports":{"import":"./dist/index.js","require":"./dist/index.cjs"},"types":"dist/index.d.ts","module":"dist/index.js","sideEffects":false,"license":"MIT","dependencies":{"@codemirror/autocomplete":"^6.0.0","@codemirror/language":"^6.0.0","@codemirror/state":"^6.0.0","@lezer/common":"^1.2.0","@lezer/highlight":"^1.2.0","@lezer/yaml":"^1.0.0"},"devDependencies":{"@codemirror/buildhelper":"^1.0.0"},"repository":{"type":"git","url":"git+https://github.com/codemirror/lang-yaml.git"},"_id":"@codemirror/lang-yaml@6.1.0","gitHead":"0dc086654debe506d298f39316b8aef69222111c","bugs":{"url":"https://github.com/codemirror/lang-yaml/issues"},"homepage":"https://github.com/codemirror/lang-yaml#readme","_nodeVersion":"18.19.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-QQEEOWjHplNScULb0NCMVUcp+TPTpg42vmTcH62UMLVBkvAEFuVkhqH11f50m/pnai7qUfSLv6ZJoPv76Ky3QA==","shasum":"83cc247e29b08b40a9e39b9ec7ce98f9bba58d76","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@codemirror/lang-yaml/-/lang-yaml-6.1.0.tgz","fileCount":9,"unpackedSize":15057,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEFj+LZU/pO/xanAzCjmqa3AqzTvs178iF8Kv8u+Z1JTAiBH/VG2/NQEFRrS5+ZS3ywf6iHTKd8OCkCwKfXU3IOB2A=="}]},"_npmUser":{"name":"anonymous","email":"marijn@haverbeke.berlin"},"directories":{},"maintainers":[{"name":"anonymous","email":"mail@adrianheine.de"},{"name":"anonymous","email":"marijn@haverbeke.berlin"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lang-yaml_6.1.0_1712475418170_0.7063128333950244"},"_hasShrinkwrap":false,"contributors":[]},"6.1.1":{"name":"@codemirror/lang-yaml","version":"6.1.1","description":"YAML language support for the CodeMirror code editor","scripts":{"test":"cm-runtests","prepare":"cm-buildhelper src/yaml.ts"},"keywords":["editor","code"],"author":{"name":"Marijn Haverbeke","email":"marijn@haverbeke.berlin","url":"http://marijnhaverbeke.nl"},"type":"module","main":"dist/index.cjs","exports":{"import":"./dist/index.js","require":"./dist/index.cjs"},"types":"dist/index.d.ts","module":"dist/index.js","sideEffects":false,"license":"MIT","dependencies":{"@codemirror/autocomplete":"^6.0.0","@codemirror/language":"^6.0.0","@codemirror/state":"^6.0.0","@lezer/common":"^1.2.0","@lezer/highlight":"^1.2.0","@lezer/yaml":"^1.0.0"},"devDependencies":{"@codemirror/buildhelper":"^1.0.0"},"repository":{"type":"git","url":"git+https://github.com/codemirror/lang-yaml.git"},"_id":"@codemirror/lang-yaml@6.1.1","gitHead":"d4e532e7ecbf67e902d315cd0a418d415b956d2d","bugs":{"url":"https://github.com/codemirror/lang-yaml/issues"},"homepage":"https://github.com/codemirror/lang-yaml#readme","_nodeVersion":"18.19.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-HV2NzbK9bbVnjWxwObuZh5FuPCowx51mEfoFT9y3y+M37fA3+pbxx4I7uePuygFzDsAmCTwQSc/kXh/flab4uw==","shasum":"6f6e4e16c5a4e6d549f462c9dc2053439e070d0d","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@codemirror/lang-yaml/-/lang-yaml-6.1.1.tgz","fileCount":9,"unpackedSize":15150,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDdvueasAjUJsan/wl7PW4wgc3m6klZUxxRQ1B2wcsCXwIhAJCnP09UEECee1EALi+U5v0k5Cb3MRM9J92xzNqopNN2"}]},"_npmUser":{"name":"anonymous","email":"marijn@haverbeke.berlin"},"directories":{},"maintainers":[{"name":"anonymous","email":"mail@adrianheine.de"},{"name":"anonymous","email":"marijn@haverbeke.berlin"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lang-yaml_6.1.1_1712908478670_0.25400218384594964"},"_hasShrinkwrap":false,"contributors":[]},"6.1.2":{"name":"@codemirror/lang-yaml","version":"6.1.2","description":"YAML language support for the CodeMirror code editor","scripts":{"test":"cm-runtests","prepare":"cm-buildhelper src/yaml.ts"},"keywords":["editor","code"],"author":{"name":"Marijn Haverbeke","email":"marijn@haverbeke.berlin","url":"http://marijnhaverbeke.nl"},"type":"module","main":"dist/index.cjs","exports":{"import":"./dist/index.js","require":"./dist/index.cjs"},"types":"dist/index.d.ts","module":"dist/index.js","sideEffects":false,"license":"MIT","dependencies":{"@codemirror/autocomplete":"^6.0.0","@codemirror/language":"^6.0.0","@codemirror/state":"^6.0.0","@lezer/common":"^1.2.0","@lezer/highlight":"^1.2.0","@lezer/lr":"^1.0.0","@lezer/yaml":"^1.0.0"},"devDependencies":{"@codemirror/buildhelper":"^1.0.0"},"repository":{"type":"git","url":"git+https://github.com/codemirror/lang-yaml.git"},"_id":"@codemirror/lang-yaml@6.1.2","gitHead":"f5f75ecd9dda4825f53fce56e50a752c763032a0","bugs":{"url":"https://github.com/codemirror/lang-yaml/issues"},"homepage":"https://github.com/codemirror/lang-yaml#readme","_nodeVersion":"20.13.1","_npmVersion":"10.9.0","dist":{"integrity":"sha512-dxrfG8w5Ce/QbT7YID7mWZFKhdhsaTNOYjOkSIMt1qmC4VQnXSDSYVHHHn8k6kJUfIhtLo8t1JJgltlxWdsITw==","shasum":"c84280c68fa7af456a355d91183b5e537e9b7038","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@codemirror/lang-yaml/-/lang-yaml-6.1.2.tgz","fileCount":9,"unpackedSize":15341,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDL0ps4n//xpIY+JCwndhuyohs6R5rnjV8E+IAriQjNqQIgDNjdmpQcMEj8t9ZycGbeJLwbygM+NffPk+iamMaZErk="}],"size":4360},"_npmUser":{"name":"anonymous","email":"marijn@haverbeke.berlin"},"directories":{},"maintainers":[{"name":"anonymous","email":"mail@adrianheine.de"},{"name":"anonymous","email":"marijn@haverbeke.berlin"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/lang-yaml_6.1.2_1733819006928_0.28251373283576386"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-12-10T08:23:27.133Z","publish_time":1733819007133,"_source_registry_name":"default","contributors":[]},"6.1.3":{"name":"@codemirror/lang-yaml","version":"6.1.3","description":"YAML language support for the CodeMirror code editor","scripts":{"test":"cm-runtests","prepare":"cm-buildhelper src/yaml.ts"},"keywords":["editor","code"],"author":{"name":"Marijn Haverbeke","email":"marijn@haverbeke.berlin","url":"http://marijnhaverbeke.nl"},"type":"module","main":"dist/index.cjs","exports":{"import":"./dist/index.js","require":"./dist/index.cjs"},"types":"dist/index.d.ts","module":"dist/index.js","sideEffects":false,"license":"MIT","dependencies":{"@codemirror/autocomplete":"^6.0.0","@codemirror/language":"^6.0.0","@codemirror/state":"^6.0.0","@lezer/common":"^1.2.0","@lezer/highlight":"^1.2.0","@lezer/lr":"^1.0.0","@lezer/yaml":"^1.0.0"},"devDependencies":{"@codemirror/buildhelper":"^1.0.0"},"repository":{"type":"git","url":"git+https://github.com/codemirror/lang-yaml.git"},"gitHead":"1a5b4f7d1e5692181aa55c2dbad94da07b8ed944","_id":"@codemirror/lang-yaml@6.1.3","bugs":{"url":"https://github.com/codemirror/lang-yaml/issues"},"homepage":"https://github.com/codemirror/lang-yaml#readme","_nodeVersion":"22.20.0","_npmVersion":"11.9.0","dist":{"integrity":"sha512-AZ8DJBuXGVHybpBQhmZtgew5//4hv3tdkXnr3vDmOUMJRuB6vn/uuwtmTOTlqEaQFg3hQSVeA90NmvIQyUV6FQ==","shasum":"4d4127e8339984639715d1e3f8edca1ea5bfabfb","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@codemirror/lang-yaml/-/lang-yaml-6.1.3.tgz","fileCount":9,"unpackedSize":15718,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIBDJwaBteCsCSohlL3CWVVXTvZs1vVnChD1W0gtbKPMDAiAUIrH0jhdViYAxi+UM1EVVFtexKTXklwE8b5ioG3WGJA=="}],"size":4535},"_npmUser":{"name":"anonymous","email":"marijn@haverbeke.berlin"},"directories":{},"maintainers":[{"name":"anonymous","email":"mail@adrianheine.de"},{"name":"anonymous","email":"marijn@haverbeke.berlin"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/lang-yaml_6.1.3_1774343888010_0.1352128457772528"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-03-24T09:18:08.162Z","publish_time":1774343888162,"_source_registry_name":"default","contributors":[]}},"dist-tags":{"latest":"6.1.3"},"name":"@codemirror/lang-yaml","time":{"created":"2024-01-22T09:13:05.686Z","6.0.0":"2024-01-22T07:52:59.397Z","modified":"2026-04-13T12:43:35.399Z","6.1.0":"2024-04-07T07:36:58.335Z","6.1.1":"2024-04-12T07:54:38.834Z","6.1.2":"2024-12-10T08:23:27.133Z","6.1.3":"2026-03-24T09:18:08.162Z"},"readme":"<!-- NOTE: README.md is generated from src/README.md -->\n\n# @codemirror/lang-yaml [![NPM version](https://img.shields.io/npm/v/@codemirror/lang-yaml.svg)](https://www.npmjs.org/package/@codemirror/lang-yaml)\n\n[ [**WEBSITE**](https://codemirror.net/) | [**ISSUES**](https://github.com/codemirror/dev/issues) | [**FORUM**](https://discuss.codemirror.net/) | [**CHANGELOG**](https://github.com/codemirror/lang-yaml/blob/main/CHANGELOG.md) ]\n\nThis package implements YAML language support for the\n[CodeMirror](https://codemirror.net/) code editor.\n\nThe [project page](https://codemirror.net/) has more information, a\nnumber of [examples](https://codemirror.net/examples/) and the\n[documentation](https://codemirror.net/docs/).\n\nThis code is released under an\n[MIT license](https://github.com/codemirror/lang-yaml/tree/main/LICENSE).\n\nWe aim to be an inclusive, welcoming community. To make that explicit,\nwe have a [code of\nconduct](http://contributor-covenant.org/version/1/1/0/) that applies\nto communication around the project.\n\nThe initial implementation of this package was funded by [Braintrust Data](https://braintrustdata.com/).\n\n## Usage\n\n```javascript\nimport {EditorView, basicSetup} from \"codemirror\"\nimport {yaml} from \"@codemirror/lang-yaml\"\n\nconst view = new EditorView({\n  parent: document.body,\n  doc: `name: Ferdinand\\nage: 93`,\n  extensions: [basicSetup, yaml()]\n})\n```\n\n## API Reference\n\n<dl>\n<dt id=\"user-content-yaml\">\n  <code><strong><a href=\"#user-content-yaml\">yaml</a></strong>() → <a href=\"https://codemirror.net/docs/ref#language.LanguageSupport\">LanguageSupport</a></code></dt>\n\n<dd><p>Language support for YAML.</p>\n</dd>\n<dt id=\"user-content-yamllanguage\">\n  <code><strong><a href=\"#user-content-yamllanguage\">yamlLanguage</a></strong>: <a href=\"https://codemirror.net/docs/ref#language.LRLanguage\">LRLanguage</a></code></dt>\n\n<dd><p>A language provider based on the <a href=\"https://github.com/lezer-parser/yaml\">Lezer YAML\nparser</a>, extended with\nhighlighting and indentation information.</p>\n</dd>\n<dt id=\"user-content-yamlfrontmatter\">\n  <code><strong><a href=\"#user-content-yamlfrontmatter\">yamlFrontmatter</a></strong>(<a id=\"user-content-yamlfrontmatter^config\" href=\"#user-content-yamlfrontmatter^config\">config</a>: {content: <a href=\"https://codemirror.net/docs/ref#language.Language\">Language</a> | <a href=\"https://codemirror.net/docs/ref#language.LanguageSupport\">LanguageSupport</a>}) → <a href=\"https://codemirror.net/docs/ref#language.LanguageSupport\">LanguageSupport</a></code></dt>\n\n<dd><p>Returns language support for a document parsed as <code>config.content</code>\nwith an optional YAML &quot;frontmatter&quot; delimited by lines that\ncontain three dashes.</p>\n</dd>\n</dl>","users":{}}