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 Thumbnail

JSLab

Write code. Watch it run as you type.

Mac
Productivity
Developer Tools
Visit WebsiteSee on Product Hunt

Hunted byJSLabJSLab

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.

Comment highlights

No comment highlights available yet. Please check back later!

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.

JSLab was featured in Mac (103.9k followers), Productivity (665.8k followers) and Developer Tools (523.3k followers) on Product Hunt. Together, these topics include over 286.7k products, making this a competitive space to launch in.

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.

Want to see how JSLab stacked up against nearby launches in real time? Check out the live launch dashboard for upvote speed charts, proximity comparisons, and more analytics.