Package
xpath2.js
DOM-agnostic implementation of XPath 2 parser and evaluator in JavaScript
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 2k
- +86% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 0
- Direct, from package.json
- Last release
- 5 years ago
- v1.0.0-alpha-6
- GitHub stars
- 84
- 12 forks
- Open issues / PRs
- 5 / 3
- Contributors
- -
- Commits, last 52 weeks
- 0
Downloads
Last week 2026-09-15 to 2026-09-21
2,039 downloads last week, 8,775 in the last month. The 12-month change of +86% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- -
- Latest version
- 1.0.0-alpha-6, 27 Mar 20215 years ago
- First published
- -
- Last push to GitHub
- 5 Mar 20231,299 days before the snapshot
- Repository archived
- No
- Open issues
- 5
- Open pull requests
- 3
- Commits, last 52 weeks
- 0
- Dependents on npm
- 2
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)
- 310 kB
- Dependencies (0)
- None
npm install xpath2.js- jsDelivr
https://cdn.jsdelivr.net/npm/xpath2.js@1.0.0-alpha-6/ - unpkg
https://unpkg.com/xpath2.js@1.0.0-alpha-6/ - esm.sh
https://esm.sh/xpath2.js@1.0.0-alpha-6
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| @xmldom/xmldom | 36.9m | - | 1 month ago | CommonJS | - |
| xmldom-sre | 136.1k | - | 3 years ago | CommonJS | - |
| svgdom | 41.2k | - | 15 days ago | ESM + CommonJS | - |
| @simple-dom/parser | 18.6k | - | 7 years ago | ESM + CommonJS | - |
| @tanem/svg-injector | 232.4k | - | 24 days ago | ESM + CommonJS | - |
| 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 | - |
Indexability: Not indexed (discovery only): downloads_week 2039 < 10000.