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.


Network APIs

addEventListener

Fetch

FetchEvent

Request

Response


Encoding APIs

Encoding


Web Stream APIs

TransformStream

ReadableStream

WritableStream

ReadableStreamBYOBReader

ReadableStreamDefaultReader

WritableStreamDefaultWriter


Web Standards APIs

URLPattern

StructuredClone


V8 Primitives

WebAssembly

Intl


Web Crypto APIs

Crypto

CryptoKey

SubtleCrypto


EventTarget

EventTarget

EdgeRuntime property

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.
}

Supported types

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


Contributors