# Tree-sitter (Node.js) — card for AI agents

Node.js bindings for Tree-sitter, the incremental parsing library for code.

Category: Scraping, browsers and parsing · npm package `tree-sitter` · latest version 0.25.1 (checked 2026-11-01)
Install: `npm install tree-sitter`
License: MIT (permissive)

In your own product (generator, app, hosted service): **yes**. Permissive license: ship it inside your own product, closed or open source, and keep its license and copyright notice.

## Numbers (AgentGid data)
- Gid Score: 44.2 (#2638 of all tools, 81 of 141 in its category)
- Used in 4 public projects set up for AI coding agents (0.1%)
- Downloads last week: 4,047,874 (as of 2026-11-24), +36.7% over 4 weeks
- GitHub stars: 886 (as of 2026-11-24)
- Last push: 2026-07-29

## Often used with
tree-sitter-typescript (JavaScript) 72.7%, tree-sitter-javascript 63.6%, tree-sitter-python 54.5%, dotenv 54.5%, chokidar 45.5%, tree-sitter-go 36.4%

## Checked alternatives (same job)
- web-tree-sitter: https://agentgid.com/tools/web-tree-sitter/agent.md

## Links
- AgentGid page: https://agentgid.com/tools/tree-sitter-npm/
- Homepage: https://github.com/tree-sitter/node-tree-sitter#readme
- Repository: https://github.com/tree-sitter/node-tree-sitter

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
