express-sse icon indicating copy to clipboard operation
express-sse copied to clipboard

An Express middleware for quick'n'easy server-sent events.

Results 23 express-sse issues
Sort by recently updated
recently updated
newest added

Using the latest version of Node, I'm getting the following warning when a client is connected to the SSE endpoint and a server event is sent: `(node:16688) [DEP0001] DeprecationWarning: OutgoingMessage.flush...

When you just use express without the compression middleware, there is no res.flush function.

Some proxies buffers SSE events to compress the stream. The `no-transform` directive forbidden this bad behavior. More info at: https://github.com/facebook/create-react-app/issues/1633 https://github.com/vercel/next.js/issues/9965#issuecomment-584319868

refering https://github.com/dpskvn/express-sse/issues/28, this package is broken with npm 14

For simple strings like `sse.send("Test string")`, you get the following output: ```js id: 0 data: "Test string" ``` However it is perfectly valid to have, and perhaps more common to...

enhancement

Not sure if this is worth opening or if I should just maintain my own fork. This converts the package to use typescript with `tsup` for quick bundling. All interfaces...

First, thank you very much for your package, it was really easy to implement SSE for me with this. I am a typescript user and was wondering if you would...

This is more of a help request than anything but I'm at my wits end as to whats going wrong here. When I try to send events to a client...

I haven't dug through the code yet, but I can't seem to decode by the docs if it is possible to set event types (or IDs) for the initial content...

enhancement