TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: JavaScript server-sent events library

7 pointsby jkarnegesover 4 years ago

1 comment

jkarnegesover 4 years ago
Hi HN!<p>This library makes it super easy to push data to clients from a JS server app. Just a few lines of code to declare an endpoint for clients to connect to, and to send events to them.<p>Notably, the library works in serverless&#x2F;function-as-a-service environments by delegating away the connection management to a special proxy layer. This means you can deploy the app to something like AWS Lambda or Vercel and it will still support SSE connections, with no code changes. This capability is optional but we think it could help make realtime app development easier as people move to serverless deployments.