Install scriptsThis package runs scripts during installation (preinstall/install/postinstall)
@mikrojs/quickjs
QuickJS-NG engine wrapper for Mikro.js. Provides the engine source, a shared CMake module, and the qjsc bytecode compiler.
What's included
deps/quickjs/- QuickJS-NG source (git submodule)quickjs.cmake- Shared CMake module. Creates aquickjsstatic library target for normal CMake builds; exports source/include variables for ESP-IDF builds.qjsc- Bytecode compiler, built from source atpnpm installtime viapostinstall.js.
JS exports
import {cmakePath, includePath, qjscPath} from '@mikrojs/quickjs'
cmakePath- Path toquickjs.cmakeincludePath- Path to QuickJS header directoryqjscPath- Path to the compiledqjscbinary