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
abortAbort signalingN/A✔︎
bufferBuffersbuffer✔︎
child_processProcess spawningchild_process
consoleConsole loggingN/A✔︎
cryptoCryptographic primitivescrypto
dom-eventsEvent ListenersN/A✔︎
dnsDNSdns
eventsEvent Emitterevents
fsFile systemfs, fs/promise
httpFetch implementationcaido:http
httpsHTTPShttps
globalsGlobal classesN/A✔︎
netSocketsnet
osOS informationos
pathPath transformationpath
sqliteSQlite accesssqlite
streamStreams (basic)stream✔︎
stream/webStreams Webstream/web
string_decoderString Decoderstring_decoder
timersTimersN/A✔︎
urlURL utilitiesurl✔︎