Runtime Edge logoRuntime Edge
GitHubGitHub (opens in a new tab)
  • Introduction
  • Getting Started
  • Command-line Interface
    • Runtime Edge APIs
    • Polyfills
    • TypeScript support
    • Upgrading Nextjs
    • @runtime-edge/cookies
    • @runtime-edge/format
    • @runtime-edge/jest-environment
    • @runtime-edge/jest-expect
    • @runtime-edge/node-utils
    • @runtime-edge/ponyfill
    • @runtime-edge/primitives
    • runtime-edge
    • @runtime-edge/types
    • @runtime-edge/user-agent
    • @runtime-edge/vm
  • Changelog (opens in a new tab)
Question? Give us feedback → (opens in a new tab)Edit this page on GitHub
Features
Polyfills

Polyfills

The Runtime Edge 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 Runtime Edge:

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
WebStreams (opens in a new tab)xxx

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

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

Runtime Edge APIsTypeScript support