better-sse
fastify-sse-v2
better-sse | fastify-sse-v2 | |
---|---|---|
5 | 1 | |
163 | 89 | |
- | - | |
6.8 | 5.3 | |
3 months ago | about 2 months ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
better-sse
-
How is barely anyone talking about the Server-Sent Events API?
I wrote a library for using SSE with Node and have read the spec front-to-back dozens of times when I was working on it, so I have a fairly good understanding if you have any more unanswered questions!
-
I made a library to make it a breeze to work with server-sent events, server push without websockets
It actually originally started out as an Express middleware, but I then rewrote it to use the underlying Node HTTP native module so it could work with most/all frameworks, and then relied on creating a Recipes section in the docs to demonstrate how to create your own abstractions.
-
A beginner friendly intro to server sent events with node.js
I've been working on a library that makes working with server-sent events easier on the server-side that can hopefully be relevant here.
fastify-sse-v2
-
Testing Async Generators
On the server side, I used the Fastify SSE Plugin which supports using an event emitter to handle the firing of events.
What are some alternatives?
fetch-event-source - A better API for making Event Source requests, with all the features of fetch()
peko - Featherweight apps on the edge, built with Web Standards 🐣⚡
firebase-js-sdk - Firebase Javascript SDK
fastify-passport - Use passport strategies for authentication within a fastify application
EventSource - a polyfill for http://www.w3.org/TR/eventsource/
fastify-autoroutes - fastest way to map directories to URLs in fastify
gungi.io - Online real-time website to play Gungi from Hunter × Hunter ⚡
graphql-sse - Zero-dependency, HTTP/1 safe, simple, GraphQL over Server-Sent Events Protocol server and client.
feathers - The API and real-time application framework
fastify-type-provider-typebox - A Type Provider for Typebox
WHATWG HTML Standard - HTML Standard
eventsource - EventSource client for Node.js and Browser (polyfill)