vue-global-events

The premium Open Source alternative to Native JS Event Listeners

🎯 Best for:Vue projects requiring keyboard shortcuts or global resize/scroll listeners.

What is vue-global-events?

Replaces imperative window and document event listeners with a declarative, component-based registration system. It automatically manages the lifecycle of global events, ensuring listeners are destroyed when components unmount.

Tech Stack
TypeScriptFrontend & Headless CMS

Why vue-global-events?

  • Prevents memory leaks automatically
  • Simplifies keyboard shortcut logic
  • Supports event modifiers (.prevent, .stop)

Limitations

  • Vue-specific limitation
  • Adds a small runtime dependency
  • Not suitable for non-UI logic
2/26/2026
Last Update
31
Forks
2
Issues
MIT
License
Financial Leak Detected

Stop the "SaaS Tax"

Your team could be burning cash. Switching to vue-global-events instantly boosts your runway.

Competitor Cost
-$1,440
/ year (est. based on Native JS Event Listeners)
Self-Hosted
$0
/ year
Team Size10 Users
150+
SAVE 100%

Community Discussion

Comments