Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Show HN: JavaScript server-sent events library (github.com/fanout)
7 points by jkarneges on Sept 10, 2020 | hide | past | favorite | 1 comment


Hi HN!

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.

Notably, the library works in serverless/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.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: