Skip to content

Node API reference

The Node API families Nimbus exposes, denies, or routes for function workloads. This is a measured support contract, not a blanket Node.js compatibility claim — see the Node compatibility contract for supported Node versions and what each support status means.

API familySupportCovered surface
Invocation lifecycleSupported in processModule load once, repeat invocation, awaited async completion, dangling-promise diagnostics, warm-isolate semantics
Module systemSupported in processESM, CommonJS, node: specifiers, bare built-in specifiers, package exports, conditional exports
Package loadingSupported in processPinned npm dependencies, transitive built-ins, dynamic import where supported, deterministic bundling diagnostics
Web and HTTP APIsSupported in processfetch, Request, Response, Headers, URL, Web Crypto, streams, AbortController, timers
Node built-ins for app codeSupported in processbuffer, events, util, crypto, stream, path, url, querystring, zlib, assert, diagnostics_channel, selected fs/promises, selected os/process metadata
NetworkingSupported in processOutbound HTTP(S), DNS, TLS, request timeouts, abort behavior; no ambient production listen grants
Environment and secretsSupported in processExplicit environment access, secret injection, clear process.env semantics; no ambient NODE_TLS_REJECT_UNAUTHORIZED
ObservabilitySupported in processconsole, structured logs, error stacks, unhandled-rejection diagnostics, source-map posture, invocation IDs
Convex integrationSupported in process"use node" action files, generated server APIs, ctx.runQuery, ctx.runMutation, ctx.runAction where intended, scheduler interaction, value serialization, Node package action deployment
AI and SaaS SDKsSupported in processOpenAI, Anthropic, Vercel AI SDK, Stripe, Resend, AWS SDK v3, Slack, Octokit, Jose, Zod, uuid, nanoid, database HTTP clients
Host-heavy behaviorService/microVM requiredChild processes, worker threads, inspector, REPL, node --test, native addons, raw TCP servers, Unix sockets, FFI, persistent writable filesystem

Child processes, worker threads, inspector, REPL, node --test, native addons, persistent host filesystem assumptions, and raw listen behavior are denied in the in-process runtime and require a service or microVM route. The denials are diagnostic-tested: a passing diagnostic means Nimbus proved the denial or routing behavior, not that the API is supported in process.