Skip to content
JS
Package

xpath-html

Easily use XPath to locate any element in an HTML DOM page

v1.0.3, 13 Mar 2022MITCommonJSTypes: NoneDOM and browser utilities
$ npm install xpath-html

Key numbers

As of 25 Sept 2026
Weekly downloads
2.2k
+50% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
5
Direct, from package.json
Last release
4 years ago
v1.0.3
GitHub stars
14
3 forks
Open issues / PRs
5 / 6
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
01k2k3k4kSept 2025Mar 2026Sept 2026High 3.9k (23 Jun 2026)Low 433 (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

2,152 downloads last week, 9,483 in the last month. The 12-month change of +50% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
1.0.3, 13 Mar 20224 years ago
First published
-
Last push to GitHub
4 Mar 20231,300 days before the snapshot
Repository archived
No
Open issues
5
Open pull requests
6
Commits, last 52 weeks
0
Dependents on npm
8

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
18 kB
Dependencies (5)
xpathparse5xmldomlodash.getxmlserializer
npm install xpath-html
  • jsDelivrhttps://cdn.jsdelivr.net/npm/xpath-html@1.0.3/
  • unpkghttps://unpkg.com/xpath-html@1.0.3/
  • esm.shhttps://esm.sh/xpath-html@1.0.3
PackageWeekly downloadsGzipLast releaseModuleComparison
hast-util-from-dom5.8m-1 year agoESM only-
hast-util-from-html-isomorphic5.4m-3 years agoESM only-
@tanem/svg-injector232.4k-24 days agoESM + CommonJS-
hast-util-to-dom214.6k-1 year agoESM only-
react-svg232.1k-24 days agoESM + CommonJS-
rehype-dom-parse217.6k-1 year agoESM only-
dom-to-pdf13.6k-3 years agoCommonJS-
rehype-dom-stringify210.6k-1 year agoESM only-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): downloads_week 2152 < 10000.