Expand description
bext-plugin-quickjs: QuickJS-based sandbox for lightweight JS plugin execution.
Embeds QuickJS via rquickjs to run tenant-supplied JavaScript in a secure,
memory-limited, time-limited sandbox. Ideal for business logic scripts:
pricing rules, data transforms, webhook handlers.
The JS runtime exposes a controlled API surface:
console.log/warn/error/info/debug— structured loggingbext.storage.get/set/delete— per-plugin scoped storagebext.fetch(url, options)— rate-limited, URL-allowlisted HTTPbext.config— plugin configuration objectbext.metric(name, value, tags)— metric emission
Re-exports§
pub use runtime::QuickJsPluginConfig;pub use runtime::QuickJsPluginRuntime;