Runtime APIs
The Workers runtime is designed to be JavaScript standards compliant ↗ and web-interoperable. Wherever possible, it uses web platform APIs, so that code can be reused across client and server, as well as across WinterCG ↗ JavaScript runtimes.
Workers runtime features are compatible with a subset of Node.js APIs and the ability to set a compatibility date or compatibility flag.
- Bindings (env)
- Cache
- Console
- Context (ctx)
- Encoding
- EventSource
- Fetch
- Handlers
- Headers
- HTMLRewriter
- Node.js compatibility
- Performance and timers
- Remote-procedure call (RPC)
- Request
- Response
- Streams
- TCP sockets
- Web Crypto
- Web standards
- WebAssembly (Wasm)
- WebSockets