Deno Extensions
Safe Extensions
All the extensions mentioned below can be activated using the safe_extensions
crate feature.
tip
By default, Rustyscript
includes only those extensions that maintain a secure, sandboxed runtime environment.
This means that the Javascript code you run has no access to system resources such as the file system, network, or environment variables.
The safe extensions included by default are:
console
- For loggingcrypto
- For cryptographic functionsurl
- For URL parsingweb_stub
- A stub for theweb
extension, providing timers, and base64 encoding/decoding
The remaining extensions can be broadly categorized as either io
or network
.
warning
With the exception of cron
, webstorage
, and ffi
, all remaining extensions depend on the web
extension.