Package
body-scroll-lock
Enables body scroll locking (for iOS Mobile and Tablet, Android, desktop Safari/Chrome/Firefox) without breaking scrolling of a target element (eg. modal/lightbox/flyouts/nav-menus)
$ npm install body-scroll-lockKey numbers
As of 25 Sept 2026
- Weekly downloads
- 1.3m
- +54% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 0
- Direct, from package.json
- Last release
- 5 years ago
- v4.0.0-beta.0
- GitHub stars
- -
- Open issues / PRs
- - / -
- Contributors
- -
- Commits, last 52 weeks
- -
Downloads
Last week 2026-09-15 to 2026-09-21
1,324,323 downloads last week, 6,613,406 in the last month. The 12-month change of +54% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 063 in total
- Latest version
- 4.0.0-beta.0, 23 Jun 20215 years ago
- First published
- 19 Jan 2018
- Last push to GitHub
- -
- Repository archived
- -
- Open issues
- -
- Open pull requests
- -
- Commits, last 52 weeks
- -
- Dependents on npm
- 821
Major versions
- v3 first release 3.0.0, 18 Mar 2020
- v2 first release 2.0.0, 19 Jan 2018
- v1 first release 1.0.1, 19 Jan 2018
Recent releases
| Version | Published |
|---|---|
| 3.1.5 | 15 Sept 2020 |
| 3.1.4 | 15 Sept 2020 |
| 3.1.3 | 31 Aug 2020 |
| 3.0.3 | 2 Jun 2020 |
| 3.0.2 | 26 Apr 2020 |
| 3.0.1 | 18 Mar 2020 |
| 3.0.0 | 18 Mar 2020 |
| 2.7.1 | 18 Mar 2020 |
| 2.7.0 | 16 Mar 2020 |
| 2.6.4 | 13 Jul 2019 |
| 2.6.3 | 27 Jun 2019 |
| 2.6.2 | 27 Jun 2019 |
| 2.6.1 | 24 Nov 2018 |
| 2.6.0 | 21 Nov 2018 |
- Module format
- -Not determined from package.json
- TypeScript types
- -
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- -
- Dependencies (0)
- None
npm install body-scroll-lockCDN
jsDelivr: 20.2m requests in 30 days
- jsDelivr
https://cdn.jsdelivr.net/npm/body-scroll-lock@4.0.0-beta.0/ - unpkg
https://unpkg.com/body-scroll-lock@4.0.0-beta.0/ - esm.sh
https://esm.sh/body-scroll-lock@4.0.0-beta.0
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| tua-body-scroll-lock | 143.5k | - | 8 months ago | ESM + CommonJS | - |
Indexability: Not indexed (discovery only): GitHub data not fetched yet.