Skip to content

API overview

Every built-in module and global in Elide: Node modules, the elide: modules, the Python elide module, the Elide global and Web globals.

Read offlineelide help api-overview

On this page

JavaScript code gets the Elide global, Node built-in modules, elide: modules for data formats, expressions and databases, and Web globals. Suite results are in the Compatibility Matrix. Java and Kotlin programs: see JVM APIs.

Built-in modules

Node modules resolve with or without the node: prefix. Each page links the upstream documentation, lists differences, and ends with a generated reference: exports, anything not implemented, and suite results.

Module Page Status Suite
assert, assert/strict node:assert Partial 53.8% of 13
async_hooks node:async_hooks Partial 80.0% of 45
buffer node:buffer Full 90.3% of 62
child_process node:child_process Full Not measured
console node:console Partial 95.2% of 21
crypto node:crypto Partial 84.8% of 112
dgram node:dgram Full Not measured
diagnostics_channel node:diagnostics_channel Full 62.7% of 67
dns, dns/promises node:dns Full 85.0% of 20
domain node:domain Full Not measured
events node:events Full 89.5% of 38
fs, fs/promises node:fs Partial 93.2% of 264
http, https node:http Partial Not measured
module node:module Partial 86.5% of 52
net node:net Partial Not measured
os node:os Full Not measured
path, path/posix, path/win32 node:path Full 100.0% of 16
perf_hooks node:perf_hooks Partial Not measured
querystring node:querystring Full Not measured
readline, readline/promises, tty node:readline Partial Not measured
stream, stream/promises, stream/web, stream/consumers, stream/iter node:stream Partial 90.3% of 238
test node:test Partial Not measured
timers, timers/promises node:timers Full 94.7% of 57
url node:url Full 95.2% of 42
util, util/types node:util Partial 50.0% of 18
v8 node:v8 Partial Not measured
vm node:vm Full 84.2% of 95
worker_threads node:worker_threads Partial 82.0% of 128
zlib, zlib/iter node:zlib Partial Not measured
process process Partial 88.5% of 87

Web globals

Globals Page Status Suite
fetch, Headers, Request, Response and 3 more Fetch Full 57.9% of 2,511
ReadableStream, ReadableStreamDefaultReader, ReadableStreamDefaultController, ReadableStreamBYOBReader and 9 more Streams Full Not measured
CompressionStream, DecompressionStream Compression streams Full Not measured
URL, URLSearchParams URL Full 96.0% of 9,046
URLPattern URLPattern Full Not measured
TextEncoderStream, TextDecoderStream, TextDecoder, TextEncoder Encoding Full 99.4% of 14,266
crypto, SubtleCrypto Web Crypto Full Not measured
Event, CustomEvent, EventTarget, AbortController and 1 more Events and AbortSignal Full Not measured
setTimeout, clearTimeout, setInterval, clearInterval and 2 more Timers Full Not measured
MessageEvent, MessageChannel, MessagePort Messaging Partial Not measured
navigator, WorkerNavigator WorkerNavigator Full Not measured
performance, PerformanceEntry, PerformanceMark, PerformanceMeasure and 3 more Performance Full Not measured
DOMException, PromiseRejectionEvent Other globals Full Not measured

Other built-in modules

Module Status
cluster Unavailable
constants Unavailable
http2 Unavailable
inspector Unavailable
punycode encode, decode, toASCII and toUnicode
repl Unavailable
sea Unavailable
sqlite SQLite
string_decoder StringDecoder, including split multi-byte and base64 input
sys Loads; the same object as util
test/reporters Unavailable
tls Client connections with tls.connect; createServer throws and rootCertificates is empty
trace_events Unavailable
wasi Unavailable

Importing an unavailable module throws ERR_UNKNOWN_BUILTIN_MODULE.

elide: aliases

elide:X returns the same module object as node:X. There is no elide:compression; use node:zlib or CompressionStream.

Elide modules

Module Exports Page
elide:csv parse, parseFile, open, stringify elide:csv
elide:yaml parse, parseAll, parseDocument, parseAllDocuments, parseFile, stream, stringify, stringifyAll elide:yaml
elide:cel compile elide:cel
elide:sqlite, elide:postgres, elide:mysql Database Databases
elide:telemetry flush, status, enter, wrapTracer, release elide:telemetry

Python code gets the elide module for calling JavaScript and sharing functions.

Telemetry

Module Page
@opentelemetry/api, @opentelemetry/api-logs, @opentelemetry/api/experimental Built in when not installed; OpenTelemetry in JavaScript
elide:telemetry flush, status, enter, wrapTracer, release; elide:telemetry
Python opentelemetry, elide.telemetry OpenTelemetry in Python

Was this page helpful?