Skip to content
JS
Package

scrollparent

A function to get the scrolling parent of an html element.

v2.1.0, 28 May 2023ISCCommonJSTypes: NoneDOM and browser utilities
$ npm install scrollparent

Key numbers

As of 25 Sept 2026
Weekly downloads
1.1m
+112% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
3 years ago
v2.1.0
GitHub stars
58
11 forks
Open issues / PRs
2 / 1
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
0500k1m1.5m2mSept 2025Mar 2026Sept 2026High 1.7m (25 Aug 2026)Low 350.1k (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.

1,113,501 downloads last week, 5,565,381 in the last month. The 12-month change of +112% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
06 in total
Latest version
2.1.0, 28 May 20233 years ago
First published
8 Jul 2015
Last push to GitHub
28 Feb 2026209 days before the snapshot
Repository archived
No
Open issues
2
Open pull requests
1
Commits, last 52 weeks
0
Dependents on npm
169

Major versions

  1. v2 first release 2.0.0, 9 Apr 2017
  2. v1 first release 1.0.0, 18 Mar 2016
  3. v0 first release 0.1.0, 8 Jul 2015

Recent releases

VersionPublished
2.1.028 May 2023
2.0.110 Apr 2017
2.0.09 Apr 2017
1.0.217 Oct 2016
1.0.018 Mar 2016
0.1.08 Jul 2015
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
4.3 kB
Dependencies (0)
None
npm install scrollparent
  • jsDelivrhttps://cdn.jsdelivr.net/npm/scrollparent@2.1.0/
  • unpkghttps://unpkg.com/scrollparent@2.1.0/
  • esm.shhttps://esm.sh/scrollparent@2.1.0
PackageWeekly downloadsGzipLast releaseModuleComparison
scrollmonitor12k-3 years agoESM + CommonJS-
@oozcitak/dom15.9m-7 months agoCommonJS-
jsx-dom-cjs14.2k-1 year agoCommonJS-
jsx-dom12.2k-1 year agoESM only-
react-horizontal-scrolling-menu80.4k-25 days agoESM + CommonJS-
react-remove-scroll56m-9 months agoESM + CommonJS-
react-scrolllock134.5k-6 years agoCommonJS-
react-faux-dom21k-7 years agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.