Skip to content

QuickJS Modules

Here is the reference of the modules available in our engine.

This documentation is auto-generated from the Typescript typing (@caido/quickjs-types) which is the source of truth.

Some elements are similar to Node.JS, but some imports will be different and start with caido:.

Modules

ModuleDescriptionImportGlobal
urlURL utilitiesN/A✔︎
abortAbort signalingN/A✔︎
bufferBuffersbuffer✔︎
child_processProcess spawningchild_process
consoleConsole loggingN/A✔︎
cryptoCryptographic primitivescrypto
dom-eventsEventsN/A✔︎
fsFile systemfs, fs/promise
httpFetch implementationcaido:http
globalsGlobal classesN/A✔︎
netSocketsnet
osOS informationos
pathPath transformationpath
processProcess informationprocess✔︎
sqliteSQlite accesssqlite
streamStreams (basic)stream✔︎
timersTimersN/A✔︎