Live demo · runs in your browser
Paste a function. Watch it get governed.
Pick a preset or paste your own TypeScript. The injector rewrites it with 5 always-on layers and shows you the diff. Runs entirely in your browser — open DevTools, there are no network calls.
Demo build · 5 always-on layers · runs entirely in your browser, nothing is sent anywhere. The shipped engine includes 76 layers and full artifact emission. The other 71 layers are not in this bundle.
Input
chargeCard(amount, token) — money-moving boundary. Watch Circuit Breaker, Retry, and Witness wrap it.
async function chargeCard(amount: number, token: string) {
const res = await fetch("https://api.stripe.com/v1/charges", {
method: "POST",
body: JSON.stringify({ amount, token }),
});
return res.json();
}
Mode:
218 / 5120 B
Wrapped output
Run a preset to see the diff.
Like what you see?
Get the full engine →