{
  "id": "task_libraries:code-editor/javascript",
  "path": "/exapedia/javascript-code-editor-libraries",
  "template": {
    "id": "task_libraries",
    "version": 4
  },
  "title": "JavaScript code editor libraries",
  "answer": [
    {
      "t": "text",
      "text": "JavaScript code editor libraries embed an editable code area with syntax highlighting in a web page. Overlay editors lay highlighted text under a plain textarea rather than keeping a document model of their own. These libraries supply the code inputs in documentation playgrounds, admin consoles, and browser-based development tools."
    }
  ],
  "breadcrumb": [
    {
      "label": "Tools"
    },
    {
      "label": "JavaScript code editor libraries"
    }
  ],
  "sections": [
    {
      "id": "libraries_popularity",
      "anchor": "popularity",
      "heading": "Popularity",
      "blocks": [
        {
          "b": "table",
          "columns": [
            "Library",
            "Monthly downloads",
            "Stars",
            "Last release",
            "License"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#codemirror",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F125"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F126"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F132"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F129"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F127"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#monaco-editor",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F140"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F141"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F147"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F144"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F142"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#ace",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F155"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F156"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F162"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F159"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F157"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#react-simple-code-editor",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F170"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F171"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F179"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F174"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F172"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#uiw-react-textarea-code-editor",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F187"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F188"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F196"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F191"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F189"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#codejar",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F204"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F205"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F211"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F208"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F206"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#yace",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F219"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F220"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F228"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F223"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F221"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#prism-code-editor",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F236"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F237"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F245"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F240"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F238"
                }
              ]
            ]
          ],
          "variant": "pop",
          "caption": [
            {
              "t": "text",
              "text": "Downloads: "
            },
            {
              "t": "text",
              "text": "npm"
            },
            {
              "t": "text",
              "text": ", last thirty days. Stars and releases: GitHub. Amber: no release in over a year."
            }
          ]
        }
      ],
      "note": [
        {
          "t": "link",
          "href": "#codemirror",
          "label": [
            {
              "t": "text",
              "text": "CodeMirror"
            }
          ]
        },
        {
          "t": "text",
          "text": " has the most monthly downloads in this comparison, at "
        },
        {
          "t": "fact",
          "fact": "F126"
        },
        {
          "t": "text",
          "text": "."
        }
      ]
    },
    {
      "id": "libraries_capabilities",
      "anchor": "capabilities",
      "heading": "Capabilities",
      "blocks": [
        {
          "b": "table",
          "columns": [
            "Library",
            "React required",
            "Caller supplies highlighter"
          ],
          "rows": [
            [
              [
                {
                  "t": "link",
                  "href": "#codemirror",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F125"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F133"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F134"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#monaco-editor",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F140"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F148"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F149"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#ace",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F155"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F163"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F164"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#react-simple-code-editor",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F170"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F180"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F181"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#uiw-react-textarea-code-editor",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F187"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F197"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F198"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#codejar",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F204"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F212"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F213"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#yace",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F219"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F229"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F230"
                }
              ]
            ],
            [
              [
                {
                  "t": "link",
                  "href": "#prism-code-editor",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F236"
                    }
                  ]
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F246"
                }
              ],
              [
                {
                  "t": "fact",
                  "fact": "F247"
                }
              ]
            ]
          ],
          "variant": "cap"
        }
      ]
    },
    {
      "id": "libraries_entries",
      "anchor": "libraries",
      "heading": "Libraries",
      "blocks": [
        {
          "b": "entry",
          "anchor": "codemirror",
          "name": [
            {
              "t": "fact",
              "fact": "F125"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/codemirror/view"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/@codemirror/view"
            },
            {
              "label": "Docs",
              "href": "https://codemirror.net/examples/basic/"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F12"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F126"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F132"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F128"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F127"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://codemirror.net/examples/basic/",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F125"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F13"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F14"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F15"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F16"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F17"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F18"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F138"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F139"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/jupyterlab/jupyterlab",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F138"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "javascript",
              "code": "revealSelection(\n  selection: CodeEditor.IRange,\n  options?: ScrollIntoViewOptions\n): void {\n  const start = this.getOffsetAt(selection.start);\n  const end = this.getOffsetAt(selection.end);\n  this._editor.dispatch({\n    effects: EditorView.scrollIntoView(EditorSelection.range(start, end), {\n      y: options?.block,\n      x: options?.inline\n    })\n  });\n}\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/jupyterlab/jupyterlab/blob/d9277aeb24e864f96ce1fdbcb61ffd43bc34f29b/packages/codemirror/src/editor.ts",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F137"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=JavaScript%20TypeScript%20projects%20using%20%40codemirror/view%20for%20code%20editor%20model%20lifecycle%2C%20selection%20scrolling%2C%20markers%2C%20worker%20setup%20and%20content%20synchronization&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F125"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "import { basicSetup } from 'codemirror';\nimport { EditorView } from '@codemirror/view';\nnew EditorView({ doc: 'Hello world', parent: document.body, extensions: [basicSetup] });\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://codemirror.net/examples/basic/",
                  "label": [
                    {
                      "t": "text",
                      "text": "Basic setup example"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F130"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "monaco-editor",
          "name": [
            {
              "t": "fact",
              "fact": "F140"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/microsoft/monaco-editor"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/monaco-editor"
            },
            {
              "label": "Docs",
              "href": "https://github.com/microsoft/monaco-editor/blob/main/docs/integrate-esm.md"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F36"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F141"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F147"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F143"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F142"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://github.com/microsoft/monaco-editor/blob/main/docs/integrate-esm.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F140"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F37"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F38"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F39"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F40"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F41"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F42"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F43"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F44"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F153"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F154"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/suren-atoyan/monaco-react",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F153"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "javascript",
              "code": "function disposeEditor() {\n  subscriptionRef.current?.dispose();\n\n  if (keepCurrentModel) {\n    saveViewState && viewStates.set(path, editorRef.current!.saveViewState());\n  } else {\n    editorRef.current!.getModel()?.dispose();\n  }\n\n  editorRef.current!.dispose();\n\n  editorRef.current = null;\n  preventCreation.current = false;\n  setIsEditorReady(false);\n}\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/suren-atoyan/monaco-react/blob/f7ef2e686c83449babaea49815c69db3668d2ab7/src/Editor/Editor.tsx",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F152"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=JavaScript%20TypeScript%20projects%20using%20monaco-editor%20for%20code%20editor%20model%20lifecycle%2C%20selection%20scrolling%2C%20markers%2C%20worker%20setup%20and%20content%20synchronization&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F140"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "import * as monaco from 'monaco-editor/esm/vs/editor/editor.api';\nimport EditorWorker from 'monaco-editor/esm/vs/editor/editor.worker?worker';\nself.MonacoEnvironment = { getWorker: () => new EditorWorker() };\nconst host = document.body.appendChild(document.createElement('div'));\nhost.style.height = '200px';\nmonaco.editor.create(host, { value: 'Hello world', language: 'plaintext' });\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://github.com/microsoft/monaco-editor/blob/main/docs/integrate-esm.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "integrate-esm.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F145"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "ace",
          "name": [
            {
              "t": "fact",
              "fact": "F155"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/ajaxorg/ace-builds"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/ace-builds"
            },
            {
              "label": "Docs",
              "href": "https://ace.c9.io/#nav=howto"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F62"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F156"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F162"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F158"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F157"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://ace.c9.io/#nav=howto",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F155"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F63"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F64"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F65"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F66"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F67"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F68"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F168"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F169"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/securingsincity/react-ace",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F168"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "javascript",
              "code": "public handleMarkers(markers: IMarker[]) {\n  // remove foreground markers\n  let currentMarkers = this.editor.getSession().getMarkers(true);\n  for (const i in currentMarkers) {\n    if (currentMarkers.hasOwnProperty(i)) {\n      this.editor.getSession().removeMarker(currentMarkers[i].id);\n    }\n  }\n  // remove background markers except active line marker and selected word marker\n  currentMarkers = this.editor.getSession().getMarkers(false);\n  for (const i in currentMarkers) {\n    if (\n      currentMarkers.hasOwnProperty(i) &&\n      currentMarkers[i].clazz !== \"ace_active-line\" &&\n      currentMarkers[i].clazz !== \"ace_selected-word\"\n    ) {\n      this.editor.getSession().removeMarker(currentMarkers[i].id);\n    }\n  }\n  // add new markers\n  markers.forEach(\n    ({\n      startRow,\n      startCol,\n      endRow,\n      endCol,\n      className,\n      type,\n      inFront = false\n    }) => {\n      const range = new Range(startRow, startCol, endRow, endCol);\n      this.editor.getSession().addMarker(range, className, type, inFront);\n    }\n  );\n}\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/securingsincity/react-ace/blob/334f49e2681ed5c2a84847b739d821d4b8df9534/src/ace.tsx",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F167"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=JavaScript%20TypeScript%20projects%20using%20ace-builds%20for%20code%20editor%20model%20lifecycle%2C%20selection%20scrolling%2C%20markers%2C%20worker%20setup%20and%20content%20synchronization&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F155"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "import * as ace from 'ace-builds';\nconst host = document.body.appendChild(document.createElement('div'));\nhost.style.height = '200px';\nace.edit(host, { value: 'Hello world', mode: 'ace/mode/text' });\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://ace.c9.io/#nav=howto",
                  "label": [
                    {
                      "t": "text",
                      "text": "How-to guide"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F160"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "react-simple-code-editor",
          "name": [
            {
              "t": "fact",
              "fact": "F170"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/react-simple-code-editor/react-simple-code-editor"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/react-simple-code-editor"
            },
            {
              "label": "Docs",
              "href": "https://cdn.jsdelivr.net/npm/react-simple-code-editor@0.14.1/README.md"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F253"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F171"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F179"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F173"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F172"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://cdn.jsdelivr.net/npm/react-simple-code-editor@0.14.1/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F170"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F254"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F255"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F256"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F257"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F185"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F186"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/styleguidist/react-styleguidist",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F185"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "tsx",
              "code": "public render() {\n\treturn (\n\t\t<SimpleEditor\n\t\t\tclassName={this.props.classes.root}\n\t\t\tvalue={this.state.code}\n\t\t\tonValueChange={this.handleChange}\n\t\t\thighlight={highlight}\n\t\t\t// Padding should be passed via a prop (not CSS) for a proper\n\t\t\t// cursor position calculation\n\t\t\tpadding={space[2]}\n\t\t/>\n\t);\n}\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/styleguidist/react-styleguidist/blob/c223f9a279f4e872cf6ff925fb21d2a7f6e27a77/src/client/rsg-components/Editor/Editor.tsx#L79-L91",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F184"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=react-simple-code-editor%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F170"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "tsx",
              "code": "import { useState } from 'react';\nimport Editor from 'react-simple-code-editor';\nimport { highlight, languages } from 'prismjs';\nimport 'prismjs/components/prism-clike';\nimport 'prismjs/components/prism-javascript';\n\nexport default function App() {\n  const [value, setValue] = useState('const answer = 42;');\n  return <Editor value={value} onValueChange={setValue} highlight={code => highlight(code, languages.js, 'javascript')} style={{ fontFamily: 'monospace', fontSize: 14 }} />;\n}\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://cdn.jsdelivr.net/npm/react-simple-code-editor@0.14.1/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F175"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "uiw-react-textarea-code-editor",
          "name": [
            {
              "t": "fact",
              "fact": "F187"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/uiwjs/react-textarea-code-editor"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/@uiw/react-textarea-code-editor"
            },
            {
              "label": "Docs",
              "href": "https://cdn.jsdelivr.net/npm/@uiw/react-textarea-code-editor@3.1.3/README.md"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F258"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F188"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F196"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F190"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F189"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://cdn.jsdelivr.net/npm/@uiw/react-textarea-code-editor@3.1.3/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F187"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F259"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F260"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F261"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F262"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F202"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F203"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/keycloak/keycloak",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F202"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "tsx",
              "code": "const CodeEditor = ({\n  onChange,\n  height = 128,\n  value,\n  language,\n  ...rest\n}: CodeEditorProps) => {\n  const codeEditor = useMemo(\n    () => (\n      <CodeEditorComponent\n        padding={15}\n        minHeight={height}\n        style={{\n          fontFamily:\n            'ui-monospace, SFMono-Regular, Menlo, Consolas, \"Liberation Mono\", monospace',\n          fontSize: \"16px\",\n        }}\n        onChange={(event) => onChange?.(event.target.value)}\n        value={value}\n        language={language}\n        {...rest}\n      />\n    ),\n    [value, language],\n  );\n\n  return (\n    <div style={{ height: `${height}px`, overflow: \"auto\" }}>{codeEditor}</div>\n  );\n};\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/keycloak/keycloak/blob/7148a5e3ba19f62c15dc0c4be358d5123cdc51bf/js/apps/admin-ui/src/components/form/CodeEditor.tsx#L16-L45",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F201"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=%40uiw/react-textarea-code-editor%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F187"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "tsx",
              "code": "import { useState } from 'react';\nimport CodeEditor from '@uiw/react-textarea-code-editor';\n\nexport default function App() {\n  const [value, setValue] = useState('const answer = 42;');\n  return <CodeEditor value={value} language=\"js\" onChange={event => setValue(event.target.value)} />;\n}\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://cdn.jsdelivr.net/npm/@uiw/react-textarea-code-editor@3.1.3/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F192"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "codejar",
          "name": [
            {
              "t": "fact",
              "fact": "F204"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/antonmedv/codejar"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/codejar"
            },
            {
              "label": "Docs",
              "href": "https://cdn.jsdelivr.net/npm/codejar@5.0.0/README.md"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F85"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F205"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F211"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F207"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F206"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://cdn.jsdelivr.net/npm/codejar@5.0.0/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F204"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F86"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F87"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F88"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F89"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F90"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F91"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F92"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F93"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F217"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F218"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/iximiuz/kexp",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F217"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "javascript",
              "code": "() => {\n  Prism.manual = true;\n\n  // const highlight = (editor) => {\n  //   editor.innerHTML = Prism.highlight(editor.textContent, Prism.languages.yaml, \"yaml\");\n  //   Prism.highlightAll();\n  // };\n  jar = CodeJar(editor.value!, (elem) => Prism.highlightElement(elem), {\n    tab: \"  \",\n  });\n  jar.updateCode(props.code);\n\n  jar.onUpdate((code) => {\n    emit(\"codeChange\", code);\n  });\n\n  if (!props.editable) {\n    editor.value!.setAttribute(\"contenteditable\", \"false\");\n  }\n}\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/iximiuz/kexp/blob/bb1bc8e532e1e26a32d135f453bdc0efddab0ef2/ui/src/components/CodeEditor.vue#L37-L56",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F216"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=JavaScript%20TypeScript%20projects%20using%20codejar%20for%20code%20editor%20model%20lifecycle%2C%20selection%20scrolling%2C%20markers%2C%20worker%20setup%20and%20content%20synchronization&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F204"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "import { CodeJar } from 'codejar';\nimport Prism from 'prismjs';\nimport 'prismjs/themes/prism.css';\nconst host = document.body.appendChild(document.createElement('pre'));\nhost.textContent = 'const answer = 42;';\nCodeJar(host, element => {\n  element.innerHTML = Prism.highlight(element.textContent ?? '', Prism.languages.js, 'js');\n});\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://cdn.jsdelivr.net/npm/codejar@5.0.0/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F209"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "yace",
          "name": [
            {
              "t": "fact",
              "fact": "F219"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/petersolopov/yace"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/yace"
            },
            {
              "label": "Docs",
              "href": "https://cdn.jsdelivr.net/npm/yace@1.1.1/README.md"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F263"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F220"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F228"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F222"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F221"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://cdn.jsdelivr.net/npm/yace@1.1.1/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F219"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F264"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F265"
                }
              ]
            }
          ],
          "cons": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F266"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F267"
                }
              ]
            }
          ],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F234"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F235"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/QuantumNous/new-api",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F234"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "javascript",
              "code": "() => {\n    const editor = editorRef.current\n    if (!editor || editor.value === value) {\n      return\n    }\n\n    editor.update({ value })\n  }\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/QuantumNous/new-api/blob/3a407cc9b064fe79a4ffac4146b2690c465dc929/web/src/components/json-code-editor.tsx#L184-L191",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F233"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=yace%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F219"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "import { Yace } from 'yace';\nimport { code } from 'yace/highlighters/code';\nimport { history, tab, preserveIndent } from 'yace/plugins';\nconst host = document.body.appendChild(document.createElement('div'));\nnew Yace(host, { value: 'const answer = 42;', lineNumbers: true, highlighters: [code()], plugins: [history(), tab(), preserveIndent()] });\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://cdn.jsdelivr.net/npm/yace@1.1.1/README.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "README.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F224"
            }
          ]
        },
        {
          "b": "entry",
          "anchor": "prism-code-editor",
          "name": [
            {
              "t": "fact",
              "fact": "F236"
            }
          ],
          "links": [
            {
              "label": "GitHub",
              "href": "https://github.com/jonpyt/prism-code-editor"
            },
            {
              "label": "npm",
              "href": "https://www.npmjs.com/package/prism-code-editor"
            },
            {
              "label": "Docs",
              "href": "https://cdn.jsdelivr.net/npm/prism-code-editor@5.4.0/readme.md"
            }
          ],
          "what": [
            {
              "t": "fact",
              "fact": "F268"
            }
          ],
          "facts": [
            {
              "label": "Downloads / mo",
              "value": [
                {
                  "t": "fact",
                  "fact": "F237"
                }
              ]
            },
            {
              "label": "Stars",
              "value": [
                {
                  "t": "fact",
                  "fact": "F245"
                }
              ]
            },
            {
              "label": "Last release",
              "value": [
                {
                  "t": "fact",
                  "fact": "F239"
                }
              ]
            },
            {
              "label": "License",
              "value": [
                {
                  "t": "fact",
                  "fact": "F238"
                }
              ]
            },
            {
              "label": "Capabilities",
              "value": [
                {
                  "t": "link",
                  "href": "https://cdn.jsdelivr.net/npm/prism-code-editor@5.4.0/readme.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "From the "
                    },
                    {
                      "t": "fact",
                      "fact": "F236"
                    },
                    {
                      "t": "text",
                      "text": " docs"
                    }
                  ]
                }
              ]
            }
          ],
          "pros": [
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F269"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F270"
                }
              ]
            },
            {
              "lead": [
                {
                  "t": "fact",
                  "fact": "F271"
                }
              ],
              "body": [
                {
                  "t": "fact",
                  "fact": "F272"
                }
              ]
            }
          ],
          "cons": [],
          "tabs": [
            {
              "label": [
                {
                  "t": "fact",
                  "fact": "F251"
                }
              ],
              "stars": [
                {
                  "t": "fact",
                  "fact": "F252"
                }
              ],
              "usedBy": [
                {
                  "t": "link",
                  "href": "https://github.com/springwolf/springwolf-core",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F251"
                    }
                  ]
                },
                {
                  "t": "text",
                  "text": " "
                }
              ],
              "language": "javascript",
              "code": "initEditor(): PrismEditor {\n  const editor = createEditor(this.editorContainer.nativeElement, {\n    value: this.code(),\n    language: this.language(),\n    lineNumbers: false,\n    wordWrap: true,\n    readOnly: this.readonly(),\n\n    onUpdate: (code: string) => {\n      this.code.set(code);\n    },\n  });\n  editor.addExtensions(\n    copyButton(),\n    matchBrackets(true),\n    highlightBracketPairs(),\n    editHistory()\n  );\n\n  this.code.subscribe(() => {\n    this.editor?.update();\n  });\n\n  return editor;\n}\n",
              "prov": [
                {
                  "t": "link",
                  "href": "https://github.com/springwolf/springwolf-core/blob/ed0f1984d99c3f2827530ec0de1b5bdad412935a/springwolf-ui/src/app/components/code/prism-editor.component.ts#L58-L82",
                  "label": [
                    {
                      "t": "fact",
                      "fact": "F250"
                    }
                  ]
                }
              ],
              "more": [
                {
                  "t": "link",
                  "href": "https://dashboard.exa.ai/playground/search?q=prism-code-editor%20GitHub%20projects",
                  "label": [
                    {
                      "t": "text",
                      "text": "More projects using "
                    },
                    {
                      "t": "fact",
                      "fact": "F236"
                    },
                    {
                      "t": "text",
                      "text": " →"
                    }
                  ]
                }
              ]
            },
            {
              "label": [
                {
                  "t": "text",
                  "text": "Quickstart"
                }
              ],
              "language": "javascript",
              "code": "import { basicEditor } from 'prism-code-editor/setups';\nimport 'prism-code-editor/prism/languages/markup';\nconst host = document.body.appendChild(document.createElement('div'));\nhost.style.display = 'grid';\nbasicEditor(host, { language: 'html', theme: 'github-dark', value: '<h1>Hello world</h1>' });\n",
              "prov": [
                {
                  "t": "text",
                  "text": "From "
                },
                {
                  "t": "link",
                  "href": "https://cdn.jsdelivr.net/npm/prism-code-editor@5.4.0/readme.md",
                  "label": [
                    {
                      "t": "text",
                      "text": "readme.md"
                    }
                  ]
                }
              ]
            }
          ],
          "install": [
            {
              "t": "fact",
              "fact": "F241"
            }
          ]
        }
      ]
    }
  ],
  "questions": [
    {
      "q": "CodeMirror vs Monaco: which should I use?",
      "a": [
        {
          "t": "link",
          "href": "#codemirror",
          "label": [
            {
              "t": "text",
              "text": "CodeMirror"
            }
          ]
        },
        {
          "t": "text",
          "text": " assembles the editor from separate modules, and an app installs only the features it needs. "
        },
        {
          "t": "link",
          "href": "#monaco-editor",
          "label": [
            {
              "t": "text",
              "text": "Monaco Editor"
            }
          ]
        },
        {
          "t": "text",
          "text": " is generated from Visual Studio Code's sources and brings language completion providers. Monaco does not support mobile browsers."
        }
      ]
    },
    {
      "q": "What is a good CodeMirror alternative?",
      "a": [
        {
          "t": "link",
          "href": "#monaco-editor",
          "label": [
            {
              "t": "text",
              "text": "Monaco Editor"
            }
          ]
        },
        {
          "t": "text",
          "text": " and "
        },
        {
          "t": "link",
          "href": "#ace",
          "label": [
            {
              "t": "text",
              "text": "Ace"
            }
          ]
        },
        {
          "t": "text",
          "text": " also provide full browser editors. For a small embed or a form field, "
        },
        {
          "t": "link",
          "href": "#react-simple-code-editor",
          "label": [
            {
              "t": "text",
              "text": "react-simple-code-editor"
            }
          ]
        },
        {
          "t": "text",
          "text": ", "
        },
        {
          "t": "link",
          "href": "#yace",
          "label": [
            {
              "t": "text",
              "text": "Yace"
            }
          ]
        },
        {
          "t": "text",
          "text": ", and "
        },
        {
          "t": "link",
          "href": "#codejar",
          "label": [
            {
              "t": "text",
              "text": "CodeJar"
            }
          ]
        },
        {
          "t": "text",
          "text": " highlight code over a plain editing surface."
        }
      ]
    },
    {
      "q": "Which JavaScript code editor library has the most downloads?",
      "a": [
        {
          "t": "link",
          "href": "#codemirror",
          "label": [
            {
              "t": "text",
              "text": "CodeMirror"
            }
          ]
        },
        {
          "t": "text",
          "text": " has the most monthly downloads in this comparison, at "
        },
        {
          "t": "fact",
          "fact": "F126"
        },
        {
          "t": "text",
          "text": " for its view package."
        }
      ]
    },
    {
      "q": "Can Monaco workers start from a locally opened file?",
      "a": [
        {
          "t": "fact",
          "fact": "F115"
        }
      ]
    },
    {
      "q": "Does CodeMirror view include every editing feature?",
      "a": [
        {
          "t": "fact",
          "fact": "F117"
        },
        {
          "t": "text",
          "text": " "
        },
        {
          "t": "fact",
          "fact": "F118"
        }
      ]
    },
    {
      "q": "Does enabling Ace autocomplete require another file?",
      "a": [
        {
          "t": "fact",
          "fact": "F120"
        }
      ]
    }
  ],
  "facts": {
    "F1": {
      "label": "Library name, @codemirror/view",
      "display": "CodeMirror",
      "asOf": "2026-11-17"
    },
    "F2": {
      "label": "Monthly downloads, @codemirror/view",
      "display": "88.0M",
      "asOf": "2026-11-15"
    },
    "F3": {
      "label": "License, @codemirror/view",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F4": {
      "label": "Package release, @codemirror/view",
      "display": "6.43.15",
      "asOf": "2026-11-17"
    },
    "F5": {
      "label": "Undated package release, @codemirror/view",
      "display": "v6.43.15",
      "asOf": "2026-11-17"
    },
    "F6": {
      "label": "Repository stars, @codemirror/view",
      "display": "178",
      "asOf": "2026-11-17"
    },
    "F7": {
      "label": "Highlights syntax, @codemirror/view",
      "display": "Via plugin",
      "asOf": "2026-11-17"
    },
    "F8": {
      "label": "Shows line numbers, @codemirror/view",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F9": {
      "label": "Supports undo, @codemirror/view",
      "display": "Via plugin",
      "asOf": "2026-11-17"
    },
    "F10": {
      "label": "Completes code, @codemirror/view",
      "display": "Via plugin",
      "asOf": "2026-11-17"
    },
    "F11": {
      "label": "Install, @codemirror/view",
      "display": "npm install @codemirror/view @codemirror/state @codemirror/commands",
      "asOf": "2026-11-17"
    },
    "F12": {
      "label": "What it does, @codemirror/view",
      "display": "Provides the view layer of a modular browser text and code editor.",
      "asOf": "2026-11-17"
    },
    "F13": {
      "label": "strengths lead, @codemirror/view",
      "display": "Selects features through separate modules",
      "asOf": "2026-11-17"
    },
    "F14": {
      "label": "strengths, @codemirror/view",
      "display": "Choose the editor features the application needs.",
      "asOf": "2026-11-17"
    },
    "F15": {
      "label": "strengths lead, @codemirror/view",
      "display": "Adds configurable gutter controls",
      "asOf": "2026-11-17"
    },
    "F16": {
      "label": "strengths, @codemirror/view",
      "display": "Use line numbers or build custom controls beside the code.",
      "asOf": "2026-11-17"
    },
    "F17": {
      "label": "limitations lead, @codemirror/view",
      "display": "Editing features need assembly",
      "asOf": "2026-11-17"
    },
    "F18": {
      "label": "limitations, @codemirror/view",
      "display": "Install and import the separate editing features the application needs.",
      "asOf": "2026-11-17"
    },
    "F19": {
      "label": "Quickstart, @codemirror/view",
      "display": "import {EditorState} from \"@codemirror/state\"\nimport {EditorView, keymap} from \"@codemirror/view\"\nimport {defaultKeymap} from \"@codemirror/commands\"\n\nlet startState = EditorState.create({\n  doc: \"Hello World\",\n  extensions: [keymap.of(defaultKeymap)]\n})\n\nlet view = new EditorView({\n  state: startState,\n  parent: document.body\n})\n\n",
      "asOf": "2026-11-17"
    },
    "F20": {
      "label": "Project function, @codemirror/view",
      "display": "revealSelection(\n    selection: CodeEditor.IRange,\n    options?: ScrollIntoViewOptions\n  ): void {\n    const start = this.getOffsetAt(selection.start);\n    const end = this.getOffsetAt(selection.end);\n    this._editor.dispatch({\n      effects: EditorView.scrollIntoView(EditorSelection.range(start, end), {\n        y: options?.block,\n        x: options?.inline\n      })\n    });\n  }\n",
      "asOf": "2026-11-17"
    },
    "F21": {
      "label": "Project function reference, @codemirror/view",
      "display": "editor.ts · revealSelection()",
      "asOf": "2026-11-17"
    },
    "F22": {
      "label": "Project repository, @codemirror/view",
      "display": "jupyterlab/jupyterlab",
      "asOf": "2026-11-17"
    },
    "F23": {
      "label": "Project stars, jupyterlab/jupyterlab",
      "display": "15.4K",
      "asOf": "2026-11-17"
    },
    "F24": {
      "label": "Project push date, jupyterlab/jupyterlab",
      "display": "Nov 2026",
      "asOf": "2026-11-15"
    },
    "F25": {
      "label": "Library name, monaco-editor",
      "display": "Monaco Editor",
      "asOf": "2026-11-17"
    },
    "F26": {
      "label": "Monthly downloads, monaco-editor",
      "display": "50.3M",
      "asOf": "2026-11-15"
    },
    "F27": {
      "label": "License, monaco-editor",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F28": {
      "label": "Package release, monaco-editor",
      "display": "0.57.0",
      "asOf": "2026-11-17"
    },
    "F29": {
      "label": "Undated package release, monaco-editor",
      "display": "v0.57.0",
      "asOf": "2026-11-17"
    },
    "F30": {
      "label": "Repository stars, monaco-editor",
      "display": "47.0K",
      "asOf": "2026-11-17"
    },
    "F31": {
      "label": "Highlights syntax, monaco-editor",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F32": {
      "label": "Shows line numbers, monaco-editor",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F33": {
      "label": "Supports undo, monaco-editor",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F34": {
      "label": "Completes code, monaco-editor",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F35": {
      "label": "Install, monaco-editor",
      "display": "npm install monaco-editor",
      "asOf": "2026-11-17"
    },
    "F36": {
      "label": "What it does, monaco-editor",
      "display": "Provides the browser editor generated from Visual Studio Code sources.",
      "asOf": "2026-11-17"
    },
    "F37": {
      "label": "strengths lead, monaco-editor",
      "display": "Supports language completion providers",
      "asOf": "2026-11-17"
    },
    "F38": {
      "label": "strengths, monaco-editor",
      "display": "Add completion items for the current document and cursor position.",
      "asOf": "2026-11-17"
    },
    "F39": {
      "label": "strengths lead, monaco-editor",
      "display": "Allows custom syntax highlighting",
      "asOf": "2026-11-17"
    },
    "F40": {
      "label": "strengths, monaco-editor",
      "display": "Define syntax highlighting through a declarative Monarch specification.",
      "asOf": "2026-11-17"
    },
    "F41": {
      "label": "limitations lead, monaco-editor",
      "display": "Workers need a web server",
      "asOf": "2026-11-17"
    },
    "F42": {
      "label": "limitations, monaco-editor",
      "display": "Serve the editor over HTTP or HTTPS so workers can start.",
      "asOf": "2026-11-17"
    },
    "F43": {
      "label": "limitations lead, monaco-editor",
      "display": "Mobile browsers are unsupported",
      "asOf": "2026-11-17"
    },
    "F44": {
      "label": "limitations, monaco-editor",
      "display": "Choose another editor when mobile browser support is required.",
      "asOf": "2026-11-17"
    },
    "F45": {
      "label": "Quickstart, monaco-editor",
      "display": "import * as monaco from 'monaco-editor';\nimport './index.css';\n\n// @ts-ignore\nself.MonacoEnvironment = {\n\tgetWorkerUrl: function (moduleId, label) {\n\t\tif (label === 'json') {\n\t\t\treturn './json.worker.bundle.js';\n\t\t}\n\t\tif (label === 'css' || label === 'scss' || label === 'less') {\n\t\t\treturn './css.worker.bundle.js';\n\t\t}\n\t\tif (label === 'html' || label === 'handlebars' || label === 'razor') {\n\t\t\treturn './html.worker.bundle.js';\n\t\t}\n\t\tif (label === 'typescript' || label === 'javascript') {\n\t\t\treturn './ts.worker.bundle.js';\n\t\t}\n\t\treturn './editor.worker.bundle.js';\n\t}\n};\n\nmonaco.editor.create(document.body, {\n\tvalue: ['function x() {', '\\tconsole.log(\"Hello world!\");', '}'].join('\\n'),\n\tlanguage: 'typescript'\n});\n",
      "asOf": "2026-11-17"
    },
    "F46": {
      "label": "Project function, monaco-editor",
      "display": "const createEditor = useCallback(() => {\n    if (!containerRef.current || !monacoRef.current) return;\n    if (!preventCreation.current) {\n      beforeMountRef.current(monacoRef.current);\n      const autoCreatedModelPath = path || defaultPath;\n\n      const defaultModel = getOrCreateModel(\n        monacoRef.current,\n        value || defaultValue || '',\n        defaultLanguage || language || '',\n        autoCreatedModelPath || '',\n      );\n\n      editorRef.current = monacoRef.current?.editor.create(\n        containerRef.current,\n        {\n          model: defaultModel,\n          automaticLayout: true,\n          ...options,\n        },\n        overrideServices,\n      );\n\n      saveViewState && editorRef.current.restoreViewState(viewStates.get(autoCreatedModelPath));\n\n      monacoRef.current.editor.setTheme(theme);\n\n      if (line !== undefined) {\n        editorRef.current.revealLine(line);\n      }\n\n      setIsEditorReady(true);\n      preventCreation.current = true;\n    }\n  }, [\n    defaultValue,\n    defaultLanguage,\n    defaultPath,\n    value,\n    language,\n    path,\n    options,\n    overrideServices,\n    saveViewState,\n    theme,\n    line,\n  ]);\n",
      "asOf": "2026-11-17"
    },
    "F47": {
      "label": "Project function reference, monaco-editor",
      "display": "Editor.tsx · createEditor()",
      "asOf": "2026-11-17"
    },
    "F48": {
      "label": "Project repository, monaco-editor",
      "display": "suren-atoyan/monaco-react",
      "asOf": "2026-11-17"
    },
    "F49": {
      "label": "Project stars, suren-atoyan/monaco-react",
      "display": "4.8K",
      "asOf": "2026-11-17"
    },
    "F50": {
      "label": "Project push date, suren-atoyan/monaco-react",
      "display": "Oct 2026",
      "asOf": "2026-10-26"
    },
    "F51": {
      "label": "Library name, ace-builds",
      "display": "Ace",
      "asOf": "2026-11-17"
    },
    "F52": {
      "label": "Monthly downloads, ace-builds",
      "display": "7.6M",
      "asOf": "2026-11-15"
    },
    "F53": {
      "label": "License, ace-builds",
      "display": "BSD-3-Clause",
      "asOf": "2026-11-17"
    },
    "F54": {
      "label": "Package release, ace-builds",
      "display": "1.45.2",
      "asOf": "2026-11-17"
    },
    "F55": {
      "label": "Undated package release, ace-builds",
      "display": "v1.45.2",
      "asOf": "2026-11-17"
    },
    "F56": {
      "label": "Repository stars, ace-builds",
      "display": "3.1K",
      "asOf": "2026-11-17"
    },
    "F57": {
      "label": "Highlights syntax, ace-builds",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F58": {
      "label": "Shows line numbers, ace-builds",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F59": {
      "label": "Supports undo, ace-builds",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F60": {
      "label": "Completes code, ace-builds",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F61": {
      "label": "Install, ace-builds",
      "display": "npm install ace-builds",
      "asOf": "2026-11-17"
    },
    "F62": {
      "label": "What it does, ace-builds",
      "display": "Provides prepackaged browser builds of the Ace code editor.",
      "asOf": "2026-11-17"
    },
    "F63": {
      "label": "strengths lead, ace-builds",
      "display": "Groups edits for undo",
      "asOf": "2026-11-17"
    },
    "F64": {
      "label": "strengths, ace-builds",
      "display": "Control which edits belong to the same undo step.",
      "asOf": "2026-11-17"
    },
    "F65": {
      "label": "strengths lead, ace-builds",
      "display": "Supports editor markers",
      "asOf": "2026-11-17"
    },
    "F66": {
      "label": "strengths, ace-builds",
      "display": "Add editor ranges with custom styles through the session marker API.",
      "asOf": "2026-11-17"
    },
    "F67": {
      "label": "limitations lead, ace-builds",
      "display": "Completion needs its extension file",
      "asOf": "2026-11-17"
    },
    "F68": {
      "label": "limitations, ace-builds",
      "display": "Load ext-language_tools.js before enabling autocomplete.",
      "asOf": "2026-11-17"
    },
    "F69": {
      "label": "Quickstart, ace-builds",
      "display": "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n<title>ACE in Action</title>\n<style type=\"text/css\" media=\"screen\">\n    #editor { \n        position: absolute;\n        top: 0;\n        right: 0;\n        bottom: 0;\n        left: 0;\n    }\n</style>\n</head>\n<body>\n\n<div id=\"editor\">function foo(items) {\n    var x = \"All this is syntax highlighted\";\n    return x;\n}</div>\n    \n<script src=\"/ace-builds/src-noconflict/ace.js\" type=\"text/javascript\" charset=\"utf-8\"></script>\n<script>\n    var editor = ace.edit(\"editor\");\n    editor.setTheme(\"ace/theme/monokai\");\n    editor.session.setMode(\"ace/mode/javascript\");\n</script>\n</body>\n</html>\n",
      "asOf": "2026-11-17"
    },
    "F70": {
      "label": "Project function, ace-builds",
      "display": "public handleMarkers(markers: IMarker[]) {\n    // remove foreground markers\n    let currentMarkers = this.editor.getSession().getMarkers(true);\n    for (const i in currentMarkers) {\n      if (currentMarkers.hasOwnProperty(i)) {\n        this.editor.getSession().removeMarker(currentMarkers[i].id);\n      }\n    }\n    // remove background markers except active line marker and selected word marker\n    currentMarkers = this.editor.getSession().getMarkers(false);\n    for (const i in currentMarkers) {\n      if (\n        currentMarkers.hasOwnProperty(i) &&\n        currentMarkers[i].clazz !== \"ace_active-line\" &&\n        currentMarkers[i].clazz !== \"ace_selected-word\"\n      ) {\n        this.editor.getSession().removeMarker(currentMarkers[i].id);\n      }\n    }\n    // add new markers\n    markers.forEach(\n      ({\n        startRow,\n        startCol,\n        endRow,\n        endCol,\n        className,\n        type,\n        inFront = false\n      }) => {\n        const range = new Range(startRow, startCol, endRow, endCol);\n        this.editor.getSession().addMarker(range, className, type, inFront);\n      }\n    );\n  }\n",
      "asOf": "2026-11-17"
    },
    "F71": {
      "label": "Project function reference, ace-builds",
      "display": "ace.tsx · handleMarkers()",
      "asOf": "2026-11-17"
    },
    "F72": {
      "label": "Project repository, ace-builds",
      "display": "securingsincity/react-ace",
      "asOf": "2026-11-17"
    },
    "F73": {
      "label": "Project stars, securingsincity/react-ace",
      "display": "4.2K",
      "asOf": "2026-11-17"
    },
    "F74": {
      "label": "Project push date, securingsincity/react-ace",
      "display": "Oct 2026",
      "asOf": "2026-10-27"
    },
    "F75": {
      "label": "Library name, codejar",
      "display": "CodeJar",
      "asOf": "2026-11-17"
    },
    "F76": {
      "label": "Monthly downloads, codejar",
      "display": "162.9K",
      "asOf": "2026-11-15"
    },
    "F77": {
      "label": "License, codejar",
      "display": "MIT",
      "asOf": "2026-11-17"
    },
    "F78": {
      "label": "Package release, codejar",
      "display": "5.0.0",
      "asOf": "2026-11-17"
    },
    "F79": {
      "label": "Undated package release, codejar",
      "display": "v5.0.0",
      "asOf": "2026-11-17"
    },
    "F80": {
      "label": "Repository stars, codejar",
      "display": "2.0K",
      "asOf": "2026-11-17"
    },
    "F81": {
      "label": "Highlights syntax, codejar",
      "display": "Via plugin",
      "asOf": "2026-11-17"
    },
    "F82": {
      "label": "Shows line numbers, codejar",
      "display": "Via plugin",
      "asOf": "2026-11-17"
    },
    "F83": {
      "label": "Supports undo, codejar",
      "display": "Built-in",
      "asOf": "2026-11-17"
    },
    "F84": {
      "label": "Install, codejar",
      "display": "npm install codejar prismjs",
      "asOf": "2026-11-17"
    },
    "F85": {
      "label": "What it does, codejar",
      "display": "Provides an embeddable browser code editor using a contenteditable host.",
      "asOf": "2026-11-17"
    },
    "F86": {
      "label": "strengths lead, codejar",
      "display": "Edits highlighted content directly",
      "asOf": "2026-11-17"
    },
    "F87": {
      "label": "strengths, codejar",
      "display": "Type directly in the highlighted contenteditable host.",
      "asOf": "2026-11-17"
    },
    "F88": {
      "label": "strengths lead, codejar",
      "display": "Includes optional undo history",
      "asOf": "2026-11-17"
    },
    "F89": {
      "label": "strengths, codejar",
      "display": "Undo and redo are enabled through the history option.",
      "asOf": "2026-11-17"
    },
    "F90": {
      "label": "limitations lead, codejar",
      "display": "Needs a syntax highlighter",
      "asOf": "2026-11-17"
    },
    "F91": {
      "label": "limitations, codejar",
      "display": "Supply a highlighter such as Prism to color the code.",
      "asOf": "2026-11-17"
    },
    "F92": {
      "label": "limitations lead, codejar",
      "display": "Line numbers need an addon",
      "asOf": "2026-11-17"
    },
    "F93": {
      "label": "limitations, codejar",
      "display": "Use the separate line-number package with the current major.",
      "asOf": "2026-11-17"
    },
    "F94": {
      "label": "Quickstart, codejar",
      "display": "import { CodeJar } from 'codejar'\nimport Prism from 'prismjs'\n\nconst jar = CodeJar(document.querySelector('.editor'), (editor) => {\n  editor.innerHTML = Prism.highlight(\n    editor.textContent,\n    Prism.languages.js,\n    'js',\n  )\n})\n",
      "asOf": "2026-11-17"
    },
    "F95": {
      "label": "Developer need",
      "display": "Custom language completion",
      "asOf": "2026-11-17"
    },
    "F96": {
      "label": "Why choose monaco-editor",
      "display": "registering completion providers for the current document",
      "asOf": "2026-11-17"
    },
    "F97": {
      "label": "Developer need in introduction",
      "display": "custom language completion",
      "asOf": "2026-11-17"
    },
    "F98": {
      "label": "When to consider @codemirror/view",
      "display": "editor features should be selected as separate modules",
      "asOf": "2026-11-17"
    },
    "F99": {
      "label": "Developer need",
      "display": "Modular editing features",
      "asOf": "2026-11-17"
    },
    "F100": {
      "label": "Why choose @codemirror/view",
      "display": "choosing editor features as separate modules",
      "asOf": "2026-11-17"
    },
    "F101": {
      "label": "Developer need in introduction",
      "display": "modular editing features",
      "asOf": "2026-11-17"
    },
    "F102": {
      "label": "Developer need",
      "display": "Custom undo grouping",
      "asOf": "2026-11-17"
    },
    "F103": {
      "label": "Why choose ace-builds",
      "display": "controlling which edits share an undo step",
      "asOf": "2026-11-17"
    },
    "F104": {
      "label": "Developer need in introduction",
      "display": "custom undo grouping",
      "asOf": "2026-11-17"
    },
    "F105": {
      "label": "When to consider monaco-editor",
      "display": "custom language completion providers drive the integration",
      "asOf": "2026-11-17"
    },
    "F106": {
      "label": "Developer need",
      "display": "Direct contenteditable integration",
      "asOf": "2026-11-17"
    },
    "F107": {
      "label": "Why choose codejar",
      "display": "editing highlighted content directly in the host",
      "asOf": "2026-11-17"
    },
    "F108": {
      "label": "Developer need in introduction",
      "display": "direct contenteditable integration",
      "asOf": "2026-11-17"
    },
    "F109": {
      "label": "When to consider ace-builds",
      "display": "the integration needs explicit undo-step grouping",
      "asOf": "2026-11-17"
    },
    "F110": {
      "label": "Page introduction",
      "display": "JavaScript code editor libraries let web developers embed source-code editing interfaces.",
      "asOf": "2026-11-17"
    },
    "F111": {
      "label": "FAQ: Which browser code editor should I choose?",
      "display": "Monaco exposes completion providers.",
      "asOf": "2026-11-17"
    },
    "F112": {
      "label": "FAQ: Which browser code editor should I choose?",
      "display": "CodeMirror combines separate modules into an editor.",
      "asOf": "2026-11-17"
    },
    "F113": {
      "label": "FAQ: Which browser code editor should I choose?",
      "display": "Ace controls grouping edits into undo steps.",
      "asOf": "2026-11-17"
    },
    "F114": {
      "label": "FAQ: Which browser code editor should I choose?",
      "display": "CodeJar edits directly in the highlighted contenteditable element.",
      "asOf": "2026-11-17"
    },
    "F115": {
      "label": "FAQ: Can Monaco workers start from a locally opened file?",
      "display": "Load Monaco from an HTTP or HTTPS server rather than a file URL for worker support.",
      "asOf": "2026-11-17"
    },
    "F116": {
      "label": "FAQ: Does Monaco support mobile browsers?",
      "display": "The own FAQ explicitly excludes mobile browsers and mobile web app frameworks.",
      "asOf": "2026-11-17"
    },
    "F117": {
      "label": "FAQ: Does CodeMirror view include every editing feature?",
      "display": "CodeMirror uses separate modules that must be installed and imported.",
      "asOf": "2026-11-17"
    },
    "F118": {
      "label": "FAQ: Does CodeMirror view include every editing feature?",
      "display": "The own basic setup imports history and language support from separate packages.",
      "asOf": "2026-11-17"
    },
    "F119": {
      "label": "FAQ: Can CodeMirror show custom controls beside line numbers?",
      "display": "The gutter module supports line numbers and custom controls beside the document.",
      "asOf": "2026-11-17"
    },
    "F120": {
      "label": "FAQ: Does enabling Ace autocomplete require another file?",
      "display": "The autocomplete options require the shipped ext-language_tools.js file.",
      "asOf": "2026-11-17"
    },
    "F121": {
      "label": "FAQ: Can Ace keep custom markers without removing the active line?",
      "display": "Ace provides custom marker ranges through its session marker API.",
      "asOf": "2026-11-17"
    },
    "F122": {
      "label": "FAQ: Does CodeJar include syntax coloring?",
      "display": "Provide an external syntax highlighter; the own example uses Prism.",
      "asOf": "2026-11-17"
    },
    "F123": {
      "label": "FAQ: Does the current CodeJar major include line numbers?",
      "display": "Line numbers moved out of the core package; the separate addon restores them.",
      "asOf": "2026-11-17"
    },
    "F124": {
      "label": "FAQ: Can CodeJar keep an undo history?",
      "display": "The history option enables undo and redo and defaults to true.",
      "asOf": "2026-11-17"
    },
    "F125": {
      "label": "Library name, @codemirror/view",
      "display": "CodeMirror",
      "asOf": "2026-11-20"
    },
    "F126": {
      "label": "Monthly downloads, @codemirror/view",
      "display": "90.6M",
      "asOf": "2026-11-20"
    },
    "F127": {
      "label": "License, @codemirror/view",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F128": {
      "label": "Package release, @codemirror/view",
      "display": "6.43.15",
      "asOf": "2026-11-20"
    },
    "F129": {
      "label": "Package release date, @codemirror/view",
      "display": "Oct 2026",
      "asOf": "2026-11-20"
    },
    "F130": {
      "label": "Install, @codemirror/view",
      "display": "npm install @codemirror/view@6.43.15 codemirror@6.0.2",
      "asOf": "2026-11-20"
    },
    "F131": {
      "label": "Quickstart, @codemirror/view",
      "display": "import { basicSetup } from 'codemirror';\nimport { EditorView } from '@codemirror/view';\nnew EditorView({ doc: 'Hello world', parent: document.body, extensions: [basicSetup] });\n",
      "asOf": "2026-11-20"
    },
    "F132": {
      "label": "Repository stars, @codemirror/view",
      "display": "178",
      "asOf": "2026-11-20"
    },
    "F133": {
      "label": "React required, @codemirror/view",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F134": {
      "label": "Caller supplies highlighter, @codemirror/view",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F135": {
      "label": "Editing model and integration, @codemirror/view",
      "display": "Modular document/editor view with extensions for defaults, languages, completion, keymaps, and selection behavior; basicSetup is an official companion, not an independent competing engine.",
      "asOf": "2026-11-20"
    },
    "F136": {
      "label": "Project function, @codemirror/view",
      "display": "revealSelection(\n  selection: CodeEditor.IRange,\n  options?: ScrollIntoViewOptions\n): void {\n  const start = this.getOffsetAt(selection.start);\n  const end = this.getOffsetAt(selection.end);\n  this._editor.dispatch({\n    effects: EditorView.scrollIntoView(EditorSelection.range(start, end), {\n      y: options?.block,\n      x: options?.inline\n    })\n  });\n}\n",
      "asOf": "2026-11-20"
    },
    "F137": {
      "label": "Project source file, @codemirror/view",
      "display": "packages/codemirror/src/editor.ts",
      "asOf": "2026-11-20"
    },
    "F138": {
      "label": "Project full_name, @codemirror/view",
      "display": "jupyterlab/jupyterlab",
      "asOf": "2026-11-20"
    },
    "F139": {
      "label": "Project stargazers_count, @codemirror/view",
      "display": "15.4K",
      "asOf": "2026-11-20"
    },
    "F140": {
      "label": "Library name, monaco-editor",
      "display": "Monaco Editor",
      "asOf": "2026-11-20"
    },
    "F141": {
      "label": "Monthly downloads, monaco-editor",
      "display": "51.9M",
      "asOf": "2026-11-20"
    },
    "F142": {
      "label": "License, monaco-editor",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F143": {
      "label": "Package release, monaco-editor",
      "display": "0.57.0",
      "asOf": "2026-11-20"
    },
    "F144": {
      "label": "Package release date, monaco-editor",
      "display": "Sep 2026",
      "asOf": "2026-11-20"
    },
    "F145": {
      "label": "Install, monaco-editor",
      "display": "npm install monaco-editor@0.57.0",
      "asOf": "2026-11-20"
    },
    "F146": {
      "label": "Quickstart, monaco-editor",
      "display": "import * as monaco from 'monaco-editor/esm/vs/editor/editor.api';\nimport EditorWorker from 'monaco-editor/esm/vs/editor/editor.worker?worker';\nself.MonacoEnvironment = { getWorker: () => new EditorWorker() };\nconst host = document.body.appendChild(document.createElement('div'));\nhost.style.height = '200px';\nmonaco.editor.create(host, { value: 'Hello world', language: 'plaintext' });\n",
      "asOf": "2026-11-20"
    },
    "F147": {
      "label": "Repository stars, monaco-editor",
      "display": "47.0K",
      "asOf": "2026-11-20"
    },
    "F148": {
      "label": "React required, monaco-editor",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F149": {
      "label": "Caller supplies highlighter, monaco-editor",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F150": {
      "label": "Editing model and integration, monaco-editor",
      "display": "Full browser editor with language service/worker integration, models, diagnostics, completion providers, and view-state lifecycle. Vite worker setup is explicit; desktop VS Code extensions are not automatically browser plugins.",
      "asOf": "2026-11-20"
    },
    "F151": {
      "label": "Project function, monaco-editor",
      "display": "function disposeEditor() {\n  subscriptionRef.current?.dispose();\n\n  if (keepCurrentModel) {\n    saveViewState && viewStates.set(path, editorRef.current!.saveViewState());\n  } else {\n    editorRef.current!.getModel()?.dispose();\n  }\n\n  editorRef.current!.dispose();\n\n  editorRef.current = null;\n  preventCreation.current = false;\n  setIsEditorReady(false);\n}\n",
      "asOf": "2026-11-20"
    },
    "F152": {
      "label": "Project source file, monaco-editor",
      "display": "src/Editor/Editor.tsx",
      "asOf": "2026-11-20"
    },
    "F153": {
      "label": "Project full_name, monaco-editor",
      "display": "suren-atoyan/monaco-react",
      "asOf": "2026-11-20"
    },
    "F154": {
      "label": "Project stargazers_count, monaco-editor",
      "display": "4.8K",
      "asOf": "2026-11-20"
    },
    "F155": {
      "label": "Library name, ace-builds",
      "display": "Ace",
      "asOf": "2026-11-20"
    },
    "F156": {
      "label": "Monthly downloads, ace-builds",
      "display": "7.9M",
      "asOf": "2026-11-20"
    },
    "F157": {
      "label": "License, ace-builds",
      "display": "BSD-3-Clause",
      "asOf": "2026-11-20"
    },
    "F158": {
      "label": "Package release, ace-builds",
      "display": "1.45.2",
      "asOf": "2026-11-20"
    },
    "F159": {
      "label": "Package release date, ace-builds",
      "display": "Oct 2026",
      "asOf": "2026-11-20"
    },
    "F160": {
      "label": "Install, ace-builds",
      "display": "npm install ace-builds@1.45.2",
      "asOf": "2026-11-20"
    },
    "F161": {
      "label": "Quickstart, ace-builds",
      "display": "import * as ace from 'ace-builds';\nconst host = document.body.appendChild(document.createElement('div'));\nhost.style.height = '200px';\nace.edit(host, { value: 'Hello world', mode: 'ace/mode/text' });\n",
      "asOf": "2026-11-20"
    },
    "F162": {
      "label": "Repository stars, ace-builds",
      "display": "3.1K",
      "asOf": "2026-11-20"
    },
    "F163": {
      "label": "React required, ace-builds",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F164": {
      "label": "Caller supplies highlighter, ace-builds",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F165": {
      "label": "Editing model and integration, ace-builds",
      "display": "Browser editor with sessions, modes, themes, markers, and configurable completions. Worker/mode/theme assets must be served when enabled; the first call uses the bundled plain-text mode.",
      "asOf": "2026-11-20"
    },
    "F166": {
      "label": "Project function, ace-builds",
      "display": "public handleMarkers(markers: IMarker[]) {\n  // remove foreground markers\n  let currentMarkers = this.editor.getSession().getMarkers(true);\n  for (const i in currentMarkers) {\n    if (currentMarkers.hasOwnProperty(i)) {\n      this.editor.getSession().removeMarker(currentMarkers[i].id);\n    }\n  }\n  // remove background markers except active line marker and selected word marker\n  currentMarkers = this.editor.getSession().getMarkers(false);\n  for (const i in currentMarkers) {\n    if (\n      currentMarkers.hasOwnProperty(i) &&\n      currentMarkers[i].clazz !== \"ace_active-line\" &&\n      currentMarkers[i].clazz !== \"ace_selected-word\"\n    ) {\n      this.editor.getSession().removeMarker(currentMarkers[i].id);\n    }\n  }\n  // add new markers\n  markers.forEach(\n    ({\n      startRow,\n      startCol,\n      endRow,\n      endCol,\n      className,\n      type,\n      inFront = false\n    }) => {\n      const range = new Range(startRow, startCol, endRow, endCol);\n      this.editor.getSession().addMarker(range, className, type, inFront);\n    }\n  );\n}\n",
      "asOf": "2026-11-20"
    },
    "F167": {
      "label": "Project source file, ace-builds",
      "display": "src/ace.tsx",
      "asOf": "2026-11-20"
    },
    "F168": {
      "label": "Project full_name, ace-builds",
      "display": "securingsincity/react-ace",
      "asOf": "2026-11-20"
    },
    "F169": {
      "label": "Project stargazers_count, ace-builds",
      "display": "4.2K",
      "asOf": "2026-11-20"
    },
    "F170": {
      "label": "Library name, react-simple-code-editor",
      "display": "react-simple-code-editor",
      "asOf": "2026-11-20"
    },
    "F171": {
      "label": "Monthly downloads, react-simple-code-editor",
      "display": "5.3M",
      "asOf": "2026-11-20"
    },
    "F172": {
      "label": "License, react-simple-code-editor",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F173": {
      "label": "Package release, react-simple-code-editor",
      "display": "0.14.1",
      "asOf": "2026-11-20"
    },
    "F174": {
      "label": "Package release date, react-simple-code-editor",
      "display": "Jul 2024",
      "asOf": "2026-11-20"
    },
    "F175": {
      "label": "Install, react-simple-code-editor",
      "display": "npm install react-simple-code-editor@0.14.1 react@19.2.0 react-dom@19.2.0 prismjs@1.30.0",
      "asOf": "2026-11-20"
    },
    "F176": {
      "label": "Quickstart, react-simple-code-editor",
      "display": "import { useState } from 'react';\nimport Editor from 'react-simple-code-editor';\nimport { highlight, languages } from 'prismjs';\nimport 'prismjs/components/prism-clike';\nimport 'prismjs/components/prism-javascript';\n\nexport default function App() {\n  const [value, setValue] = useState('const answer = 42;');\n  return <Editor value={value} onValueChange={setValue} highlight={code => highlight(code, languages.js, 'javascript')} style={{ fontFamily: 'monospace', fontSize: 14 }} />;\n}\n",
      "asOf": "2026-11-20"
    },
    "F177": {
      "label": "Official description, react-simple-code-editor",
      "display": "Simple no-frills code editor with syntax highlighting",
      "asOf": "2026-11-20"
    },
    "F178": {
      "label": "Quickstart source file, react-simple-code-editor",
      "display": "README.md",
      "asOf": "2026-11-20"
    },
    "F179": {
      "label": "Repository stars, react-simple-code-editor",
      "display": "1.7K",
      "asOf": "2026-11-20"
    },
    "F180": {
      "label": "React required, react-simple-code-editor",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F181": {
      "label": "Caller supplies highlighter, react-simple-code-editor",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F182": {
      "label": "Editing model and integration, react-simple-code-editor",
      "display": "Controlled React textarea-overlay editor with caller-supplied highlighter and simple editing behavior; use with React state and a real highlight callback.",
      "asOf": "2026-11-20"
    },
    "F183": {
      "label": "Project function, react-simple-code-editor",
      "display": "public render() {\n\treturn (\n\t\t<SimpleEditor\n\t\t\tclassName={this.props.classes.root}\n\t\t\tvalue={this.state.code}\n\t\t\tonValueChange={this.handleChange}\n\t\t\thighlight={highlight}\n\t\t\t// Padding should be passed via a prop (not CSS) for a proper\n\t\t\t// cursor position calculation\n\t\t\tpadding={space[2]}\n\t\t/>\n\t);\n}\n",
      "asOf": "2026-11-20"
    },
    "F184": {
      "label": "Project source file, react-simple-code-editor",
      "display": "src/client/rsg-components/Editor/Editor.tsx",
      "asOf": "2026-11-20"
    },
    "F185": {
      "label": "Project full_name, react-simple-code-editor",
      "display": "styleguidist/react-styleguidist",
      "asOf": "2026-11-20"
    },
    "F186": {
      "label": "Project stargazers_count, react-simple-code-editor",
      "display": "11.0K",
      "asOf": "2026-11-20"
    },
    "F187": {
      "label": "Library name, @uiw/react-textarea-code-editor",
      "display": "React Textarea Code Editor",
      "asOf": "2026-11-20"
    },
    "F188": {
      "label": "Monthly downloads, @uiw/react-textarea-code-editor",
      "display": "779.4K",
      "asOf": "2026-11-20"
    },
    "F189": {
      "label": "License, @uiw/react-textarea-code-editor",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F190": {
      "label": "Package release, @uiw/react-textarea-code-editor",
      "display": "3.1.3",
      "asOf": "2026-11-20"
    },
    "F191": {
      "label": "Package release date, @uiw/react-textarea-code-editor",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F192": {
      "label": "Install, @uiw/react-textarea-code-editor",
      "display": "npm install @uiw/react-textarea-code-editor@3.1.3 react@19.2.0 react-dom@19.2.0 less",
      "asOf": "2026-11-20"
    },
    "F193": {
      "label": "Quickstart, @uiw/react-textarea-code-editor",
      "display": "import { useState } from 'react';\nimport CodeEditor from '@uiw/react-textarea-code-editor';\n\nexport default function App() {\n  const [value, setValue] = useState('const answer = 42;');\n  return <CodeEditor value={value} language=\"js\" onChange={event => setValue(event.target.value)} />;\n}\n",
      "asOf": "2026-11-20"
    },
    "F194": {
      "label": "Official description, @uiw/react-textarea-code-editor",
      "display": "A simple code editor with syntax highlighting.",
      "asOf": "2026-11-20"
    },
    "F195": {
      "label": "Quickstart source file, @uiw/react-textarea-code-editor",
      "display": "README.md",
      "asOf": "2026-11-20"
    },
    "F196": {
      "label": "Repository stars, @uiw/react-textarea-code-editor",
      "display": "579",
      "asOf": "2026-11-20"
    },
    "F197": {
      "label": "React required, @uiw/react-textarea-code-editor",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F198": {
      "label": "Caller supplies highlighter, @uiw/react-textarea-code-editor",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F199": {
      "label": "Editing model and integration, @uiw/react-textarea-code-editor",
      "display": "Controlled or uncontrolled React textarea code editor with bundled syntax highlighting, indentation, selection wrapping, and ordinary textarea change events; suited to embedded code forms.",
      "asOf": "2026-11-20"
    },
    "F200": {
      "label": "Project function, @uiw/react-textarea-code-editor",
      "display": "const CodeEditor = ({\n  onChange,\n  height = 128,\n  value,\n  language,\n  ...rest\n}: CodeEditorProps) => {\n  const codeEditor = useMemo(\n    () => (\n      <CodeEditorComponent\n        padding={15}\n        minHeight={height}\n        style={{\n          fontFamily:\n            'ui-monospace, SFMono-Regular, Menlo, Consolas, \"Liberation Mono\", monospace',\n          fontSize: \"16px\",\n        }}\n        onChange={(event) => onChange?.(event.target.value)}\n        value={value}\n        language={language}\n        {...rest}\n      />\n    ),\n    [value, language],\n  );\n\n  return (\n    <div style={{ height: `${height}px`, overflow: \"auto\" }}>{codeEditor}</div>\n  );\n};\n",
      "asOf": "2026-11-20"
    },
    "F201": {
      "label": "Project source file, @uiw/react-textarea-code-editor",
      "display": "js/apps/admin-ui/src/components/form/CodeEditor.tsx",
      "asOf": "2026-11-20"
    },
    "F202": {
      "label": "Project full_name, @uiw/react-textarea-code-editor",
      "display": "keycloak/keycloak",
      "asOf": "2026-11-20"
    },
    "F203": {
      "label": "Project stargazers_count, @uiw/react-textarea-code-editor",
      "display": "38.0K",
      "asOf": "2026-11-20"
    },
    "F204": {
      "label": "Library name, codejar",
      "display": "CodeJar",
      "asOf": "2026-11-20"
    },
    "F205": {
      "label": "Monthly downloads, codejar",
      "display": "170.2K",
      "asOf": "2026-11-20"
    },
    "F206": {
      "label": "License, codejar",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F207": {
      "label": "Package release, codejar",
      "display": "5.0.0",
      "asOf": "2026-11-20"
    },
    "F208": {
      "label": "Package release date, codejar",
      "display": "Nov 2026",
      "asOf": "2026-11-20"
    },
    "F209": {
      "label": "Install, codejar",
      "display": "npm install codejar@5.0.0 prismjs@1.30.0",
      "asOf": "2026-11-20"
    },
    "F210": {
      "label": "Quickstart, codejar",
      "display": "import { CodeJar } from 'codejar';\nimport Prism from 'prismjs';\nimport 'prismjs/themes/prism.css';\nconst host = document.body.appendChild(document.createElement('pre'));\nhost.textContent = 'const answer = 42;';\nCodeJar(host, element => {\n  element.innerHTML = Prism.highlight(element.textContent ?? '', Prism.languages.js, 'js');\n});\n",
      "asOf": "2026-11-20"
    },
    "F211": {
      "label": "Repository stars, codejar",
      "display": "2.0K",
      "asOf": "2026-11-20"
    },
    "F212": {
      "label": "React required, codejar",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F213": {
      "label": "Caller supplies highlighter, codejar",
      "display": "Yes",
      "asOf": "2026-11-20"
    },
    "F214": {
      "label": "Editing model and integration, codejar",
      "display": "Dependency-free contenteditable editor that edits the highlighted element directly and requires the caller to provide syntax highlighting; selection/history/sample updates use a small imperative API.",
      "asOf": "2026-11-20"
    },
    "F215": {
      "label": "Project function, codejar",
      "display": "() => {\n  Prism.manual = true;\n\n  // const highlight = (editor) => {\n  //   editor.innerHTML = Prism.highlight(editor.textContent, Prism.languages.yaml, \"yaml\");\n  //   Prism.highlightAll();\n  // };\n  jar = CodeJar(editor.value!, (elem) => Prism.highlightElement(elem), {\n    tab: \"  \",\n  });\n  jar.updateCode(props.code);\n\n  jar.onUpdate((code) => {\n    emit(\"codeChange\", code);\n  });\n\n  if (!props.editable) {\n    editor.value!.setAttribute(\"contenteditable\", \"false\");\n  }\n}\n",
      "asOf": "2026-11-20"
    },
    "F216": {
      "label": "Project source file, codejar",
      "display": "ui/src/components/CodeEditor.vue",
      "asOf": "2026-11-20"
    },
    "F217": {
      "label": "Project full_name, codejar",
      "display": "iximiuz/kexp",
      "asOf": "2026-11-20"
    },
    "F218": {
      "label": "Project stargazers_count, codejar",
      "display": "935",
      "asOf": "2026-11-20"
    },
    "F219": {
      "label": "Library name, yace",
      "display": "Yace",
      "asOf": "2026-11-20"
    },
    "F220": {
      "label": "Monthly downloads, yace",
      "display": "113.3K",
      "asOf": "2026-11-20"
    },
    "F221": {
      "label": "License, yace",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F222": {
      "label": "Package release, yace",
      "display": "1.1.1",
      "asOf": "2026-11-20"
    },
    "F223": {
      "label": "Package release date, yace",
      "display": "Sep 2026",
      "asOf": "2026-11-20"
    },
    "F224": {
      "label": "Install, yace",
      "display": "npm install yace@1.1.1",
      "asOf": "2026-11-20"
    },
    "F225": {
      "label": "Quickstart, yace",
      "display": "import { Yace } from 'yace';\nimport { code } from 'yace/highlighters/code';\nimport { history, tab, preserveIndent } from 'yace/plugins';\nconst host = document.body.appendChild(document.createElement('div'));\nnew Yace(host, { value: 'const answer = 42;', lineNumbers: true, highlighters: [code()], plugins: [history(), tab(), preserveIndent()] });\n",
      "asOf": "2026-11-20"
    },
    "F226": {
      "label": "Official description, yace",
      "display": "tiny text editor with plugins",
      "asOf": "2026-11-20"
    },
    "F227": {
      "label": "Quickstart source file, yace",
      "display": "README.md",
      "asOf": "2026-11-20"
    },
    "F228": {
      "label": "Repository stars, yace",
      "display": "187",
      "asOf": "2026-11-20"
    },
    "F229": {
      "label": "React required, yace",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F230": {
      "label": "Caller supplies highlighter, yace",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F231": {
      "label": "Editing model and integration, yace",
      "display": "Framework-independent textarea-overlay editor with bundled code highlighter and opt-in history/tab/indent plugins. Publisher explicitly excludes large documents, multicursor editing, rich text, decorations, and SSR.",
      "asOf": "2026-11-20"
    },
    "F232": {
      "label": "Project function, yace",
      "display": "() => {\n    const editor = editorRef.current\n    if (!editor || editor.value === value) {\n      return\n    }\n\n    editor.update({ value })\n  }\n",
      "asOf": "2026-11-20"
    },
    "F233": {
      "label": "Project source file, yace",
      "display": "web/src/components/json-code-editor.tsx",
      "asOf": "2026-11-20"
    },
    "F234": {
      "label": "Project full_name, yace",
      "display": "QuantumNous/new-api",
      "asOf": "2026-11-20"
    },
    "F235": {
      "label": "Project stargazers_count, yace",
      "display": "52.2K",
      "asOf": "2026-11-20"
    },
    "F236": {
      "label": "Library name, prism-code-editor",
      "display": "prism-code-editor",
      "asOf": "2026-11-20"
    },
    "F237": {
      "label": "Monthly downloads, prism-code-editor",
      "display": "107.5K",
      "asOf": "2026-11-20"
    },
    "F238": {
      "label": "License, prism-code-editor",
      "display": "MIT",
      "asOf": "2026-11-20"
    },
    "F239": {
      "label": "Package release, prism-code-editor",
      "display": "5.4.0",
      "asOf": "2026-11-20"
    },
    "F240": {
      "label": "Package release date, prism-code-editor",
      "display": "Sep 2026",
      "asOf": "2026-11-20"
    },
    "F241": {
      "label": "Install, prism-code-editor",
      "display": "npm install prism-code-editor@5.4.0",
      "asOf": "2026-11-20"
    },
    "F242": {
      "label": "Quickstart, prism-code-editor",
      "display": "import { basicEditor } from 'prism-code-editor/setups';\nimport 'prism-code-editor/prism/languages/markup';\nconst host = document.body.appendChild(document.createElement('div'));\nhost.style.display = 'grid';\nbasicEditor(host, { language: 'html', theme: 'github-dark', value: '<h1>Hello world</h1>' });\n",
      "asOf": "2026-11-20"
    },
    "F243": {
      "label": "Official description, prism-code-editor",
      "display": "Lightweight, extensible code editor component for the web using Prism",
      "asOf": "2026-11-20"
    },
    "F244": {
      "label": "Quickstart source file, prism-code-editor",
      "display": "readme.md",
      "asOf": "2026-11-20"
    },
    "F245": {
      "label": "Repository stars, prism-code-editor",
      "display": "161",
      "asOf": "2026-11-20"
    },
    "F246": {
      "label": "React required, prism-code-editor",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F247": {
      "label": "Caller supplies highlighter, prism-code-editor",
      "display": "No",
      "asOf": "2026-11-20"
    },
    "F248": {
      "label": "Editing model and integration, prism-code-editor",
      "display": "Framework-independent textarea-overlay editor with its own Prism-derived grammar engine, line splitting, native extension modules, SSR hydration, autocomplete, search, and bundled ready setups. Publisher warns whole-code tokenization slows large inputs; no uncited benchmark claim.",
      "asOf": "2026-11-20"
    },
    "F249": {
      "label": "Project function, prism-code-editor",
      "display": "initEditor(): PrismEditor {\n  const editor = createEditor(this.editorContainer.nativeElement, {\n    value: this.code(),\n    language: this.language(),\n    lineNumbers: false,\n    wordWrap: true,\n    readOnly: this.readonly(),\n\n    onUpdate: (code: string) => {\n      this.code.set(code);\n    },\n  });\n  editor.addExtensions(\n    copyButton(),\n    matchBrackets(true),\n    highlightBracketPairs(),\n    editHistory()\n  );\n\n  this.code.subscribe(() => {\n    this.editor?.update();\n  });\n\n  return editor;\n}\n",
      "asOf": "2026-11-20"
    },
    "F250": {
      "label": "Project source file, prism-code-editor",
      "display": "springwolf-ui/src/app/components/code/prism-editor.component.ts",
      "asOf": "2026-11-20"
    },
    "F251": {
      "label": "Project full_name, prism-code-editor",
      "display": "springwolf/springwolf-core",
      "asOf": "2026-11-20"
    },
    "F252": {
      "label": "Project stargazers_count, prism-code-editor",
      "display": "354",
      "asOf": "2026-11-20"
    },
    "F253": {
      "label": "What, react-simple-code-editor",
      "display": "Renders a React code editor that takes its syntax highlighting from a third-party library.",
      "asOf": "2026-11-17"
    },
    "F254": {
      "label": "Strength lead, react-simple-code-editor",
      "display": "Undoes whole words",
      "asOf": "2026-11-17"
    },
    "F255": {
      "label": "Strength body, react-simple-code-editor",
      "display": "Each undo step removes a whole word instead of one letter.",
      "asOf": "2026-11-17"
    },
    "F256": {
      "label": "Watch out lead, react-simple-code-editor",
      "display": "Value must be controlled",
      "asOf": "2026-11-17"
    },
    "F257": {
      "label": "Watch out body, react-simple-code-editor",
      "display": "Update the value prop from onValueChange on every change.",
      "asOf": "2026-11-17"
    },
    "F258": {
      "label": "What, React Textarea Code Editor",
      "display": "Renders a React textarea code editor with built-in syntax highlighting for embeds and forms.",
      "asOf": "2026-11-17"
    },
    "F259": {
      "label": "Strength lead, React Textarea Code Editor",
      "display": "Highlights code automatically",
      "asOf": "2026-11-17"
    },
    "F260": {
      "label": "Strength body, React Textarea Code Editor",
      "display": "Colors code without a highlighter supplied by the app.",
      "asOf": "2026-11-17"
    },
    "F261": {
      "label": "Watch out lead, React Textarea Code Editor",
      "display": "Next.js needs extra setup",
      "asOf": "2026-11-17"
    },
    "F262": {
      "label": "Watch out body, React Textarea Code Editor",
      "display": "Load the editor in Next.js with a dynamic import and server rendering turned off.",
      "asOf": "2026-11-17"
    },
    "F263": {
      "label": "What, Yace",
      "display": "Provides a small code editor component with zero dependencies that works in any framework.",
      "asOf": "2026-11-17"
    },
    "F264": {
      "label": "Strength lead, Yace",
      "display": "Plugins shape each edit",
      "asOf": "2026-11-17"
    },
    "F265": {
      "label": "Strength body, Yace",
      "display": "Each plugin receives the textarea state and returns the next text and selection.",
      "asOf": "2026-11-17"
    },
    "F266": {
      "label": "Watch out lead, Yace",
      "display": "Small documents only",
      "asOf": "2026-11-17"
    },
    "F267": {
      "label": "Watch out body, Yace",
      "display": "Large documents, multicursor editing, rich text, and server rendering are out of scope.",
      "asOf": "2026-11-17"
    },
    "F268": {
      "label": "What, prism-code-editor",
      "display": "Overlays Prism-highlighted code on a textarea and splits it into lines for line numbers and partial updates.",
      "asOf": "2026-11-17"
    },
    "F269": {
      "label": "Strength lead, prism-code-editor",
      "display": "Works on mobile",
      "asOf": "2026-11-17"
    },
    "F270": {
      "label": "Strength body, prism-code-editor",
      "display": "Editing works in mobile browsers as well as on the desktop.",
      "asOf": "2026-11-17"
    },
    "F271": {
      "label": "Strength lead, prism-code-editor setups",
      "display": "Ships ready-made setups",
      "asOf": "2026-11-17"
    },
    "F272": {
      "label": "Strength body, prism-code-editor setups",
      "display": "Each setup imports its styles, extensions, and language behavior in one call.",
      "asOf": "2026-11-17"
    }
  },
  "dataCheckedAt": "2026-11-20",
  "agent": {
    "exaCall": {
      "endpoint": "/search",
      "body": {
        "query": "Best JavaScript code editor libraries Monaco CodeMirror Ace CodeJar examples",
        "numResults": 5
      },
      "docsUrl": "https://exa.ai/docs/reference/search"
    },
    "calls": []
  }
}
