JavaScript Runtime 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
Encoding APIs
Web Stream APIs
Web Standards APIs
V8 Primitives
Web Crypto APIs
EdgeRuntime property
The EdgeRuntime property can be accessed through 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.
}
See Also
Didn’t find what you were looking for? Open a support ticket.