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
Module | Description | Import | Global |
---|---|---|---|
url | URL utilities | N/A | ✔︎ |
abort | Abort signaling | N/A | ✔︎ |
buffer | Buffers | buffer | ✔︎ |
child_process | Process spawning | child_process | ✘ |
console | Console logging | N/A | ✔︎ |
crypto | Cryptographic primitives | crypto | ✘ |
dom-events | Events | N/A | ✔︎ |
fs | File system | fs , fs/promise | ✘ |
http | Fetch implementation | caido:http | ✘ |
globals | Global classes | N/A | ✔︎ |
net | Sockets | net | ✘ |
os | OS information | os | ✘ |
path | Path transformation | path | ✘ |
process | Process information | process | ✔︎ |
sqlite | SQlite access | sqlite | ✘ |
stream | Streams (basic) | stream | ✔︎ |
timers | Timers | N/A | ✔︎ |