Package
xpath-html
Easily use XPath to locate any element in an HTML DOM page
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
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- jsDelivr
https://cdn.jsdelivr.net/npm/xpath-html@1.0.3/ - unpkg
https://unpkg.com/xpath-html@1.0.3/ - esm.sh
https://esm.sh/xpath-html@1.0.3
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| hast-util-from-dom | 5.8m | - | 1 year ago | ESM only | - |
| hast-util-from-html-isomorphic | 5.4m | - | 3 years ago | ESM only | - |
| @tanem/svg-injector | 232.4k | - | 24 days ago | ESM + CommonJS | - |
| hast-util-to-dom | 214.6k | - | 1 year ago | ESM only | - |
| react-svg | 232.1k | - | 24 days ago | ESM + CommonJS | - |
| rehype-dom-parse | 217.6k | - | 1 year ago | ESM only | - |
| dom-to-pdf | 13.6k | - | 3 years ago | CommonJS | - |
| rehype-dom-stringify | 210.6k | - | 1 year ago | ESM only | - |
Indexability: Not indexed (discovery only): downloads_week 2152 < 10000.