This product was not featured by Product Hunt yet.
It will not be visible on their landing page and won't be ranked (cannot win product of the day regardless of upvotes).

Product upvotes vs the next 3

Waiting for data. Loading

Product comments vs the next 3

Waiting for data. Loading

Product upvote speed vs the next 3

Waiting for data. Loading

Product upvotes and comments

Waiting for data. Loading

Product vs the next 3

Loading

JSLab

Write code. Watch it run as you type.

JSLab is a fast, native JavaScript and TypeScript scratchpad for macOS. Write code, watch it run as you type, and read every result beside the line that produced it. No project, no build step, no telemetry. Apple Silicon. A runaway loop never kills the editor.

Top comment

Hi Product Hunt!

JSLab is a native JavaScript & TypeScript scratchpad for Apple Silicon Macs. You type, it runs, and every result, log and error shows up beside the line that produced it. No project, no build step.

Why we built it: trying an idea in JavaScript usually means a new folder, a package.json and a console.log on every other line. JSLab skips all of that. Open a tab, write code, and the answers are already there.

What's inside:

– Auto Log shows the value of every top-level expression, no console.log needed. Add //? to log any line, or a logpoint to log one without touching the code.

– Errors point at your line, with stack frames mapped back to your TypeScript source.

– Three runtimes per tab: Bun, a real browser page, or Browser & Node APIs. Switch in the status bar and the tab re-runs.

– npm packages install once for every tab, with types, autocomplete, and a quick-fix install for an import you don't have yet.

– A Web View for DOM, canvas and React, right beside your code.

– Ask AI with your own OpenAI, Anthropic or Gemini key (kept in the macOS Keychain), or Ollama running locally. Changes come back as a diff you can apply or discard.

– 21 built-in themes, and you can import your VS Code theme.

No telemetry, and a runaway loop never takes the editor down.

We'd love to hear what you'd use a scratchpad like this for, and what's missing. We're here all day to answer questions.

About JSLab on Product Hunt

“Write code. Watch it run as you type.”

JSLab was submitted on Product Hunt and earned 0 upvotes and 1 comments, placing #394 on the daily leaderboard. JSLab is a fast, native JavaScript and TypeScript scratchpad for macOS. Write code, watch it run as you type, and read every result beside the line that produced it. No project, no build step, no telemetry. Apple Silicon. A runaway loop never kills the editor.

On the analytics side, JSLab competes within Mac, Productivity and Developer Tools — topics that collectively have 1.3M followers on Product Hunt. The dashboard above tracks how JSLab performed against the three products that launched closest to it on the same day.

Who hunted JSLab?

JSLab was hunted by JSLab. A “hunter” on Product Hunt is the community member who submits a product to the platform — uploading the images, the link, and tagging the makers behind it. Hunters typically write the first comment explaining why a product is worth attention, and their followers are notified the moment they post. Around 79% of featured launches on Product Hunt are self-hunted by their makers, but a well-known hunter still acts as a signal of quality to the rest of the community. See the full all-time top hunters leaderboard to discover who is shaping the Product Hunt ecosystem.

For a complete overview of JSLab including community comment highlights and product details, visit the product overview.