# bext-plugin-quickjs
**QuickJS sandbox for bext — lightweight JavaScript plugin execution.**
Part of the [bext](https://github.com/bext-stack/bext) stack.
```toml
[dependencies]
bext-plugin-quickjs = "0.2"
```
## What this crate is
`bext-plugin-quickjs` runs JavaScript plugins inside a QuickJS sandbox via
the `rquickjs` crate. Compared to WASM, it's ~200KB of binary overhead and
supports hot-reloading at runtime — ideal for rapid plugin iteration.
## Features
- **QuickJS** runtime via [rquickjs](https://crates.io/crates/rquickjs).
- **Memory limits** — per-plugin heap caps.
- **Time limits** — interrupt long-running scripts.
- **`bext.*` globals** — KV store, logger, HTTP fetch surface.
- **SSRF protection** — outbound fetches check for private IPs before connecting.
## License
MIT.
## See also
- [github.com/bext-stack/bext](https://github.com/bext-stack/bext) — the bext meta repo
- [Full ecosystem](https://github.com/bext-stack/bext#ecosystem-at-a-glance) — all bext crates at a glance