Runtime API
Breeze plugins run in the QuickJS-NG engine — not Node.js and not a browser. Below are the extra globals provided by the runtime beyond standard ECMAScript.
Global Objects
Globals available after plugin startup:
fetch/Request/Response/HeadersAbortController/AbortSignalURL/URLSearchParamsBlob/File/FormDatastructuredCloneconsolecryptoTextEncoder/TextDecoderBufferpathnativebridgeuuidv4TemporalIntl(time-focused subset; see Temporal & Intl)BreezeHtmlbytesToBase64/bytesFromBase64hostCrypto__web
⚠️ Note:
fsis not available.breeze-plugin-kitkeepsfstype declarations for running plugin code in pure Node.js test environments, but Breeze does not inject anfsAPI into the real plugin runtime. This is intentional for security: direct host filesystem access is too risky. Plugins should talk to the outside world viafetchand similar network APIs — do not usefsin plugins.
Subchapters
Choose a focused page below when you need a specific runtime API.