Ross ROSS = Recommend OSS · open-source software intelligence for agents

lafikl/steady.js

A module to do some logic on the `onscroll` event without performance regressions in a @media-query like conditions. observed · 2026-08-28

github.com/lafikl/steady.js · homepage · JavaScript · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

23/100

  • Activity 0
  • Release rhythm 8
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 4482
  • days_rel: n/a
  • days_push: 3960
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1348 stars · 35 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

Steady.js is a small JavaScript module for running logic on the onscroll event without performance regressions, using media-query-like conditions and customizable trackers. It keeps the scroll handler tiny (collecting values only) and offloads condition evaluation to requestAnimationFrame, throttling work so scrolling stays jank-free.

Use cases

  • run code when the user scrolls near the bottom of a page or element
  • implement infinite scroll or lazy loading without jank
  • write scroll-position conditions like media queries (e.g. when scrolled 500px down)
  • optimize a heavy onscroll handler that causes dropped frames
  • trigger UI changes based on scroll depth or viewport width
  • build custom scroll trackers that collect values like top, bottom, width, or scrollLeft

When to choose

  • you need scroll-triggered behavior (infinite scroll, lazy loading, sticky reveals) that stays smooth
  • you want declarative, media-query-style conditions on scroll values instead of manual event math
  • you're working on a vanilla JS or older-stack frontend where a tiny dependency-free scroll utility fits

When to avoid

  • you're on a modern stack where native IntersectionObserver covers scroll-triggered behavior without a library
  • you need a currently maintained library with recent updates and security support (last release was 2015)
  • you need framework-specific scroll integrations (React/Vue components) rather than a vanilla DOM utility

Facets

library · maturity abandoned

animation state-management web-development frontend performance browser scroll-events onscroll requestanimationframe jank-free infinite-scroll lazy-loading media-queries scroll-position trackers vanilla-javascript dom tiny-library

2 sources

Member repositories

RepositoryRoleHealth v2
lafikl/steady.jsmain23

For agents

markdown · JSON · MCP: product_card(name="lafikl/steady.js")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem