🍺 BREW Explorer

← all formulae

expat

brew install expat v2.8.1 MIT keg-only

C library for parsing XML 1.0 documents.

Why you might care

Expat is a fast, lightweight XML parser widely used as a dependency in build chains and applications needing XML support without heavy frameworks. It's keg-only because macOS provides its own version; use Homebrew's if you need a newer release or explicit control over the version for builds.

Categories

Alternatives

libxml2 pugixml tinyxml
107.4k
30-day installs · #36
417.4k
90-day · #30
1.3M
365-day · #39

Links

Keg-only reason

:provided_by_macos

Blurb generated by claude-haiku-4-5 on today.

Raw metadata
{
  "aliases": [],
  "alternatives": [
    "libxml2",
    "pugixml",
    "tinyxml"
  ],
  "build_dependencies": [],
  "categories": [
    "library",
    "parser",
    "xml-tool"
  ],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "XML 1.0 parser",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:37:27+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "expat",
  "github_default_branch": null,
  "github_last_commit_at": null,
  "github_readme_excerpt": null,
  "github_repo": null,
  "github_stars": null,
  "github_topics": [],
  "homepage": "https://libexpat.github.io/",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": "Welcome to Expat! \u00b7 Expat XML parser",
  "installs_30d": 107441,
  "installs_365d": 1303331,
  "installs_90d": 417382,
  "keg_only": 1,
  "keg_only_reason": ":provided_by_macos",
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "MIT",
  "llm_generated_at": "2026-06-20T23:42:17+00:00",
  "llm_model": "claude-haiku-4-5",
  "name": "expat",
  "oldnames": [],
  "one_liner": "C library for parsing XML 1.0 documents.",
  "optional_dependencies": [],
  "rank_30d": 36,
  "rank_365d": 39,
  "rank_90d": 30,
  "raw_hash": "9286fd17ee41c066",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/e/expat.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": "HEAD",
  "version_stable": "2.8.1",
  "versioned_formulae": [],
  "why_use_this": "Expat is a fast, lightweight XML parser widely used as a dependency in build chains and applications needing XML support without heavy frameworks. It\u0027s keg-only because macOS provides its own version; use Homebrew\u0027s if you need a newer release or explicit control over the version for builds."
}