{"_id":"@codemirror/view@6.43.15","dist":{"shasum":"3da2515b3919e199b68520a5b6e559c2a4cfbe9e","tarball":"http://registry-npm.ywwl.com/@codemirror/view/download/@codemirror/view-6.43.15.tgz","fileCount":8,"integrity":"sha512-HHsfpqFeHyXLs983pSRe38Xajs0vFWZQ2BuX0m7Ki8w3jZ5iD8cuR3lBz2/5/X53Dhf32SBHKh6rtSTB6tKeGw==","signatures":[{"sig":"MEYCIQCUq0u6PA3yNpFBvJKmfF6OD6pZjsK9C8Ik2k+1VCP6pQIhAKSgLJR6AA1XQ/qXmTzyM502epS3YTqLf+2vXTF5W07L","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCID1uFqiNJeujFIU7XdqxOFp7XSPGU+1e+RmmT9T7znXAAiB3bPgb6e7M9O/2FtI3bIQmC+oi9QdkFWsn2SS5yf2AdQ=="}],"unpackedSize":1264544,"size":315561,"noattachment":false,"key":"/@codemirror/view/-/@codemirror/view-6.43.15.tgz"},"main":"dist/index.cjs","name":"@codemirror/view","type":"module","types":"dist/index.d.ts","author":{"url":"http://marijnhaverbeke.nl","name":"Marijn Haverbeke","email":"marijn@haverbeke.berlin"},"module":"dist/index.js","exports":{"import":"./dist/index.js","require":"./dist/index.cjs"},"gitHead":"da63d53a7b1f9011a09481f5fa2397294104d73a","license":"MIT","scripts":{"test":"cm-runtests","prepare":"cm-buildhelper src/index.ts"},"version":"6.43.15","_npmUser":{"name":"marijn","email":"marijn@haverbeke.berlin"},"keywords":["editor","code"],"repository":{"url":"git+https://code.haverbeke.berlin/codemirror/view.git","type":"git"},"_npmVersion":"11.19.0","description":"DOM view component for the CodeMirror code editor","directories":{},"maintainers":[{"name":"marijn","email":"marijn@haverbeke.berlin"}],"sideEffects":false,"_nodeVersion":"24.21.0","dependencies":{"crelt":"^1.0.6","style-mod":"^4.1.0","w3c-keyname":"^2.2.4","@codemirror/state":"^6.7.0"},"_hasShrinkwrap":false,"devDependencies":{"@codemirror/buildhelper":"^1.0.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/view_6.43.15_1792431466699_0.9748996843003446"},"readme":"# @codemirror/view [![NPM version](https://img.shields.io/npm/v/@codemirror/view.svg)](https://www.npmjs.org/package/@codemirror/view)\n\n[ [**WEBSITE**](https://codemirror.net/) | [**DOCS**](https://codemirror.net/docs/ref/#view) | [**ISSUES**](https://code.haverbeke.berlin/codemirror/dev/issues) | [**FORUM**](https://discuss.codemirror.net/) | [**CHANGELOG**](https://code.haverbeke.berlin/codemirror/view/src/branch/main/CHANGELOG.md) ]\n\nThis package implements the DOM view component 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://code.haverbeke.berlin/codemirror/view/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\n## Usage\n\n```javascript\nimport {EditorView} from \"@codemirror/view\"\nimport {basicSetup} from \"codemirror\"\n\nconst view = new EditorView({\n  parent: document.querySelector(\"#some-node\"),\n  doc: \"Content text\",\n  extensions: [basicSetup /* ... */]\n})\n```\n\nAdd additional extensions, such as a [language\nmode](https://codemirror.net/#languages), to configure the editor.\nCall\n[`view.dispatch`](https://codemirror.net/docs/ref/#view.EditorView.dispatch)\nto update the editor's state.\n","publish_time":1792431466811,"_cnpm_publish_time":1792431466811,"dist-tags":{"beta":"6.39.0-beta.5","edit-context":"6.26.4-edit-context.1","latest":"6.44.0"}}