{"library":"vue-events","type":"library","category":null,"description":"vue-events is a Vue.js plugin designed to simplify global event handling within applications built with Vue 1.x or Vue 2.x. It extends the Vue prototype with a `$events` object, which acts as a global event bus, abstracting away the underlying Vue instance's `$emit`, `$on`, and `$off` methods. The package provides several aliases for these core methods, such as `fire`/`emit` for `$emit`, `listen`/`on` for `$on`, and `remove`/`off` for `$off`, aiming for a more semantic API. The current stable version is 3.1.0, published in 2017. This package is not compatible with Vue 3.x, as Vue 3 removed the core event emitter API (`$on`, `$off`, `$once`) that this plugin relies upon. As such, while it served its purpose for earlier Vue versions, it is no longer actively maintained or suitable for modern Vue 3 development.","language":"javascript","status":"abandoned","version":"3.1.0","tags":["javascript","Vue","events","bus","plugin","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install vue-events","imports":["import VueEvents from 'vue-events'","import Vue from 'vue'","this.$events.fire('myEvent', payload)"]},{"cmd":"yarn add vue-events","imports":[]},{"cmd":"pnpm add vue-events","imports":[]}],"homepage":null,"github":"https://github.com/cklmercer/vue-events","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/vue-events","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/vue-events/compatibility"}}