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.
The Workers runtime also implements a subset of Node.js APIs as an optional, opt-in compatibility layer.