XPath
DOM 3 XPath implementation for querying XML/HTML in Node.js and browsers.
2. Maintained
github.com/goto100/xpath3. Used by agents' projects
Dependency in 2 public GitHub projects set up for AI coding agents that we scanned (0.0%).
4. Agent access
Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.
From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error
What XPath does
DOM 3 XPath implementation for querying XML/HTML in Node.js and browsers.
XPath popularity
Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated
How XPath is used
- XPath joined the catalog on its public numbers (24,452,917 downloads a week on npm and 234 GitHub stars), not on our project count: it is a dependency in 6 public GitHub projects of our scan, 2 of them set up for AI coding agents.
- The most used alternative in our scan is Cheerio (76 projects).
- Projects that use it most often also use LangChain.js (66.7%), Model Context Protocol SDK (JavaScript) (50.0%), adm-zip (50.0%).
Often used with
More about XPath
More in Scraping, browsers and parsing
Alternatives
XPath This page
jQuery-like syntax for parsing and manipulating HTML/XML with server-side speed.
Get started
Install it.
npm install xpathNo step-by-step start for XPath yet: we have not written its hand-checked card.