Skip to main content
Fairyfly targets web-standard APIs (fetch, URL, WebSocket, Headers) with a deliberately small Node-shaped subset (process, fs, console). This page is the gap list.

What is present

Every global in Object.getOwnPropertyNames(globalThis): Web standard: fetch · Request · Response · Headers · AbortController · AbortSignal · structuredClone · URL · URLSearchParams · Blob · FormData · TextEncoder · TextDecoder · WebSocket · crypto (randomUUID, getRandomValues, subtle.digest, subtle.importKey, subtle.sign, subtle.verify, subtle.exportKey, bcrypt.hash, bcrypt.verify) · btoa · atob · performance · queueMicrotask · DOMException Fairyfly: http · udp · fs · process · child_process · Database · sql · SQL · Worker · ffi · permissions · console Engine (QuickJS-ng): Promise · Map/Set/WeakMap/WeakSet · Proxy · Reflect · Symbol · Iterator · Atomics · SharedArrayBuffer · FinalizationRegistry · WeakRef · AggregateError · DisposableStack/AsyncDisposableStack · Float16Array · BigInt · escape/unescape · eval

Permissions (vs Node and Bun)

Node and Bun run with the process’s full authority. Fairyfly is deny-by-default: The escape hatch is --allow-all. Program loading (import, new Worker(path)), process.argv, cwd, exit, pid, and CLI commands (ff imprint, ff fmt, ff upgrade, ff compile) are not gated. Full model: Permissions.

Missing vs Node

Missing vs browsers

Behavioural deviations

These are the ones that bite during a port:

Porting checklist

Native access needs an explicit grant at launch:

See also