{"_id":"@codemirror/commands@6.11.1","dist":{"shasum":"1ec31ffb4d87babd096b5857e68cdba3bb989abd","tarball":"http://registry-npm.ywwl.com/@codemirror/commands/download/@codemirror/commands-6.11.1.tgz","fileCount":8,"integrity":"sha512-O/4hG3SC1YwcmQ0d2UVNDs+AsaNWd1iHVxbTeEBuqH+6bExAiPK3iS/BvpY6rZGURALv4ZD3sIgcCmRvw3ehBg==","signatures":[{"sig":"MEUCIBpkJH+rk1HsW24yHX8tDJGM7gj/h7f+6mz88RkVwkYNAiEA9C7FGakuSENk47l4uOCW7Yz5PxVvegv6aKtp/S/Ial4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQD2+ncYvJ5nF+8IhCtR/6E7JpqV8C+K8hd0iZydGv+JyAIgcKf4N4lpCZgG42ua+zO1cKyaO0b9LRAXmdvExR1WFOA="}],"unpackedSize":246640,"size":50461,"noattachment":false,"key":"/@codemirror/commands/-/@codemirror/commands-6.11.1.tgz"},"main":"dist/index.cjs","name":"@codemirror/commands","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":"5d2ddbbf485a7e8b17c69cf58ebaebf8e375036c","license":"MIT","scripts":{"test":"cm-runtests","prepare":"cm-buildhelper src/commands.ts"},"version":"6.11.1","_npmUser":{"name":"marijn","email":"marijn@haverbeke.berlin"},"keywords":["editor","code"],"repository":{"url":"git+https://code.haverbeke.berlin/codemirror/commands.git","type":"git"},"_npmVersion":"11.19.0","description":"Collection of editing commands for the CodeMirror code editor","directories":{},"maintainers":[{"name":"marijn","email":"marijn@haverbeke.berlin"}],"sideEffects":false,"_nodeVersion":"22.20.0","dependencies":{"@lezer/common":"^1.1.0","@codemirror/view":"^6.27.0","@codemirror/state":"^6.7.0","@codemirror/language":"^6.0.0"},"_hasShrinkwrap":false,"devDependencies":{"@codemirror/buildhelper":"^1.0.0","@codemirror/lang-javascript":"^6.0.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/commands_6.11.1_1789491276847_0.6423063889958454"},"readme":"# @codemirror/commands [![NPM version](https://img.shields.io/npm/v/@codemirror/commands.svg)](https://www.npmjs.org/package/@codemirror/commands)\n\n[ [**WEBSITE**](https://codemirror.net/) | [**DOCS**](https://codemirror.net/docs/ref/#commands) | [**ISSUES**](https://code.haverbeke.berlin/codemirror/dev/issues) | [**FORUM**](https://discuss.codemirror.net/) | [**CHANGELOG**](https://code.haverbeke.berlin/codemirror/commands/src/branch/main/CHANGELOG.md) ]\n\nThis package implements a collection of editing commands 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/commands/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, keymap} from \"@codemirror/view\"\nimport {standardKeymap, selectLine} from \"@codemirror/commands\"\n\nconst view = new EditorView({\n  parent: document.body,\n  extensions: [\n    keymap.of([\n      ...standardKeymap,\n      {key: \"Alt-l\", mac: \"Ctrl-l\", run: selectLine}\n    ])\n  ]\n})\n```","publish_time":1789491276967,"_cnpm_publish_time":1789491276967,"dist-tags":{"latest":"6.11.2"}}