js.node.web

..
AbortController

A utility class used to signal cancelation in selected Promise-based APIs. The API is based on the Web API AbortController.

AbortSignal

Used to notify observers when AbortController.abort() is called.

AddEventListenerOptions

Options for EventTarget.addEventListener.

Blob

Encapsulates immutable, raw data that can be safely shared across workers.

BlobPart

A part accepted by the Blob / File constructors.

BlobPropertyBag

Options for the Blob constructor.

BodyInit

Values accepted as request/response bodies.

BroadcastChannel

A channel for broadcasting messages to other contexts listening on the same name.

ByteLengthQueuingStrategy

A queuing strategy that counts the byte length of chunks.

CloseEvent

An event that fires when a WebSocket connection closes.

CloseEventInit

Options for the CloseEvent constructor.

CompressionStream

A transform stream that performs compression (deflate, deflate-raw, gzip, or brotli).

CountQueuingStrategy

A queuing strategy that counts the number of chunks.

CustomEvent

A browser-compatible implementation of CustomEvent.

CustomEventInit

Options passed to the CustomEvent constructor.

DOMException

The WHATWG DOMException class.

DecompressionStream

A transform stream that performs decompression (deflate, deflate-raw, gzip, or brotli).

Event

A browser-compatible implementation of the Event class.

EventInit

Options passed to the Event constructor.

EventListener

An object with a handleEvent method, usable as an event listener.

EventListenerOptions

Options for EventTarget.removeEventListener.

EventSource

A browser-compatible EventSource (Server-Sent Events) implementation.

EventSourceInit

Options for the EventSource constructor.

EventTarget

A browser-compatible implementation of the EventTarget class.

Fetch

Browser-compatible fetch() (undici), exposed as a static on globalThis.

File

Provides information about files. Extends Blob.

FilePropertyBag

Options for the File constructor.

FormData

A browser-compatible FormData implementation (undici / fetch).

Headers

HTTP headers for fetch / Request / Response (undici).

Lock

A held lock passed to the LockManager.request callback.

LockManager

Web Locks API (navigator.locks). Node.js exposes a partial implementation.

LockManagerSnapshot

Result of LockManager.query().

LockOptions

Options for LockManager.request.

MessageChannel

Creates a pair of connected MessagePort objects.

MessageEvent

Represents a message sent via MessagePort / BroadcastChannel / WebSocket.

MessageEventInit

Options for the MessageEvent constructor.

MessagePort

One end of a two-way communication channel created by MessageChannel.

MessagePortTransferable

Transferable objects accepted by the web MessagePort.postMessage transfer list in Node (matches the practical subset already externed — no invented types).

Navigator

A partial browser-compatible Navigator implementation exposed as the navigator global in Node.js.

QueuingStrategy

A queuing strategy dictionary used by web stream constructors (ReadableStream, WritableStream, TransformStream, etc.).

ReadableByteStreamController

Controller for a byte-oriented ReadableStream.

ReadableStream

A browser-compatible implementation of ReadableStream.

ReadableStreamBYOBReader

BYOB reader for a byte-oriented ReadableStream.

ReadableStreamBYOBRequest

A pull-into request associated with a ReadableByteStreamController.

ReadableStreamDefaultController

Default controller for a ReadableStream.

ReadableStreamDefaultReader

Default reader for a ReadableStream.

ReadableStreamReadResult

Result of ReadableStreamDefaultReader.read() / BYOB read().

ReadableStreamUnderlyingSource

Underlying source object for ReadableStream construction.

ReadableWritablePair

A { readable, writable } pair used by pipeThrough.

Request

The Fetch API Request interface (undici).

RequestInit

Init options for Request / fetch.

Response

The Fetch API Response interface (undici).

ResponseInit

Init options for Response.

Storage

Web Storage API Storage interface used by localStorage / sessionStorage.

StreamPipeOptions

Options for pipeTo / pipeThrough.

TextDecoder

WHATWG Encoding Standard TextDecoder (global).

TextDecoderOptions

Options for the TextDecoder constructor.

TextDecoderStream

A transform stream that decodes bytes into strings.

TextDecoderStreamOptions

Options for TextDecoderStream.

TextEncoder

WHATWG Encoding Standard TextEncoder (global).

TextEncoderEncodeIntoResult

Result of TextEncoder.encodeInto.

TextEncoderStream

A transform stream that encodes strings into UTF-8 bytes.

TransformStream

A browser-compatible implementation of TransformStream.

TransformStreamDefaultController

Controller associated with a TransformStream.

Transformer

Transformer callbacks for TransformStream.

WebSocket

A browser-compatible WebSocket implementation (undici).

WebSocketInit

Undici / Node WebSocket constructor options (headers, protocols, etc.).

WritableStream

A browser-compatible implementation of WritableStream.

WritableStreamDefaultController

Controller associated with a WritableStream.

WritableStreamDefaultWriter

Default writer for a WritableStream.

WritableStreamUnderlyingSink

Underlying sink for WritableStream construction.