← All developer tools

Code Workspace

Open workspace

Sketch snippets, transpile TypeScript, and run them in this tab — nothing is sent to a remote runner.

Runs in your browser. Inputs stay on this device — nothing is uploaded to BrowserSpaces for processing.

TypeScript

Transpile with the TypeScript compiler in-browser.

Console capture

log / warn / error appear below the editor.

Private

Code stays in this tab.

Download

Save .ts or emitted .js.

Use the tool

Runs in this page via new Function — not a secure sandbox. Avoid untrusted code.

Transpile, then eval locally

TypeScript is compiled with transpileModule. The emitted JS runs via new Function in this page with a mocked console — convenient for snippets, not a secure sandbox.

Before you start

  • Not a secure sandbox — avoid untrusted code.
  • No DOM / network APIs are mocked beyond console — keep snippets self-contained.

Three steps

  1. 1

    Write code

    TypeScript or plain JavaScript.

  2. 2

    Run

    See console output instantly.

  3. 3

    Export

    Download source or emitted JS.