# @opensip-cli/tree-sitter

> Grammar-agnostic tree-sitter substrate (parser lifecycle + node accessors) shared by lang-* and the graph adapters

Latest version **0.8.5** (published 2026-07-24) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @opensip-cli/tree-sitter
pnpm add @opensip-cli/tree-sitter
yarn add @opensip-cli/tree-sitter
bun add @opensip-cli/tree-sitter
```

## Health

**Score 75/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; has provenance; recently updated; high maintenance score; high quality score.

Warnings: low downloads; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.8.5 |
| Published | 2026-07-24 |
| First published | 2026-06-15 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 30.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 1 |
| Maintainers | opensip |
| Keywords | opensip-cli, static-analysis, code-quality, tree-sitter, ast, parser |

## Links

- npm: https://www.npmjs.com/package/@opensip-cli/tree-sitter
- Repository: https://github.com/opensip-ai/opensip-cli
- Issues: https://github.com/opensip-ai/opensip-cli/issues
- npm.io page: https://npm.io/package/@opensip-cli/tree-sitter

## Dependencies (1)

- [web-tree-sitter](https://npm.io/package/web-tree-sitter.md) 0.26.11

## Alternatives

- [babylon](https://npm.io/package/babylon.md) — 5.1M weekly downloads
- [csscolorparser](https://npm.io/package/csscolorparser.md) — 3.7M weekly downloads
- [expr-eval-fork](https://npm.io/package/expr-eval-fork.md) — 1.5M weekly downloads
- [@leeoniya/ufuzzy](https://npm.io/package/@leeoniya/ufuzzy.md) — 247.7K weekly downloads
- [xml-parser](https://npm.io/package/xml-parser.md) — 78.4K weekly downloads

## Recent versions

- 0.8.5 (latest) — 2026-07-24
- 0.8.4 (release-candidate-0.8.4) — 2026-07-22
- 0.8.3 (release-candidate-0.8.3) — 2026-07-21
- 0.8.2 (release-candidate-0.8.2) — 2026-07-21
- 0.8.1 (release-candidate-0.8.1) — 2026-07-20
- 0.8.0 (release-candidate-0.8.0) — 2026-07-19
- 0.7.0 (release-candidate-0.7.0) — 2026-07-15
- 0.6.0 (release-candidate-0.6.0) — 2026-07-13
- 0.5.3 (release-candidate-0.5.3) — 2026-07-11
- 0.5.2 (release-candidate-0.5.2) — 2026-07-10
- 0.5.1 (release-candidate-0.5.1) — 2026-07-10
- 0.5.0 (release-candidate-0.5.0) — 2026-07-08
- 0.4.2 (release-candidate-0.4.2) — 2026-07-07
- 0.4.1 (release-candidate-0.4.1) — 2026-07-07
- 0.4.0 (release-candidate-0.4.0) — 2026-07-06
- … 25 more at https://npm.io/package/@opensip-cli/tree-sitter/versions

## README

<!-- Generated by scripts/build-package-readmes.mjs — do not edit by hand.
     Change the package's "description" (or the generator template) and run
     `pnpm docs:readmes`. CI enforces sync via `pnpm docs:readmes:check`. -->

# @opensip-cli/tree-sitter

> Grammar-agnostic tree-sitter substrate (parser lifecycle + node accessors) shared by lang-* and the graph adapters

This is an **internal library** of the opensip-cli toolkit. It is published so the CLI and tools can depend on it; most users will not install it directly.

Part of [**opensip-cli**](https://github.com/opensip-ai/opensip-cli) — an open-source codebase intelligence CLI: fitness checks (`fit`), static call-graph analysis (`graph`), simulation (`sim`), and advisory reduction audits (`yagni`).

**Distribution model:** the published `opensip-cli` npm package is a full-stack bundle of first-party tools, check packs, and language adapters. Third-party tools install separately via the `opensipTools` manifest and host allowlist; a slim install without bundled tools is not a current goal.

## Install

Most users install the CLI, which bundles the first-party tools:

```bash
curl -fsSL https://opensip.ai/cli/install.sh | bash
```

This package is published for the CLI and advanced plugin authors; most users should not install `@opensip-cli/tree-sitter` directly.

## Documentation

- 📚 Project docs: https://opensip.ai/docs/opensip-cli/
- 🧭 Package catalog (what every package does): https://github.com/opensip-ai/opensip-cli/blob/v0.8.5/docs/public/70-reference/02-package-catalog.md
- 📦 Source: https://github.com/opensip-ai/opensip-cli/tree/v0.8.5/packages/tree-sitter

## License

Apache-2.0 © opensip-ai

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