Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
Link copied to clipboard
inner class LabsConfig

Configuration of experimental features.

Link copied to clipboard
inner class NpmConfig

Configuration for NPM features.

Properties

Link copied to clipboard

Default character set to apply when exchanging raw data with the JS VM. Defaults to UTF-8. UTF-8 and UTF-32 are explicitly supported; other support may vary.

Link copied to clipboard

Default locale to apply to the JS VM. Defaults to the system default.

Link copied to clipboard

Whether to enable ESM support.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Whether to run the JS interpreter in interactive shell mode.

Link copied to clipboard

ECMA Script language level to apply within the VM; defaults to JavaScriptVersion.ES2022.

Link copied to clipboard

Locale to use for embedded JS VMs.

Link copied to clipboard
Link copied to clipboard

Whether to enable source-maps support, which enhances stack-traces, logs, and other system features.

Link copied to clipboard

Default timezone to apply to the JS VM. Defaults to the system default.

Link copied to clipboard

Enable experimental built-in runtime support for TypeScript. Defaults to false.

Link copied to clipboard
var v8: Boolean

Whether to enable V8 compatibility mode.

Link copied to clipboard

Enable WASM support and related bindings. Defaults to true; only active where supported.

Functions

Link copied to clipboard
fun bindings(block: MutableMap<String, Any>.() -> Unit)
Link copied to clipboard

Configure builtin module replacements.

Link copied to clipboard

Configure experimental options.

Link copied to clipboard

Configure NPM support.