Skip to content
JS
Package

onscreen

A light library that does stuff when the matched elements enter or leave the viewport

v1.4.0MITCommonJSTypes: None
$ npm install onscreen
Deprecated on npm
Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

Key numbers

As of 25 Sept 2026
Weekly downloads
1.6k
+5% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
-
v1.4.0
GitHub stars
-
Open issues / PRs
- / -
Contributors
-
Commits, last 52 weeks
-

Downloads

Last week 2026-09-15 to 2026-09-21
01k2k3k4kSept 2025Mar 2026Sept 2026High 3.5k (28 Jul 2026)Low 591 (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,585 downloads last week, 6,744 in the last month. The 12-month change of +5% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
1.4.0
First published
-
Last push to GitHub
-
Repository archived
-
Open issues
-
Open pull requests
-
Commits, last 52 weeks
-
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)
134 kB
Dependencies (0)
None
npm install onscreen

CDN

jsDelivr: 311.5k requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/onscreen@1.4.0/
  • unpkghttps://unpkg.com/onscreen@1.4.0/
  • esm.shhttps://esm.sh/onscreen@1.4.0
Sources: npm registry, npm downloads API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): deprecated; downloads_week 1585 < 10000; GitHub data not fetched yet; no category.