mirror of
https://github.com/Effect-TS/effect.git
synced 2026-12-04 03:35:36 +08:00
Adds newline-delimited JSON stream successes to HttpApi, mirroring
StreamSse: handlers return a Stream that is written one JSON line per
value, the derived client decodes each line through the schema, and
OpenAPI documents the per-line schema with x-effect-stream metadata.
Typed stream failures travel as a reserved final line
{"_tag":"effect/http-api/stream/failure","cause":...}, and endpoint
construction rejects value schemas that declare that _tag.
@effect/platform-node
Node.js implementations of the Effect platform services, including the file system, HTTP client and server, sockets, workers, and terminal.
Installation
npm install effect @effect/platform-node
Links
- Website: documentation, guides, and news.
- Reference: API documentation for this package.
- Discord: ask questions, share what you're building, and talk to the core team.
- Community: meetups and events, or bring Effect to your own.
- Issues: bug reports and feature requests.
Let's talk
Whether your team is considering Effect, rolling it out, or already running it in production, we'd love to hear from you: what you're building, what works, and what you need from Effect next.
- Talk to the maintainers. Introduce your team on Discord or email contact@effectful.co. We're happy to connect privately on Slack or Discord for feedback and help with adoption.
- Production support. We're exploring how to better support teams running Effect in production. If your organization has specific support needs, let's discuss them.
- Adoption help. Our adoption partners offer implementation, consulting, team extension, training, and commercial support.