{"library":"idle-vue","type":"library","category":null,"description":"idle-vue is a Vue.js plugin designed to detect user inactivity within a Vue 2 application. It leverages the underlying `idle-js` library to provide a reactive and integrated solution for monitoring when a user has not interacted with the application for a specified duration. The package is currently at version 2.0.5 and, as a Vue 2-specific plugin, its release cadence is likely stable, focused on maintenance rather than frequent new features, aligning with the lifecycle of Vue 2 itself. It offers three primary mechanisms for handling idle states: `onIdle` and `onActive` lifecycle hooks accessible in any Vue component, a computed property `isAppIdle` for reactive state management, and an optional `IdleView` component for a default idle overlay. A key differentiator is its flexible integration, allowing users to either provide an `eventEmitter` (a Vue instance) for hook-based responses or a Vuex `store` for state-driven reactivity, providing developers with robust options for building responsive user experiences around inactivity detection without boilerplate DOM event handling.","language":"javascript","status":"maintenance","version":"2.0.5","tags":["javascript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install idle-vue","imports":["import IdleVue from 'idle-vue'","import Vue from 'vue'","Vue.use(IdleVue, options)"]},{"cmd":"yarn add idle-vue","imports":[]},{"cmd":"pnpm add idle-vue","imports":[]}],"homepage":null,"github":"https://github.com/soixantecircuits/idle-vue","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/idle-vue","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/idle-vue/compatibility"}}