@@ -136,11 +136,19 @@ ts-cloud provides both sync and async APIs:
136136import { signRequest } from ' @ts-cloud/core'
137137const signed = signRequest ({ ... })
138138
139- // Browser - use async functions (still 2x faster than aws4fetch)
139+ // Browser/Cloudflare Workers/Deno - use async functions (still 2x faster than aws4fetch)
140140import { signRequestAsync } from ' @ts-cloud/core'
141141const signed = await signRequestAsync ({ ... })
142142```
143143
144+ ** Supported platforms:**
145+ - Node.js (sync + async)
146+ - Bun (sync + async)
147+ - Browsers (async via Web Crypto API)
148+ - Cloudflare Workers (async via Web Crypto API)
149+ - Deno (async via Web Crypto API)
150+ - Any runtime with ` crypto.subtle ` support
151+
144152## Usage Examples
145153
146154### Basic Request Signing
@@ -216,15 +224,14 @@ const response = await makeAWSRequest(
216224** Use ts-cloud when:**
217225- You need maximum performance (sync API in Node.js/Bun)
218226- You need browser support (async API with Web Crypto)
227+ - You need cross-platform compatibility (works everywhere)
219228- Bundle size matters (17.8 KB vs 27+ MB for AWS SDK)
220229- You want zero dependencies
221230- You're building infrastructure tools
222231- You want both sync and async options
223232
224233** Use aws4fetch when:**
225- - You need Cloudflare Workers support
226- - You only need async signing
227- - Cross-platform compatibility is critical
234+ - You're already using it in an existing project
228235
229236** Use AWS SDK v3 when:**
230237- You need the full SDK ecosystem
0 commit comments