hammerjs/hammer.js
A javascript library for multi-touch gestures :// You can touch this observed · 2026-08-28
Health v2 · maintenance only
59/100
- Activity 60
- Release rhythm 35
- Longevity 100
Flags: no_releases
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: 5297
- days_rel: n/a
- days_push: 241
- n_releases_24m: 0
Adoption not part of the score
24343 stars · 2558 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Hammer.js is a small JavaScript library for detecting and handling multi-touch gestures like tap, swipe, pinch, and press in web applications. It ships with built-in recognizers and lets developers define custom gestures via a manager and recognizer API.
Use cases
- add swipe navigation to a mobile web app
- detect pinch-to-zoom on an image gallery
- handle tap and double-tap events on touch devices
- implement press-and-hold interactions
- create custom multi-touch gestures like triple tap
- make a webapp feel native on tablets and phones
When to choose
- you need touch gesture recognition in a browser-based app
- you want a tiny, dependency-free gesture library
- you need custom gesture recognizers beyond the built-ins
When to avoid
- your app is desktop-only with mouse input
- you need full pointer event handling rather than gestures
- you're using a framework that already provides gesture abstractions
Facets
library · maturity maintenance
ui-components animation web-development frontend browser touch-gestures mobile-web gesture-recognition dom-events javascript
2 sources
- readme: https://github.com/hammerjs/hammer.js · fetched 2026-08-28 · 77c91bee603f
- homepage: http://hammerjs.github.io · fetched 2026-08-29 · 0a7467d1d892
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| hammerjs/hammer.js | main | 59 |
For agents
markdown · JSON · MCP: product_card(name="hammerjs/hammer.js")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem