JavaScript programs use four API layers:
- the
Elideruntime 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
| Module | Main export |
|---|---|
elide:sqlite | Database |
elide:postgres | Database |
elide:mysql | Database |
See the Database API.
Web and WinterCG globals
- Files and HTTP: Fetch.
- Streams: Streams and Compression.
- URLs: URL, URLSearchParams, and URLPattern.
- Text and events: Encoding, DOM Events, and Abort.
- Worker globals: Navigator, Messaging, Performance, Promise rejections, and DOMException.
- Cryptography: Web Crypto.
The process object and timer functions are globals; see
process and Timers.