Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

xml2js

XML to JavaScript object parser for handling XML data in applications.

Scraping, browsers and parsingNPM

GitHubWebsite

1. License

License from npm.

github.com/Leonidas-from-XIV/node-xml2js

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What xml2js does

XML to JavaScript object parser for handling XML data in applications.

xml2js popularity

66 / 100
Gid Score, #636 overall
65.6M
downloads a week, npm
4,955
GitHub stars
15
agent projects use it
xml2js: downloads per weeknpm, xml2js 65,601,483
xml2js: GitHub starsLeonidas-from-XIV/node-xml2js 4,955

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How xml2js is used

  • xml2js is a dependency in 15 of the 6,258 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750); counting those, it appears in 53 projects, and what it is used with below comes from all of them.
  • The most used alternative in our scan is Cheerio (76 projects).
  • Projects that use it most often also use Playwright (JavaScript) (50.9%), ESLint (71.7%), Jest (35.8%).

By coding agent

8 projects, 0.3%
6 projects, 0.2%
5 projects, 0.2%

Often used with

In 50.9% of its projects
In 71.7% of its projects
In 35.8% of its projects
In 88.7% of its projects
In 58.5% of its projects
In 35.8% of its projects
In 43.4% of its projects
In 30.2% of its projects

More about xml2js

More in Scraping, browsers and parsing

Alternatives

xml2js This page

MITGid 6665.6M/wk

Cheerio

jQuery-like syntax for parsing and manipulating HTML/XML with server-side speed.

MITGid 7837.4M/wk

fast-xml-parser

High-performance XML parser and builder without native dependencies.

MITGid 67119M/wk

Compare xml2js with another tool

Get started

Install it.

npm install xml2js

No step-by-step start for xml2js yet: we have not written its hand-checked card.