Skip to content
JS
Package

focus-lock

DOM trap for a focus

v1.3.6, 4 Jan 2025MITESM + CommonJSTypes: Bundled
$ npm install focus-lock

Key numbers

As of 25 Sept 2026
Weekly downloads
2.9m
+30% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
1 year ago
v1.3.6
GitHub stars
186
21 forks
Open issues / PRs
0 / 0
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
01m2m3m4mSept 2025Mar 2026Sept 2026High 3.9m (25 Aug 2026)Low 1.2m (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,944,579 downloads last week. The 12-month change of +30% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
055 in total
Latest version
1.3.6, 4 Jan 20251 year ago
First published
2 Sept 2017
Last push to GitHub
4 Jan 2025629 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
0
Commits, last 52 weeks
0
Dependents on npm
-

Major versions

  1. v1 first release 1.0.0, 12 Oct 2023
  2. v0 first release 0.0.1, 2 Sept 2017

Recent releases

VersionPublished
1.3.64 Jan 2025
1.3.56 Apr 2024
1.3.46 Mar 2024
1.3.320 Feb 2024
1.3.219 Feb 2024
1.3.116 Feb 2024
1.3.016 Feb 2024
1.2.014 Feb 2024
1.1.011 Feb 2024
1.0.19 Feb 2024
1.0.012 Oct 2023
0.11.616 Feb 2023
0.11.528 Jan 2023
0.11.424 Nov 2022
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=10
Runtimes
-
Unpacked size (npm)
184 kB
Dependencies (1)
tslib
npm install focus-lock

CDN

jsDelivr: 212.6k requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/focus-lock@1.3.6/
  • unpkghttps://unpkg.com/focus-lock@1.3.6/
  • esm.shhttps://esm.sh/focus-lock@1.3.6
Sources: npm registry, npm downloads API, GitHub API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): no category.