Tree-sitter JavaScript
JavaScript grammar for tree-sitter enabling fast code parsing and analysis.
Scraping, browsers and parsing PyPI MIT
How Tree-sitter JavaScript is used
Tree-sitter JavaScript is a dependency in 12 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 67 projects, and what it is used with below comes from all of them. The most used alternative in our scan is tree-sitter-typescript (Python) (13 projects). Projects that use it most often also use tree-sitter (100.0%), tree-sitter-typescript (Python) (83.6%), tree-sitter-java (79.1%).
Tree-sitter JavaScript popularity over time
Gid Score 45: downloads 74, use in agent projects 45, GitHub stars 0, downloads trend 54 (each 0-100). How it is calculated.
Often used with Tree-sitter JavaScript
| tree-sitter | 100.0% of Tree-sitter JavaScript projects · 238.8× more than average |
|---|---|
| tree-sitter-typescript (Python) | 83.6% of Tree-sitter JavaScript projects · 399.1× more than average |
| tree-sitter-java | 79.1% of Tree-sitter JavaScript projects · 491.1× more than average |
| NumPy | 77.6% of Tree-sitter JavaScript projects · 13.3× more than average |
| Pydantic | 77.6% of Tree-sitter JavaScript projects · 9.0× more than average |
| Requests | 73.1% of Tree-sitter JavaScript projects · 10.8× more than average |
| NetworkX | 71.6% of Tree-sitter JavaScript projects · 71.7× more than average |
| python-dotenv | 70.1% of Tree-sitter JavaScript projects · 7.7× more than average |
From all 67 projects in our scan that use Tree-sitter JavaScript, including the dependency samples.
By coding agent
| Claude Code | 0.3% of projects set up for it |
|---|
Share of public repos configured for each agent that list Tree-sitter JavaScript as a dependency.
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-java, tree-sitter-rust, tree-sitter-cpp, tree-sitter-typescript (JavaScript) 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 | pip install tree-sitter-javascript |
|---|---|
| Main stacks | Python (67) |
| Example projects | wandb/llm-leaderboard, SalesforceAIResearch/SFR-RAG, PurCL/ASTRA, aanno/cocoindex-code-mcp-server, Hidden-History/ai-memory |
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 |
|---|---|---|---|---|---|
| tree-sitter-typescript (Python) pypi TypeScript and TSX grammar for tree-sitter code parsing and analysis. |
47 | 13 (0.8%) | 2.8M | 536 | MIT |
| tree-sitter-java pypi Java grammar for tree-sitter code parsing and analysis. |
42 | 10 (0.6%) | 1.6M | 277 | MIT |
More in Scraping, browsers and parsing: Beautiful Soup Puppeteer lxml Playwright Core Playwright (Python) Cheerio fast-xml-parser jsonc-parser