Codemode

Switch between a single compiled script and a package-backed file tree. Both run with the same injected ctx, and package mode can bundle npm imports like openai.

Examples

Choose whether codemode should run a single module or bundle a package project.

Paste a bundled module or a bare async function. Export default or a named run for full module mode.

Edit the sources[] structure directly. Headers can include getIterateSecret({ secretKey: "..." }).

Need a starting point?

Browse the examples page for filterable deep links into pre-populated codemode forms.