web-tree-sitter
Tree-sitter language parser bindings for parsing and analyzing code in browsers.
Scraping, browsers and parsing npm MIT
How web-tree-sitter is used
web-tree-sitter is a dependency in 20 of the 6,208 public GitHub projects set up for AI coding agents that we scanned (0.4% of the 4,818 JavaScript/TypeScript ones), #16 of 134 in scraping, browsers and parsing. Counting the projects our scan samples by dependency (Solana 2,661, Ethereum and EVM 1,496, 3D and games 2,818, agent frameworks and SDKs 10,983), it appears in 54; those are left out of every share on this page. The most used alternative in our scan is Acorn (17 projects). Projects that use it most often also use Anthropic SDK (90.0%), Model Context Protocol SDK (JavaScript) (85.0%), Zod (90.0%). It is more common in projects set up for OpenClaw (3.3%) than for GitHub Copilot (0.2%).
web-tree-sitter popularity over time
Gid Score 61: downloads 78, use in agent projects 42, GitHub stars 67, downloads trend 41 (each 0-100). How it is calculated.
Often used with web-tree-sitter
| Anthropic SDK | 90.0% of web-tree-sitter projects · 24.1× more than average |
|---|---|
| Model Context Protocol SDK (JavaScript) | 85.0% of web-tree-sitter projects · 9.0× more than average |
| Zod | 90.0% of web-tree-sitter projects · 3.6× more than average |
| OpenAI | 80.0% of web-tree-sitter projects · 17.5× more than average |
| chokidar | 75.0% of web-tree-sitter projects · 44.3× more than average |
| Express | 75.0% of web-tree-sitter projects · 11.1× more than average |
| Marked | 70.0% of web-tree-sitter projects · 27.5× more than average |
| esbuild | 50.0% of web-tree-sitter projects · 10.7× more than average |
By coding agent
| Claude Code | 0.5% of projects set up for it |
|---|---|
| OpenClaw | 3.3% of projects set up for it |
| GitHub Copilot | 0.2% of projects set up for it |
Share of public repos configured for each agent that list web-tree-sitter as a dependency.
How web-tree-sitter 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: tree-sitter-typescript (Python), Tree-sitter JavaScript, 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 web-tree-sitter
GitHub Sponsors Open Collective Ko-fi
As the maintainers list them in FUNDING.yml on GitHub. Checked Oct 20, 2026.
Install
| Package | npm install web-tree-sitter |
|---|---|
| Main stacks | TypeScript / JavaScript (20) |
| Example projects | garrytan/gbrain, mertcanaltin/composto, CharlesHoskinson/dancesWithClaws, Hive-Academy/ptah-extension, bharat3645/The-Ideal-Harness |
Alternatives to web-tree-sitter
Tools that do the same job, so a project picks one or the other. Add-ons and libraries used alongside web-tree-sitter 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