{"library":"vue-sse","type":"library","category":null,"description":"vue-sse is a Vue plugin designed to simplify the consumption of Server-Sent Events (SSE) within Vue 2 and Vue 3 applications. It provides a high-level, fluent API wrapper around the native `EventSource` web API, abstracting away much of the low-level EventSource management. The package is currently at version 2.5.2 and appears to be actively maintained, offering features like automatic message formatting (plain, JSON, or custom), credential handling for CORS, and optional EventSource polyfilling for broader browser compatibility. Its core differentiator is the seamless integration into the Vue ecosystem, exposing an `$sse` instance property on Vue components and the Vue global object for easy client creation and event handling. It's built for reactive handling of server-pushed data streams.","language":"javascript","status":"active","version":"2.5.2","tags":["javascript","vue","sse","eventsource","server sent events","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install vue-sse","imports":["import VueSSE from 'vue-sse';","import type { SSEClient } from 'vue-sse';","import type { VueSSEConfig } from 'vue-sse';"]},{"cmd":"yarn add vue-sse","imports":[]},{"cmd":"pnpm add vue-sse","imports":[]}],"homepage":null,"github":"https://github.com/tserkov/vue-sse","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/vue-sse","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-sse/compatibility"}}