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

gnat/surreal

🗿 Mini jQuery alternative. Dependency-free animations. Locality of Behavior. Use one element or arrays transparently. Pairs with htmx. Vanilla querySelector() but better! observed · 2026-08-28

github.com/gnat/surreal · homepage · JavaScript · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

72/100

  • Activity 84
  • Release rhythm 40
  • 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: 0.0
  • age_days: 1551
  • days_rel: 408
  • days_push: 98
  • n_releases_24m: 3

Full methodology

Adoption not part of the score

1731 stars · 28 forks observed · 2026-08-28

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

Surreal is a tiny, dependency-free JavaScript library that provides ergonomic jQuery-style DOM selection and manipulation on top of vanilla querySelector. It adds Locality of Behavior helpers like me()/any(), call chaining, and built-in animations and timelines in roughly 320 lines with no build step.

Use cases

  • replace jQuery with a tiny vanilla JS alternative
  • avoid typing document.querySelector and addEventListener repeatedly
  • add animations and timelines without extra libraries
  • use inline scripts with locality of behavior alongside htmx
  • query one element or arrays of elements transparently
  • write ergonomic DOM manipulation with no build step

When to choose

  • you want jQuery-like ergonomics while staying close to vanilla JS
  • you pair htmx or hyperscript and want inline, local scripts
  • you need a tiny dependency-free DOM helper with animations

When to avoid

  • you need a full reactive frontend framework with state management
  • your project already standardizes on jQuery or a large UI framework
  • you need extensive plugin ecosystem or legacy browser support

Facets

library · maturity active

ui-components animation developer-tools web-development frontend browser jquery-alternative dom-manipulation locality-of-behavior vanilla-js htmx queryselector dependency-free no-build-step javascript

2 sources

Member repositories

RepositoryRoleHealth v2
gnat/surrealmain72

For agents

markdown · JSON · MCP: product_card(name="gnat/surreal")

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