mooz/js2-mode
Improved JavaScript editing mode for GNU Emacs observed · 2026-08-28
Health v2 · maintenance only
72/100
- Activity 89
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 6015
- days_rel: n/a
- days_push: 67
- n_releases_24m: 0
Adoption not part of the score
1337 stars · 180 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
js2-mode is an improved JavaScript major mode for GNU Emacs featuring a full JavaScript parser (AST) for accurate syntax highlighting and editing. It integrates with Emacs' built-in js-mode for indentation and supports JSX via companion modes.
Use cases
- edit JavaScript files in Emacs with better syntax highlighting
- get a JavaScript AST in Emacs for refactoring tools
- indent and highlight JSX/React code in Emacs
- replace the default js-mode with a parser-based JavaScript mode
When to choose
- you use GNU Emacs 24.1+ and want robust JavaScript editing
- you need an AST-based JS mode to power tools like js2-refactor or skewer-mode
When to avoid
- you are on Emacs 27+ and only need highlighting/indentation, since built-in js-mode covers that
- you need full IDE features like LSP-driven completion and diagnostics
Facets
plugin · maturity stable
editor parser developer-tools text-editors web-development editor-plugin emacs-lisp javascript syntax-highlighting major-mode jsx emacs
1 source
- readme: https://github.com/mooz/js2-mode · fetched 2026-08-28 · 949e24707a08
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| mooz/js2-mode | main | 72 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem