tree-sitter-javascript
JavaScript grammar for Tree-sitter incremental parsing library.
Scraping, browsers and parsing npm MIT
How tree-sitter-javascript is used
tree-sitter-javascript is a dependency in 3 of the 6,208 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 2,661, Ethereum and EVM 1,496, 3D and games 2,818, agent frameworks and SDKs 10,983); counting those, it appears in 24 projects, and what it is used with below comes from all of them. The most used alternative in our scan is Acorn (17 projects). Projects that use it most often also use tree-sitter-typescript (JavaScript) (100.0%), tree-sitter-python (91.7%), tree-sitter-go (83.3%).
tree-sitter-javascript popularity over time
Gid Score 38: downloads 62, use in agent projects 30, GitHub stars 0, downloads trend 58 (each 0-100). How it is calculated.
Often used with tree-sitter-javascript
| tree-sitter-typescript (JavaScript) | 100.0% of tree-sitter-javascript projects · 1552.0× more than average |
|---|---|
| tree-sitter-python | 91.7% of tree-sitter-javascript projects · 1422.7× more than average |
| tree-sitter-go | 83.3% of tree-sitter-javascript projects · 2586.7× more than average |
| Model Context Protocol SDK (JavaScript) | 70.8% of tree-sitter-javascript projects · 7.5× more than average |
| Express | 70.8% of tree-sitter-javascript projects · 10.4× more than average |
| Anthropic SDK | 62.5% of tree-sitter-javascript projects · 16.7× more than average |
| esbuild | 62.5% of tree-sitter-javascript projects · 13.4× more than average |
| glob | 62.5% of tree-sitter-javascript projects · 32.1× more than average |
From all 24 projects in our scan that use tree-sitter-javascript, including the dependency samples.
How tree-sitter-javascript is funded
Open Collective: Tree-sitter
| Received, last 12 months | $0 Oct 2025 – Sep 2026 |
|---|---|
| Estimated annual budget | $0 Open Collective's estimate |
| Balance | $16 |
| Raised since the start | $16 |
| Typical month median, last 12 months | $0 |
| Contributors, last 12 months | 0 |
Apr 2025Sep 2026
Money by month. First money received in Apr 2025. The typical month is the median: one big one-off donation does not move it.
The same collective is named by 13 more tools in our catalog: web-tree-sitter, tree-sitter-typescript (Python), Tree-sitter JavaScript, tree-sitter-java, tree-sitter-rust, tree-sitter-cpp and others.
USD after payment processor fees, as Open Collective reports it; fiscal host Open Source Collective. Source
GitHub Sponsors
| @tree-sitter | 14 current sponsors |
|---|
GitHub shows how many people and companies sponsor an account, not how much they pay.
Ways to fund tree-sitter-javascript
GitHub Sponsors Open Collective Ko-fi
As the maintainers list them in FUNDING.yml on GitHub. Checked Oct 20, 2026.
Install
| Package | npm install tree-sitter-javascript |
|---|---|
| Main stacks | TypeScript / JavaScript (23), Rust (1) |
| Example projects | thedotmack/claude-mem, ViaTumLab/Yan-Agent, RaheesAhmed/SajiCode, jghiringhelli/codeseeker, ijw-fyi/agent-pr |
Alternatives to tree-sitter-javascript
Tools that do the same job, so a project picks one or the other. Add-ons and libraries used alongside tree-sitter-javascript are not listed here; they are in "Often used with".
| Tool | Gid Score | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|---|
| Acorn npm Fast, minimal JavaScript/ECMAScript parser written in JavaScript. |
66 | 17 (0.4%) | 152M | 11.5K | MIT |
More in Scraping, browsers and parsing: Beautiful Soup Puppeteer lxml Playwright Core Playwright (Python) Cheerio fast-xml-parser jsonc-parser