prettier/plugin-xml

Prettier XML plugin

Hosted by Prettier

View on GitHub ↗Jump to charts ↓

prettier/plugin-xml has 250+ stars and 40+ forks on GitHub, is written in JavaScript, and was last pushed on Oct 14, 2026. Data as of . Signed-in members get hourly updates — create a free account.

Summary Information

Updated 39 minutes ago
Type:Plugin / ExtensionCategory(s):Code Quality & Static AnalysisDeveloper Tools
Added to GitGenius on October 12th, 2026
Created on November 12th, 2019
Open Issues & Pull Requests: 18 (+0)
GitHub issues: Enabled
Number of forks: 46
Total Stargazers: 276 (+0)
Total Subscribers: 4 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 7.1 days
Mean response time: 151.8 days
90th percentile: 396.9 days
Tracked items: 10

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 12
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 541 days
Stale 30+ days: 12
Stale 90+ days: 11

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • enhancement (2)
  • blocked (1)
  • bug (1)

Most active issues this week

Sign in to see which issues are moving.
Sign in

Detailed Description

Prettier XML plugin is a code formatter plugin that extends Prettier to handle XML documents.

The plugin solves the problem of inconsistent XML formatting by applying Prettier's opinionated formatting rules to XML files. It works by integrating with Prettier's plugin architecture, allowing developers to format XML alongside other file types using a single configuration and command-line interface. The tool handles indentation, line breaks, and whitespace normalization according to configurable rules.

Developers should adopt this plugin if they work with XML files in projects that already use Prettier for other languages, or if they want to enforce consistent XML formatting across a team. It suits projects where XML is a primary or secondary file format and where maintaining a unified formatting approach across the codebase matters. The plugin integrates seamlessly into existing Prettier workflows without requiring separate XML-specific tooling.

The project shows active maintenance with regular updates addressing bug fixes and compatibility improvements. Development activity demonstrates responsiveness to user-reported issues and a commitment to keeping the plugin aligned with Prettier's evolving API and standards.