Skip to content
JS
Package

scroll-lock

Cross-browser JavaScript library to disable scrolling page.

v2.1.5MITCommonJSTypes: NoneDOM and browser utilities
$ npm install scroll-lock
Deprecated on npm
Please use the new version: https://github.com/fluejs/noscroll

Key numbers

As of 25 Sept 2026
Weekly downloads
34.1k
-0% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
-
v2.1.5
GitHub stars
272
35 forks
Open issues / PRs
4 / 0
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
020k40k60k80kSept 2025Mar 2026Sept 2026High 70.6k (30 Jun 2026)Low 16.6k (30 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

34,110 downloads last week, 146,193 in the last month. The 12-month change of -0% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
2.1.5
First published
-
Last push to GitHub
24 Nov 2024669 days before the snapshot
Repository archived
No
Open issues
4
Open pull requests
0
Commits, last 52 weeks
0
Dependents on npm
-

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)
196 kB
Dependencies (0)
None
npm install scroll-lock

CDN

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

Indexability: Not indexed (discovery only): deprecated.