# @gi.ts/parser

> Parser for GObject Introspection XML files

Latest version **4.9.0** (published 2026-09-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install @gi.ts/parser
pnpm add @gi.ts/parser
yarn add @gi.ts/parser
bun add @gi.ts/parser
```

## Health

**Score 55/100 (C)** — status: active.

Positive: no vulnerabilities; recently updated; high maintenance score.

Warnings: low downloads; no types; no esm support.

## Facts

| | |
|---|---|
| Version | 4.9.0 |
| Published | 2026-09-10 |
| First published | 2020-10-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 290 |
| Maintainers | ewlsh, jumplink |

## Links

- npm: https://www.npmjs.com/package/@gi.ts/parser
- Repository: https://github.com/gjsify/ts-for-gir
- Issues: https://github.com/gjsify/ts-for-gir/issues
- npm.io page: https://npm.io/package/@gi.ts/parser

## Recent versions

- 4.9.0 (latest) — 2026-09-10
- 2.0.0 (next) — 2024-04-11
- 4.8.0 — 2026-09-10
- 4.7.0 — 2026-09-05
- 4.6.0 — 2026-09-01
- 4.5.0 — 2026-09-01
- 4.4.0 — 2026-08-31
- 4.3.0 — 2026-08-28
- 4.2.0 — 2026-08-27
- 4.1.0 — 2026-07-02
- 4.0.4 — 2026-05-26
- 4.0.3 — 2026-05-26
- 4.0.2 — 2026-05-26
- 4.0.1 — 2026-05-22
- 4.0.0 — 2026-05-22
- … 44 more at https://npm.io/package/@gi.ts/parser/versions

## README

<p align="center">
  <img src="https://raw.githubusercontent.com/gjsify/ts-for-gir/main/.github/ts-for-gir.png" />
  <h1 align="center">TS <small>for</small> GIR</h1>
</p>

<p align="center">
  <img src="https://img.shields.io/github/actions/workflow/status/gjsify/ts-for-gir/ci.yml" />
  <img src="https://img.shields.io/github/license/gjsify/ts-for-gir" />
  <img src="https://img.shields.io/npm/v/@gi.ts/parser" />
  <img src="https://img.shields.io/npm/dw/@gi.ts/parser" />
</p>

<p align="center">TypeScript type definition generator for GObject introspection GIR files</p>

<p align="center">
  <img src="https://raw.githubusercontent.com/gjsify/ts-for-gir/main/.github/feeling.gif" />
</p>

# Parser

Core parser for GObject Introspection Repository (GIR) XML files. This package converts GIR XML files into structured TypeScript interfaces that can be used by the rest of the ts-for-gir toolchain.

The parser provides:
- Complete type definitions for the GIR XML format
- XML parsing capabilities using fast-xml-parser
- TypeScript interfaces representing the GIR structure

---
_Source: https://npm.io/package/@gi.ts/parser · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
