# tree-sitter-java

> Java grammar for tree-sitter

Latest version **0.23.5** (published 2024-12-21) · MIT license · 0 weekly downloads

## Install

```sh
npm install tree-sitter-java
pnpm add tree-sitter-java
yarn add tree-sitter-java
bun add tree-sitter-java
```

## Health

**Score 50/100 (C)** — status: stable.

Positive: has types; no vulnerabilities; high maintenance score; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

Negative: stale.

## Facts

| | |
|---|---|
| Version | 0.23.5 |
| Published | 2024-12-21 |
| First published | 2017-11-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 5.9 MB |
| Known vulnerabilities | 0 |
| Install scripts | yes |
| GitHub stars | 276 |
| Author | Ayman Nadeem |
| Maintainers | ahlinc, maxbrunsfeld, amaanq, tclem, daviwil, queerviolet, rewinfrey, robrix, joshvera, atom-team, aymannadeem |
| Keywords | incremental, parsing, tree-sitter, java |

## Links

- npm: https://www.npmjs.com/package/tree-sitter-java
- Repository: https://github.com/tree-sitter/tree-sitter-java
- Homepage: https://github.com/tree-sitter/tree-sitter-java#readme
- Issues: https://github.com/tree-sitter/tree-sitter-java/issues
- npm.io page: https://npm.io/package/tree-sitter-java

## Dependencies (2)

- [node-addon-api](https://npm.io/package/node-addon-api.md) ^8.2.2
- [node-gyp-build](https://npm.io/package/node-gyp-build.md) ^4.8.2

## Recent versions

- 0.23.5 (latest) — 2024-12-21
- 0.23.4 — 2024-11-11
- 0.23.3 — 2024-11-10
- 0.23.2 — 2024-09-01
- 0.21.0 — 2024-04-07
- 0.20.2 — 2023-10-05
- 0.19.1 — 2021-03-09
- 0.16.0 — 2019-12-09
- 0.15.0 — 2019-12-03
- 0.13.0 — 2018-07-18
- 0.12.0 — 2018-06-15
- 0.0.1 — 2017-11-27

## README

# tree-sitter-java

[![CI][ci]](https://github.com/tree-sitter/tree-sitter-java/actions/workflows/ci.yml)
[![discord][discord]](https://discord.gg/w7nTvsVJhm)
[![matrix][matrix]](https://matrix.to/#/#tree-sitter-chat:matrix.org)
[![crates][crates]](https://crates.io/crates/tree-sitter-java)
[![npm][npm]](https://www.npmjs.com/package/tree-sitter-java)
[![pypi][pypi]](https://pypi.org/project/tree-sitter-java)

Java grammar for [tree-sitter](https://github.com/tree-sitter/tree-sitter).

[ci]: https://img.shields.io/github/actions/workflow/status/tree-sitter/tree-sitter-java/ci.yml?logo=github&label=CI
[discord]: https://img.shields.io/discord/1063097320771698699?logo=discord&label=discord
[matrix]: https://img.shields.io/matrix/tree-sitter-chat%3Amatrix.org?logo=matrix&label=matrix
[npm]: https://img.shields.io/npm/v/tree-sitter-java?logo=npm
[crates]: https://img.shields.io/crates/v/tree-sitter-java?logo=rust
[pypi]: https://img.shields.io/pypi/v/tree-sitter-java?logo=pypi&logoColor=ffd242

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