libexpat/libexpat
:herb: Fast streaming XML parser written in C99 with >90% test coverage; moved from SourceForge to GitHub observed · 2026-08-28
Health v2 · maintenance only
94/100
- Activity 99
- Release rhythm 85
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 45
- age_days: 3504
- days_rel: 23
- days_push: 8
- n_releases_24m: 12
Adoption not part of the score
1366 stars · 535 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Expat is a fast, stream-oriented XML parser library written in C99, well suited for files too large to fit in memory. It is widely packaged and embedded in many applications, with high test coverage and regular security releases.
Use cases
- parse large xml files without loading them into memory
- embed an xml parser in a c or c++ application
- stream-parse xml documents with sax-style callbacks
- process xml feeds incrementally
- need a fast lightweight xml parsing library
When to choose
- you need a battle-tested, dependency-free C XML parser
- parsing XML larger than available RAM
- performance and low memory footprint matter
- you want a library packaged everywhere with broad bindings
When to avoid
- you need DOM-style tree access rather than streaming events
- you need XML schema validation or XPath support
- you are working in a high-level language where native parsers suffice
Facets
library · maturity stable
parser serialization parsers developer-tools c cpp cross-platform windows xml streaming-parser c99 expat sax-style linux macos
2 sources
- readme: https://github.com/libexpat/libexpat · fetched 2026-08-28 · 9050593533f6
- homepage: https://libexpat.github.io/ · fetched 2026-08-29 · 167f10a73447
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| libexpat/libexpat | main | 94 |
For agents
markdown · JSON · MCP: product_card(name="libexpat/libexpat")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem