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

stuyam/pressure

:point_down::boom: JavaScript library for handling Force Touch, 3D Touch, and Pointer Pressure. observed · 2026-08-28

github.com/stuyam/pressure · homepage · JavaScript · MIT (permissive) 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-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 3967
  • days_rel: n/a
  • days_push: 1366
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

2942 stars · 99 forks observed · 2026-08-28

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

Pressure.js is a lightweight JavaScript library that unifies Force Touch, 3D Touch, and Pointer Pressure handling on the web behind a single simple API. It includes a time-based polyfill for unsupported devices and supports multitouch across iPhones, MacBooks, trackpads, and pointer-event devices.

Use cases

  • handle 3D touch press events on iPhone web apps
  • detect force touch pressure in the browser
  • add pressure-sensitive interactions to web elements
  • polyfill force press for devices without pressure support
  • handle multitouch pressure on multiple elements simultaneously
  • implement quick-look style deep press actions like Instagram
  • support Wacom tablet and Surface pen pressure in web apps

When to choose

  • you need a unified API for Force Touch, 3D Touch, and pointer pressure across devices
  • you want a tiny (~2.5kB) dependency with a polyfill fallback for unsupported hardware
  • you need multitouch pressure handling on different elements at once

When to avoid

  • your project only targets modern browsers where native Pointer Events pressure suffices
  • you need actively developed support for new devices (last release 2022)
  • you are not building browser-based touch/pointer interactions

Facets

library · maturity maintenance

ui-components middleware web-development frontend browser cross-platform force-touch 3d-touch pointer-events pressure-sensing polyfill touch-input

5 sources

Member repositories

RepositoryRoleHealth v2
stuyam/pressuremain23

For agents

markdown · JSON · MCP: product_card(name="stuyam/pressure")

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