Features
Polyfills

Polyfills

The Edge Runtime is built on top of Web APIs available in Node.js.

The minimum Node.js version supported is v14.6.0 that is mapped to ES2019.

Under the hood, the following Web APIs are used by the Edge Runtime:

polyfillnode14node16node18
util.types (opens in a new tab)x
WebCrypto (opens in a new tab)x
AbortController, AbortSignal, DOMException (opens in a new tab)x
base64 (opens in a new tab)x
fetch, Request, Response (opens in a new tab)xx
URLPattern (opens in a new tab)xxx
Cache (opens in a new tab)xxx
WebStreams (opens in a new tab)xxx

The Edge Runtime polyfills missing APIs for backward compatibility with older Node.js versions.

In the future, Node.js will become a superset of the Edge Runtime with built-in support for the available APIs.