# @lezer/java

> lezer-based Java grammar

Latest version **1.1.4** (published 2026-09-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install @lezer/java
pnpm add @lezer/java
yarn add @lezer/java
bun add @lezer/java
```

## Health

**Score 70/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; recently updated; high maintenance score; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 1.1.4 |
| Published | 2026-09-08 |
| First published | 2021-08-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 3 |
| Unpacked size | 174 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Marijn Haverbeke |
| Maintainers | marijn |

## Links

- npm: https://www.npmjs.com/package/@lezer/java
- Repository: https://code.haverbeke.berlin/lezer/java
- npm.io page: https://npm.io/package/@lezer/java

## Dependencies (3)

- [@lezer/lr](https://npm.io/package/@lezer/lr.md) ^1.0.0
- [@lezer/common](https://npm.io/package/@lezer/common.md) ^1.2.0
- [@lezer/highlight](https://npm.io/package/@lezer/highlight.md) ^1.0.0

## Recent versions

- 1.1.4 (latest) — 2026-09-08
- 1.1.3 — 2024-10-05
- 1.1.2 — 2024-04-19
- 1.1.1 — 2023-12-28
- 1.1.0 — 2023-11-17
- 1.0.4 — 2023-07-03
- 1.0.3 — 2023-02-11
- 1.0.2 — 2023-02-06
- 1.0.1 — 2023-02-02
- 1.0.0 — 2022-06-06
- 0.16.0 — 2022-04-20
- 0.15.0 — 2021-08-11

## README

# @lezer/java

This is a Java grammar for the
[Lezer](https://lezer.codemirror.net/) parser system.

The grammar used is based in a large part on the corresponding
[tree-sitter grammar](https://github.com/tree-sitter/tree-sitter-java).

The code is licensed under an MIT license.

---
_Source: https://npm.io/package/@lezer/java · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
