Embeddable Code Editor mature

CodeMirror

Versatile code editor component for the web

28.0K stars 100 contributors Since 2007
Website → GitHub

Versatile code editor component for the web

License
MIT
Min RAM
32 MB
Min CPUs
1 core
Scaling
single_node
Complexity
intermediate
Performance
medium
Self-hostable
K8s native
Offline
Pricing
fully free
Docs quality
good
Vendor lock-in
none

Use cases

  • Lightweight code editing in web apps
  • Mobile-friendly code input
  • SQL/config editors in admin tools

Anti-patterns / when NOT to use

  • v6 is complete rewrite from v5 — migration needed
  • Less IntelliSense than Monaco
  • Extension system has learning curve

Replaces / alternatives to

  • Ace Editor

Technical specs

Language
TypeScript
API type
SDK
Protocols
HTTP
Deployment
npm

Community

GitHub stars 28.0K
Contributors 100
Commit frequency weekly
Plugin ecosystem none
Backing Marijn Haverbeke
Funding community

Release

Latest version
Last release
Since 2007

Best fit

Team size
solosmallmedium
Industries
general

Tags

  • code-editor
  • browser
  • lightweight
  • extensible
  • mobile-support
  • accessibility
  • syntax-highlighting