Package
element-closest-polyfill
A minimal polyfill for Element.closest
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 62.5k
- +75% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 0
- Direct, from package.json
- Last release
- 2 years ago
- v1.0.7
- GitHub stars
- 16
- 1 forks
- Open issues / PRs
- 0 / 1
- Contributors
- -
- Commits, last 52 weeks
- 0
Downloads
Last week 2026-09-15 to 2026-09-21
62,456 downloads last week, 291,893 in the last month. The 12-month change of +75% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- -
- Latest version
- 1.0.7, 18 Nov 20232 years ago
- First published
- -
- Last push to GitHub
- 16 Dec 2024647 days before the snapshot
- Repository archived
- No
- Open issues
- 0
- Open pull requests
- 1
- Commits, last 52 weeks
- 0
- Dependents on npm
- 35
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)
- 1.8 kB
- Dependencies (0)
- None
npm install element-closest-polyfill- jsDelivr
https://cdn.jsdelivr.net/npm/element-closest-polyfill@1.0.7/ - unpkg
https://unpkg.com/element-closest-polyfill@1.0.7/ - esm.sh
https://esm.sh/element-closest-polyfill@1.0.7
Indexability: Indexed.