{"library":"susie","type":"library","category":null,"description":"Server-Sent Events plugin for hapi.js, allowing event streaming via h.event() with support for individual event objects and readable streams. Current stable version: 3.0.0. Works with Node >=8.9.0. Key differentiator: tight hapi integration, auto-stringification of objects, and automatic handling of reconnect via a built-in 'end' event. Ideal for real-time updates like notifications or live feeds.","language":"javascript","status":"active","version":"3.0.0","tags":["javascript","sse","hapi","realtime","server-sent","streaming"],"last_verified":"Wed May 27","install":[{"cmd":"npm install susie","imports":["const susie = require('susie');\nawait server.register(susie);","// Decorated on toolkit after registration\nhandler: function (request, h) {\n    return h.event({ data: 'hello' });\n}","await server.register({ plugin: require('susie'), options: {} });"]},{"cmd":"yarn add susie","imports":[]},{"cmd":"pnpm add susie","imports":[]}],"homepage":null,"github":"https://github.com/mtharrison/susie","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/susie","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/susie/compatibility"}}