any86/any-touch
:wave: Touch gesture library, 1kb~5kb, compatible with PC / mobile observed · 2026-08-28
Health v2 · maintenance only
60/100
- Activity 61
- 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-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2926
- days_rel: n/a
- days_push: 237
- n_releases_24m: 0
Adoption not part of the score
1245 stars · 117 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
any-touch is a tiny (1kb~5kb) TypeScript gesture recognition library for detecting touch and mouse gestures like pan, pinch, rotate, tap, swipe, and press. It is framework-agnostic with no dependencies and works on PC, mobile, and WeChat mini-programs.
Use cases
- add drag-and-drop gestures to a web element
- detect pinch and rotate for image zoom
- recognize tap, swipe, and press events on mobile web
- handle both mouse and touch input with one API
- use gestures in Vue, React, or Angular components
- add gesture support to a WeChat mini-program
When to choose
- you need lightweight gesture recognition without pulling in a full UI framework
- you want unified touch and mouse gesture handling across devices
- bundle size matters and you can load only the recognizers you need
When to avoid
- you need complex physics-based scrolling or momentum (use a dedicated scroll library)
- you only target modern browsers with native Pointer Events and simple needs
Facets
library · maturity stable
ui-components developer-tools web-development frontend cross-platform browser cross-platform gesture-recognition touch-events mouse-events drag pinch swipe vue react angular wechat-miniprogram typescript tiny-library web-server
3 sources
- readme: https://github.com/any86/any-touch · fetched 2026-08-28 · 6cdc76d1d5dd
- homepage: https://any86.github.io/any-touch · fetched 2026-08-29 · ec235d25754e
- registry_npm: https://registry.npmjs.org/any-touch · fetched 2026-08-29 · af42c66c7444
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| any86/any-touch | main | 60 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem