Package
focus-within-polyfill
Small vanilla javascript that feature detect the :focus-within pseudo selector and polyfills it with a standard css class if necessary.
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 7k
- -43% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 0
- Direct, from package.json
- Last release
- 5 years ago
- v5.2.1
- GitHub stars
- 38
- 5 forks
- Open issues / PRs
- 1 / 11
- Contributors
- -
- Commits, last 52 weeks
- 0
Downloads
Last week 2026-09-15 to 2026-09-21
7,047 downloads last week, 32,238 in the last month. The 12-month change of -43% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- -
- Latest version
- 5.2.1, 8 Apr 20215 years ago
- First published
- -
- Last push to GitHub
- 3 Dec 20221,391 days before the snapshot
- Repository archived
- No
- Open issues
- 1
- Open pull requests
- 11
- Commits, last 52 weeks
- 0
- Dependents on npm
- 15
Major versions
-
Recent releases
-
- Module format
- CommonJSFrom package.json type, main and exports fields
- TypeScript types
- None
- Node.js engine range
- >=8
- Runtimes
- -
- Unpacked size (npm)
- 48 kB
- Dependencies (0)
- None
npm install focus-within-polyfillCDN
jsDelivr: 67.2k requests in 30 days
- jsDelivr
https://cdn.jsdelivr.net/npm/focus-within-polyfill@5.2.1/ - unpkg
https://unpkg.com/focus-within-polyfill@5.2.1/ - esm.sh
https://esm.sh/focus-within-polyfill@5.2.1
Indexability: Not indexed (discovery only): downloads_week 7047 < 10000.