Node.js Support in App Functions#
Overview#
App Functions are executed in a V8 isolate runtime, which is a lightweight and secure environment. This runtime is distinct from a full Node.js environment. Consequently, while App Functions support JavaScript, they do not support all the native APIs and core modules that are available in Node.js.This document outlines the level of support for Node.js features within the App Functions environment.Unsupported Node.js Core Modules#
The following Node.js core modules are not available in App Functions. Attempting to use them will result in an error.http (for creating servers)
Examples of Unsupported Usage#
Here are some examples of code that will not work in the App Functions environment.Partially Supported Modules#
Some Node.js modules are partially supported, meaning that only a subset of their functionality is available.buffer: Basic buffer functionality is available.
path: Partially supported.
util: Partially supported.
events: Partially supported.
Supported Patterns#
While direct Node.js APIs for networking are limited, you can make outbound HTTP requests using the fetch API, which is a standard web API.External Packages#
Currently, App Functions do not support importing external packages or libraries from sources like npm. We are actively working on enhancing the platform to include support for external libraries in future versions.Modified at 2025-11-13 16:28:46