Install web-haptics (npm i web-haptics) and add haptic feedback to my app following these rules:
Repository: https://github.com/lochie/web-haptics | License: MIT | Zero dependencies Uses the Web Vibration API. Silently no-ops on unsupported platforms (desktop). No error handling or feature detection needed.