williamngan/roll
roll and scroll tracking -- a tiny javascript library 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: 3986
- days_rel: n/a
- days_push: 3414
- n_releases_24m: 0
Adoption not part of the score
1004 stars · 62 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A tiny (~8kb) dependency-free JavaScript library for tracking scroll position, pagination, and step-based progress in DOM or canvas contexts. It emits 'roll' and 'step' events that you can hook into for scroll-driven slideshows, animations, and pagination logic.
Use cases
- track scroll position in a DOM element
- build a scrolling slideshow with step events
- implement scroll-based pagination
- trigger animations based on scroll progress
- track position and steps in a canvas-based interface
- add css classes to steps as they come into view
When to choose
- you need a lightweight, dependency-free scroll tracking utility
- you want event-driven pagination or step-based scroll logic
- you're building a scrolling slideshow and want simple css class toggling
- you need scroll tracking for both DOM and canvas contexts
When to avoid
- you need a full-featured scroll animation library like GSAP ScrollTrigger
- you want scroll-linked parallax or complex timeline effects out of the box
- you need a framework-integrated scroll solution with React/Vue bindings
- you require active maintenance and recent updates
Facets
library · maturity maintenance
state-management animation web-development frontend browser scroll-tracking pagination event-emitter tiny-library no-dependencies javascript
1 source
- readme: https://github.com/williamngan/roll · fetched 2026-08-28 · 9b7b52a7deca
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| williamngan/roll | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="williamngan/roll")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem