Skip to content
JS
Package

size-sensor

DOM element size sensor which will callback when size changed.

v1.0.3, 16 Jan 2026ISCCommonJSTypes: BundledDOM and browser utilities
$ npm install size-sensor

Key numbers

As of 25 Sept 2026
Weekly downloads
1m
+191% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
8 months ago
v1.0.3
GitHub stars
168
24 forks
Open issues / PRs
1 / 0
Contributors
-
Commits, last 52 weeks
2

Downloads

Last week 2026-09-15 to 2026-09-21
0500k1m1.5m2mSept 2025Mar 2026Sept 2026High 1.6m (25 Aug 2026)Low 306.7k (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,038,378 downloads last week, 5,449,726 in the last month. The 12-month change of +191% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
216 in total
Latest version
1.0.3, 16 Jan 20268 months ago
First published
6 Jun 2018
Last push to GitHub
24 Jan 2026243 days before the snapshot
Repository archived
No
Open issues
1
Open pull requests
0
Commits, last 52 weeks
2
Dependents on npm
96

Major versions

  1. v1 first release 1.0.0, 14 Mar 2020
  2. v0 first release 0.0.2, 6 Jun 2018

Recent releases

VersionPublished
1.0.419 May 2026
1.0.316 Jan 2026
1.0.230 Aug 2023
1.0.119 May 2020
1.0.014 Mar 2020
0.2.612 Nov 2019
0.2.517 Jun 2019
0.2.424 Apr 2019
0.2.319 Apr 2019
0.2.27 Oct 2018
0.2.129 Aug 2018
0.2.06 Jul 2018
0.1.027 Jun 2018
0.0.422 Jun 2018
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
16 kB
Dependencies (0)
None
npm install size-sensor
  • jsDelivrhttps://cdn.jsdelivr.net/npm/size-sensor@1.0.3/
  • unpkghttps://unpkg.com/size-sensor@1.0.3/
  • esm.shhttps://esm.sh/size-sensor@1.0.3
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.