{"_id":"@bpmn-io/feelers-editor","_rev":"6-f5f18a760fb10c7d23b933de60959fd2","name":"@bpmn-io/feelers-editor","dist-tags":{"latest":"1.2.0"},"versions":{"1.0.0":{"name":"@bpmn-io/feelers-editor","version":"1.0.0","keywords":["FEEL","FEELers","CodeMirror","editor"],"license":"MIT","_id":"@bpmn-io/feelers-editor@1.0.0","maintainers":[{"name":"bpmn-io-admin","email":"bpmnio@camunda.com"},{"name":"nikku","email":"git_nikku@nixis.de"},{"name":"barmac","email":"maciejbarel@gmail.com"},{"name":"philippfromme","email":"philippfromme@outlook.com"},{"name":"maxtru","email":"maximilian.trumpf@camunda.com"},{"name":"skaiir-camunda","email":"valentin.serra@camunda.com"},{"name":"vsgoulart","email":"vinicius@vsgoulart.com"},{"name":"barinali","email":"ali.barin53@gmail.com"},{"name":"jarekdanielak","email":"jarek.danielak@camunda.com"},{"name":"ev-camunda","email":"ev.bilske@camunda.com"},{"name":"alekseymanetov","email":"alekseyManetov@gmail.com"}],"homepage":"https://github.com/bpmn-io/feelers#readme","bugs":{"url":"https://github.com/bpmn-io/feelers/issues"},"dist":{"shasum":"fa081d667ae3fc024d1109658085cf087364330f","tarball":"https://registry.npmjs.org/@bpmn-io/feelers-editor/-/feelers-editor-1.0.0.tgz","fileCount":5,"integrity":"sha512-Aw41sTgHcE9YVMhlwX9uHs9vjBkPVA7Q3lp0wg9kEkXDk4ZRq7EEUIGiyoOGprFMKt9h34RIm6xMD6RgfBTczA==","signatures":[{"sig":"MEUCIQCgMkU4TLKzFxZY1cNEOeaoASi4m7mziVc+85UJMFpd6QIgJdgeJtIlWDmPSGOxDIsX9n1ipADJoIkIKdWt+jEVPQ8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":15479},"main":"lib/index.js","type":"module","types":"lib/index.d.ts","exports":{".":"./lib/index.js","./package.json":"./package.json"},"gitHead":"6f2e1a8f94090acb237a9a7ee97536e98ef956ec","scripts":{"all":"run-s build lint test test:types","dev":"npm test -- --auto-watch --no-single-run","lint":"eslint .","test":"karma start karma.conf.cjs","build":"run-s generate:types","start":"cross-env SINGLE_START=true npm run dev","prepare":"run-s build","test:types":"tsc --noEmit","generate:types":"bio-dts -r lib"},"_npmUser":{"name":"nikku","email":"git_nikku@nixis.de"},"repository":{"url":"git+https://github.com/bpmn-io/feelers.git","type":"git","directory":"packages/feelers-editor"},"_npmVersion":"11.13.0","description":"FEELers editor component built on CodeMirror 6.","directories":{},"_nodeVersion":"24.16.0","dependencies":{"mitt":"^3.0.1","min-dom":"^5.2.0","@lezer/markdown":"^1.6.3","@codemirror/lint":"^6.9.3","@codemirror/view":"^6.39.12","@bpmn-io/cm-theme":"^0.1.0-alpha.2","@codemirror/state":"^6.5.4","@codemirror/commands":"^6.10.1","@codemirror/language":"^6.12.1","@bpmn-io/feelers-lint":"^1.0.0","@bpmn-io/lang-feelers":"^1.0.0","@codemirror/autocomplete":"^6.20.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"marked":"^18.0.5","cross-env":"^10.1.0","mocha-test-container-support":"^0.2.0"},"_npmOperationalInternal":{"tmp":"tmp/feelers-editor_1.0.0_1782296614297_0.7751295607309956","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@bpmn-io/feelers-editor","version":"1.1.0","keywords":["FEEL","FEELers","CodeMirror","editor"],"license":"MIT","_id":"@bpmn-io/feelers-editor@1.1.0","maintainers":[{"name":"bpmn-io-admin","email":"bpmnio@camunda.com"},{"name":"nikku","email":"git_nikku@nixis.de"},{"name":"barmac","email":"maciejbarel@gmail.com"},{"name":"philippfromme","email":"philippfromme@outlook.com"},{"name":"maxtru","email":"maximilian.trumpf@camunda.com"},{"name":"skaiir-camunda","email":"valentin.serra@camunda.com"},{"name":"vsgoulart","email":"vinicius@vsgoulart.com"},{"name":"barinali","email":"ali.barin53@gmail.com"},{"name":"jarekdanielak","email":"jarek.danielak@camunda.com"},{"name":"ev-camunda","email":"ev.bilske@camunda.com"},{"name":"alekseymanetov","email":"alekseyManetov@gmail.com"}],"homepage":"https://github.com/bpmn-io/feelers#readme","bugs":{"url":"https://github.com/bpmn-io/feelers/issues"},"dist":{"shasum":"2cbf605b985c1b2b7168bad59760ef8b03c22673","tarball":"https://registry.npmjs.org/@bpmn-io/feelers-editor/-/feelers-editor-1.1.0.tgz","fileCount":7,"integrity":"sha512-qfrHtk+7hSiNTLMbapbNdV3obsrh92IpIBvAEYqirgLjcI55d0ZUDbdXPt7GA2npVqGGh7GcQwA/EJLR52oC2Q==","signatures":[{"sig":"MEYCIQCHfgPZegqhXv/52ZC41//GaKCHdb5RHYsrFGxOGz2szwIhAM0vW0iA6dnsKa0WOTEwakEAfTUDUKl3YotdCl2o5rXv","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":124209},"main":"lib/index.js","type":"module","types":"lib/index.d.ts","exports":{".":"./lib/index.js","./package.json":"./package.json"},"gitHead":"a0d708b247150834cca6050c77a772acf2b0b782","scripts":{"all":"run-s build lint test test:types","dev":"npm test -- --auto-watch --no-single-run","lint":"eslint .","test":"karma start karma.conf.cjs","build":"run-s generate:types","start":"cross-env SINGLE_START=true npm run dev","prepare":"run-s build","test:types":"tsc --noEmit","generate:types":"bio-dts -r lib"},"_npmUser":{"name":"nikku","email":"git_nikku@nixis.de"},"repository":{"url":"git+https://github.com/bpmn-io/feelers.git","type":"git","directory":"packages/feelers-editor"},"_npmVersion":"11.13.0","description":"FEELers editor component built on CodeMirror 6.","directories":{},"_nodeVersion":"24.16.0","dependencies":{"mitt":"^3.0.1","min-dom":"^5.2.0","@lezer/html":"^1.3.13","@lezer/common":"^1.5.1","@lezer/markdown":"^1.6.3","@codemirror/lint":"^6.9.3","@codemirror/view":"^6.39.12","@codemirror/state":"^6.5.4","@codemirror/commands":"^6.10.1","@codemirror/language":"^6.12.1","@bpmn-io/feelers-lint":"^1.0.0","@bpmn-io/lang-feelers":"^1.0.0","@codemirror/autocomplete":"^6.20.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"marked":"^18.0.5","cross-env":"^10.1.0","@bpmn-io/cm-theme":"0.2.0","mocha-test-container-support":"^0.2.0"},"peerDependencies":{"@bpmn-io/cm-theme":"^0.2.0"},"_npmOperationalInternal":{"tmp":"tmp/feelers-editor_1.1.0_1782374651805_0.03520599154896287","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@bpmn-io/feelers-editor","version":"1.1.1","keywords":["FEEL","FEELers","CodeMirror","editor"],"license":"MIT","_id":"@bpmn-io/feelers-editor@1.1.1","maintainers":[{"name":"bpmn-io-admin","email":"bpmnio@camunda.com"},{"name":"nikku","email":"git_nikku@nixis.de"},{"name":"barmac","email":"maciejbarel@gmail.com"},{"name":"philippfromme","email":"philippfromme@outlook.com"},{"name":"maxtru","email":"maximilian.trumpf@camunda.com"},{"name":"skaiir-camunda","email":"valentin.serra@camunda.com"},{"name":"vsgoulart","email":"vinicius@vsgoulart.com"},{"name":"barinali","email":"ali.barin53@gmail.com"},{"name":"jarekdanielak","email":"jarek.danielak@camunda.com"},{"name":"ev-camunda","email":"ev.bilske@camunda.com"},{"name":"alekseymanetov","email":"alekseyManetov@gmail.com"}],"homepage":"https://github.com/bpmn-io/feelers#readme","bugs":{"url":"https://github.com/bpmn-io/feelers/issues"},"dist":{"shasum":"66f42b3894b346990dd585c83f01683f7c16a40f","tarball":"https://registry.npmjs.org/@bpmn-io/feelers-editor/-/feelers-editor-1.1.1.tgz","fileCount":7,"integrity":"sha512-HNvssf1nb/OohOgFxxR0hWIpIb8JBvmr2CQ28GD/5WLPKe3uvu9mpItIjNTCpLxLuVHlsJLNDtLkf2B6tvmt9Q==","signatures":[{"sig":"MEUCIQCjZcE+bq1Z141rY8yIEDqP7UxIM+hD3nMFhIBjDXFizgIgfX8R0UOL/6x+fuBc7+9Y7ykq7TB08Dm8IWBv0fXwPZ8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":124210},"main":"lib/index.js","type":"module","types":"lib/index.d.ts","exports":{".":"./lib/index.js","./package.json":"./package.json"},"gitHead":"9176f2cc01c3b79e517ad3a74c9c2442c6023a00","scripts":{"all":"run-s build lint test test:types","dev":"npm test -- --auto-watch --no-single-run","lint":"eslint .","test":"karma start karma.conf.cjs","build":"run-s generate:types","start":"cross-env SINGLE_START=true npm run dev","prepare":"run-s build","test:types":"tsc --noEmit","generate:types":"bio-dts -r lib"},"_npmUser":{"name":"nikku","email":"git_nikku@nixis.de"},"repository":{"url":"git+https://github.com/bpmn-io/feelers.git","type":"git","directory":"packages/feelers-editor"},"_npmVersion":"11.17.0","description":"FEELers editor component built on CodeMirror 6.","directories":{},"_nodeVersion":"24.16.0","dependencies":{"mitt":"^3.0.1","min-dom":"^5.2.0","@lezer/html":"^1.3.13","@lezer/common":"^1.5.1","@lezer/markdown":"^1.6.3","@codemirror/lint":"^6.9.3","@codemirror/view":"^6.39.12","@codemirror/state":"^6.5.4","@codemirror/commands":"^6.10.1","@codemirror/language":"^6.12.1","@bpmn-io/feelers-lint":"^1.0.0","@bpmn-io/lang-feelers":"^1.0.0","@codemirror/autocomplete":"^6.20.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"marked":"^18.0.5","cross-env":"^10.1.0","@bpmn-io/cm-theme":"^0.2.2","mocha-test-container-support":"^0.2.0"},"peerDependencies":{"@bpmn-io/cm-theme":"^0.2.1"},"_npmOperationalInternal":{"tmp":"tmp/feelers-editor_1.1.1_1782848170777_0.7285890190484279","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@bpmn-io/feelers-editor","version":"1.2.0","description":"FEELers editor component built on CodeMirror 6.","type":"module","main":"lib/index.js","types":"lib/index.d.ts","scripts":{"all":"run-s build lint test test:types","build":"run-s generate:types","generate:types":"bio-dts -r lib","lint":"eslint .","test":"karma start karma.conf.cjs","test:types":"tsc --noEmit","dev":"npm test -- --auto-watch --no-single-run","start":"cross-env SINGLE_START=true npm run dev","prepare":"run-s build"},"exports":{".":"./lib/index.js","./package.json":"./package.json"},"publishConfig":{"access":"public"},"keywords":["FEEL","FEELers","CodeMirror","editor"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/bpmn-io/feelers.git","directory":"packages/feelers-editor"},"dependencies":{"@bpmn-io/cm-theme":"^0.2.2","@bpmn-io/feelers-lint":"^1.0.0","@bpmn-io/lang-feelers":"^1.0.0","@codemirror/autocomplete":"^6.20.0","@codemirror/commands":"^6.10.1","@codemirror/language":"^6.12.1","@codemirror/lint":"^6.9.3","@codemirror/state":"^6.5.4","@codemirror/view":"^6.39.12","@lezer/common":"^1.5.1","@lezer/html":"^1.3.13","@lezer/markdown":"^1.6.3","min-dom":"^5.2.0","mitt":"^3.0.1"},"devDependencies":{"cross-env":"^10.1.0","marked":"^18.0.5","mocha-test-container-support":"^0.2.0"},"gitHead":"425b665cf55fba2029695297de8585d0bef26135","_id":"@bpmn-io/feelers-editor@1.2.0","bugs":{"url":"https://github.com/bpmn-io/feelers/issues"},"homepage":"https://github.com/bpmn-io/feelers#readme","_nodeVersion":"24.18.0","_npmVersion":"11.17.0","dist":{"integrity":"sha512-Dt9JqqwWD2AxnOOTmm+Ck9jAVWLAa3+JIClgP9wmyvdjR0LcpO4b+h1P0y2HrUmRExcJNNzuus4Q00L8OqQGYQ==","shasum":"ee3b8095b2f8fd6b1e0ea0a033d7294d6f939241","tarball":"https://registry.npmjs.org/@bpmn-io/feelers-editor/-/feelers-editor-1.2.0.tgz","fileCount":7,"unpackedSize":124147,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCTGkP+h/1pGyn4PSXTO0RPx6JhcVCL8R7KlK5fzeHA1gIgZ6YYLh1bQLYO1zhkgKHoyrnIlgX5YOdvH7sQ6qq4BDk="}]},"_npmUser":{"name":"barmac","email":"maciejbarel@gmail.com"},"directories":{},"maintainers":[{"name":"bpmn-io-admin","email":"bpmnio@camunda.com"},{"name":"nikku","email":"git_nikku@nixis.de"},{"name":"barmac","email":"maciejbarel@gmail.com"},{"name":"philippfromme","email":"philippfromme@outlook.com"},{"name":"maxtru","email":"maximilian.trumpf@camunda.com"},{"name":"skaiir-camunda","email":"valentin.serra@camunda.com"},{"name":"vsgoulart","email":"vinicius@vsgoulart.com"},{"name":"barinali","email":"ali.barin53@gmail.com"},{"name":"ev-camunda","email":"ev.bilske@camunda.com"},{"name":"jarekdanielak","email":"jarek.danielak@camunda.com"},{"name":"alekseymanetov","email":"alekseyManetov@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/feelers-editor_1.2.0_1788267840887_0.03440585974609034"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-24T10:23:34.166Z","modified":"2026-09-01T13:04:01.341Z","1.0.0":"2026-06-24T10:23:34.430Z","1.1.0":"2026-06-25T08:04:11.959Z","1.1.1":"2026-06-30T19:36:10.919Z","1.2.0":"2026-09-01T13:04:01.003Z"},"bugs":{"url":"https://github.com/bpmn-io/feelers/issues"},"license":"MIT","homepage":"https://github.com/bpmn-io/feelers#readme","keywords":["FEEL","FEELers","CodeMirror","editor"],"repository":{"type":"git","url":"git+https://github.com/bpmn-io/feelers.git","directory":"packages/feelers-editor"},"description":"FEELers editor component built on CodeMirror 6.","maintainers":[{"name":"bpmn-io-admin","email":"bpmnio@camunda.com"},{"name":"nikku","email":"git_nikku@nixis.de"},{"name":"barmac","email":"maciejbarel@gmail.com"},{"name":"philippfromme","email":"philippfromme@outlook.com"},{"name":"maxtru","email":"maximilian.trumpf@camunda.com"},{"name":"skaiir-camunda","email":"valentin.serra@camunda.com"},{"name":"vsgoulart","email":"vinicius@vsgoulart.com"},{"name":"barinali","email":"ali.barin53@gmail.com"},{"name":"ev-camunda","email":"ev.bilske@camunda.com"},{"name":"jarekdanielak","email":"jarek.danielak@camunda.com"},{"name":"alekseymanetov","email":"alekseyManetov@gmail.com"}],"readme":"# @bpmn-io/feelers-editor\n\n[![CI](https://github.com/bpmn-io/feelers/actions/workflows/CI.yml/badge.svg)](https://github.com/bpmn-io/feelers/actions/workflows/CI.yml)\n\n[CodeMirror 6](https://codemirror.net/) editor component for the [FEELers](https://github.com/bpmn-io/feelers) templating language.\n\n![feelers editor - light theme](./docs/editor-light.png)\n![feelers editor - dark theme](./docs/editor-dark.png)\n\n## Usage\n\n```js\nimport { FeelersEditor } from '@bpmn-io/feelers-editor';\n\nconst editor = new FeelersEditor({\n  container: document.querySelector('#editor'),\n  value: 'Hello {{name}}!',\n  onChange: (value) => console.log(value)\n});\n```\n\n### Configuration\n\n| Option | Type | Description |\n|--------|------|-------------|\n| `container` | `Element` | DOM node that will contain the editor |\n| `value` | `string` | Initial content |\n| `onChange` | `Function` | Called when content changes |\n| `onKeyDown` | `Function` | Called on keydown events |\n| `onLint` | `Function` | Called when linting messages are available |\n| `hostLanguage` | `string` | Host language (e.g. `'markdown'`) |\n| `hostLanguageParser` | `Parser` | Custom Lezer parser for host language |\n| `readOnly` | `boolean` | Makes the editor read-only |\n| `darkMode` | `boolean` | Enables dark theme |\n| `singleLine` | `boolean` | Limits the editor to a single line |\n| `lineWrap` | `boolean` | Enables line wrapping |\n| `enableGutters` | `boolean` | Shows line numbers |\n| `contentAttributes` | `Record<string, string>` | Extra attributes on the content element |\n| `tooltipContainer` | `Element\\|string` | Container for tooltips |\n\n## Build and run\n\nPrepare the project by installing all dependencies:\n\n```sh\nnpm install\n```\n\nThen, depending on your use-case you may run any of the following commands:\n\n```sh\n# build the library and run all tests\nnpm run all\n\n# run the development setup\nnpm run dev\n\n# spin up a simple playground for local development\nnpm start\n```\n\n## Related\n\n* [feelers](https://github.com/bpmn-io/feelers) - FEELers monorepo\n* [@bpmn-io/lezer-feelers](https://github.com/bpmn-io/feelers/tree/main/packages/lezer-feelers) - FEELers parser definition\n* [@bpmn-io/lang-feelers](https://github.com/bpmn-io/feelers/tree/main/packages/lang-feelers) - FEELers language support for CodeMirror 6\n* [@bpmn-io/feelers-lint](https://github.com/bpmn-io/feelers/tree/main/packages/feelers-lint) - FEELers linting support for CodeMirror 6\n* [feelers](https://github.com/bpmn-io/feelers/tree/main/packages/feelers) - FEELers interpreter\n* [lezer-feel](https://github.com/nikku/lezer-feel) - FEEL language definition for the Lezer parser system\n\n## License\n\nMIT\n","readmeFilename":"README.md"}