Web APIs

The JavaScript Runtime Environment is a set of APIs that are available as tools for the development of edge functions.

You can deploy projects using the Azion Edge Infrastructure, and automatically provision what is needed for your code to run on a low latency rate, closer to the users.


addEventListener

Fetch

FetchEvent

Request

Response


Encoding


TransformStream

ReadableStream

WritableStream

ReadableStreamBYOBReader

ReadableStreamDefaultReader

WritableStreamDefaultWriter


URLPattern

StructuredClone


WebAssembly

Intl


Crypto

CryptoKey

SubtleCrypto


EventTarget

The EdgeRuntime property can be accessed in different ways:

if (typeof EdgeRuntime !== 'string') {
// Your logic here.
}
if (typeof globalThis.EdgeRuntime !== 'string') {
// Your logic here.
}
if (typeof self.EdgeRuntime !== 'string') {
// Your logic here.
}

For a complete list of the Edge Runtime supported types, go to Azion Edge Runtime supported types.


Contributors