What if the code you are typing never ends?

Stop typing, and it runs. In real Node.

Your Snippet runs a moment after you stop typing, and the answer arrives in the console. Errors, values and timers are Node’s own.

01

Run as you type

A moment after you stop typing, the Snippet runs, and the answer appears in the console.

Each line runs a moment after it is typed. The pasted block shows Node’s own order: 1, 4, 3, 2.
02

The last answer stays

While you type, the console keeps the last Run’s output, and the footer says the code changed since.

The code now says Hi, but the console keeps the last Run’s Hello 42 until the next Run.
03

Node’s own errors

Errors and stack traces are V8’s, and each line of your code in them links to that line.

reduce of undefined: each frame of the stack names its line, and a click goes there.
04

Values shown as they are

Map, Set, BigInt and circular objects print as they are.

A Map, a Set, a BigInt and an object that contains itself, each printed as it is.
05

Every console method

console.table, groups, timers, warnings and %c styles work as in a browser, and each row ends with its line.

A table, a line printed twice shown once with its count, a warning and an error.
06

Module or Script

A Snippet runs as an ES module or as CommonJS. When the code needs the other one, the console offers to switch.

require in a Module throws. One click runs it again as a Script, and it prints beach and .jpeg.
07

A loop that never ends

The loop guard stops it and names the line. Click the line, fix it, and it runs. A Run busy for 5 seconds or using more than 1 GB is stopped too.

tries++ was missing. The error names line 2, a click goes there, and the fix prints done.
08

Run longer JSpark+

Raise the time limit to 10 seconds and memory up to 8 GB, or give one Run more with Run longer.

Run longer finishes a search the 5-second limit stopped. Settings then raises the limit to 10 seconds.

Good to know

Your own access
A Node Run is real Node, with your access to your files, network and programs. Code that reaches them waits for you to press Run: see Node and your computer.
Node is inside the app
There is nothing to install. Settings → About names the Node, Chromium and V8 versions.
Stop at any time
Once a Run has lasted half a second, Stop takes the place of Run. ⌘. stops it too, and the console keeps what was printed.
Every top-level value
Turn on Settings → Console → Show every top-level value, and each top-level expression prints its value at its line.

Read the Run docs Read the Console docs Node and your computer All features

Stop typing, and the answer is there.

Download free for Mac

Not a trial: it doesn’t expire.

Windows: coming later