Skip to main content

Variable: features

readonly features: object

Build-time feature flags reflecting the CMake options the binary was compiled with. wasm corresponds to BUILD_WITH_WASM (the WebAssembly global and tjs-wasi) and sqlite to BUILD_WITH_SQLITE (the tjs-sqlite module and persistent localStorage).

Type Declaration

sqlite

readonly sqlite: boolean

wasm

readonly wasm: boolean