API Overview

Index of JavaScript globals, Node modules, Elide modules, and Web APIs

JavaScript programs use four API layers:

  • the Elide runtime global;
  • Node-compatible built-in modules;
  • Elide-specific elide: modules;
  • Web and WinterCG globals.

Individual references describe known limitations. The Compatibility Matrix carries measured suite results.

Elide global

Elide exposes version, debug, release, buildMode, targetArchitecture, and the serve() HTTP entry point. See the Elide global reference.

Node-compatible modules

Node modules resolve with or without the node: prefix. This reference section covers assert, async hooks, buffers, processes, networking, files, streams, testing, timers, URLs, utilities, workers, compression, and related compatibility modules. The loader also exposes modules such as node:http and node:tls; use each module’s reference for its limitations.

Elide modules

ModuleMain export
elide:sqliteDatabase
elide:postgresDatabase
elide:mysqlDatabase

See the Database API.

Web and WinterCG globals

The process object and timer functions are globals; see process and Timers.