{"_id":"@codemirror/commands@6.11.2","dist":{"shasum":"d6bea70b43842af826a1fd038f5018ac7af01e59","tarball":"http://registry-npm.ywwl.com/@codemirror/commands/download/@codemirror/commands-6.11.2.tgz","fileCount":8,"integrity":"sha512-NbH6Q9lmcXvf9s5/mMJIwL2Hjl2NEdsN/dDlezGnaFOQgNZ59dT7ndKUf21/PIjJacD/Ti2Ifi4TsBkO6WHvsg==","signatures":[{"sig":"MEYCIQCDfp4g7eGEjEOKBONNlEtSlCFVvjo/txM++ccQZxJ1mQIhAMkeEgZW0NW8JiFeo+p0MuUH6sz+eatiz9U2PDNFEr/V","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIBxskQF9OPr/HZDh9FGlDL2V1m3E/bbnbLEOXsQxvMPsAiANlwUfksy86SfC9TZ7ql809TsqkPb+HynssClHc9t7qw=="}],"unpackedSize":246833,"size":50520,"noattachment":false,"key":"/@codemirror/commands/-/@codemirror/commands-6.11.2.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":"2d2511920a7201ba65e3a9d86e5bd941aef8dc25","license":"MIT","scripts":{"test":"cm-runtests","prepare":"cm-buildhelper src/commands.ts"},"version":"6.11.2","_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.1","description":"Collection of editing commands for the CodeMirror code editor","directories":{},"maintainers":[{"name":"marijn","email":"marijn@haverbeke.berlin"}],"sideEffects":false,"_nodeVersion":"24.22.1","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.2_1795601594155_0.9240024504156837"},"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":1795601594255,"_cnpm_publish_time":1795601594255,"dist-tags":{"latest":"6.11.2"}}