s2-sdk-typescript
s2-sdk-typescript is the official TypeScript SDK for the S2 durable stream data service, built on S2's REST API, providing developers with high-level wrappers for resources such as accounts, basins (stream namespaces), streams, and access tokens. The SDK supports appending records to the tail of a stream, reading from any position by sequence number or timestamp, tracking new data in real time, and provides abstractions such as AppendSession, readSession, and Producer to balance ordering and throughput. It supports two session transport modes, fetch and s2s (an HTTP/2-based streaming protocol), allows configuring retry policies and HTTP/2 flow-control windows, and includes browser examples and a runnable examples directory.