# @breadboard-ai/jsandbox

> Breadboard Javascript Sandbox

Latest version **0.7.0** (published 2025-07-14) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @breadboard-ai/jsandbox
pnpm add @breadboard-ai/jsandbox
yarn add @breadboard-ai/jsandbox
bun add @breadboard-ai/jsandbox
```

## Health

**Score 55/100 (C)** — status: stable.

Positive: has types; esm support; no vulnerabilities; high maintenance score; high quality score.

Warnings: low downloads; pre 1.0.

Negative: stale.

## Facts

| | |
|---|---|
| Version | 0.7.0 |
| Published | 2025-07-14 |
| First published | 2024-11-01 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 2 |
| Unpacked size | 1.2 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 414 |
| Author | Google Labs Team |
| Maintainers | timswanson-google, dglazkov-google, aomarks |

## Links

- npm: https://www.npmjs.com/package/@breadboard-ai/jsandbox
- Repository: https://github.com/breadboard-ai/breadboard
- Homepage: https://github.com/breadboard-ai/breadboard#readme
- Issues: https://github.com/breadboard-ai/breadboard/issues
- npm.io page: https://npm.io/package/@breadboard-ai/jsandbox

## Dependencies (2)

- [@breadboard-ai/types](https://npm.io/package/@breadboard-ai/types.md) 0.8.0
- [@bjorn3/browser_wasi_shim](https://npm.io/package/@bjorn3/browser_wasi_shim.md) ^0.4.1

## Recent versions

- 0.7.0 (latest) — 2025-07-14
- 0.6.0 — 2025-05-01
- 0.5.0 — 2025-03-06
- 0.4.0 — 2025-02-18
- 0.3.0 — 2025-01-14
- 0.2.0 — 2024-11-18
- 0.1.0 — 2024-11-01

## README

# JSandbox

WebAssembly-based JavaScript sandbox using QuickJS.

## Building

Install CMAKE:

```bash
brew install cmake
```

Install Rust toolchain:

```bash
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
```

Add `wasm32-wasi` target

```bash
rustup target add wasm32-wasi
```

```bash
cargo run -p buildscript -- -r
```

## Running the demo

```bash
npx http-server -c-1
```

---
_Source: https://npm.io/package/@breadboard-ai/jsandbox · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
