strues/retinajs
JavaScript, SCSS, Sass, Less, and Stylus helpers for rendering high-resolution image variants observed · 2026-08-28
Health v2 · maintenance only
10/100
- Activity 77
- Release rhythm 8
- Longevity 100
Flags: archived
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5264
- days_rel: n/a
- days_push: 141
- n_releases_24m: 0
Adoption not part of the score
4379 stars · 590 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
retina.js is a JavaScript library with Sass, Less, and Stylus helpers that automatically serves high-resolution (@2x, @3x) image variants to devices with high-DPI displays. The project is archived and no longer maintained, as modern browsers now handle this natively via srcset, <picture>, and image-set().
Use cases
- serve @2x images to retina displays
- swap img src for high-DPI screens
- generate media queries for retina background images
- support multiple pixel density image variants
- maintain a legacy site that uses retina.js
When to choose
- maintaining a legacy codebase already using retina.js
- supporting very old browsers without srcset or image-set support
When to avoid
- starting a new project - use native srcset, <picture>, and image-set() instead
- any actively developed site needing maintained dependencies
Facets
library · maturity abandoned
image-processing ui-components web-development frontend browser retina high-dpi images legacy scss sass less stylus nodejs
3 sources
- readme: https://github.com/strues/retinajs · fetched 2026-08-28 · 869da01da28c
- homepage: http://retinajs.com · fetched 2026-08-29 · 44136fa355b3
- registry_npm: https://registry.npmjs.org/retinajs · fetched 2026-08-29 · 4c5ad8921364
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| strues/retinajs | main | 10 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem