Real Node.js, in the browser tab
This is Node.js 22 compiled from its own C++ source to WebAssembly, with JavaScript running on the browser’s engine. npm, bash and git sit beside it, and the whole pod runs on your user’s device.
$npm i @leaningtech/browserpod 1import chalk from "chalk"; 2 3console.log(chalk.magenta("Hello from BrowserPod 👋")); 4console.log(chalk.green(`Running Node ${process.version}`)); 5 6// Run `node index.js` from the terminal
Three calls to a running pod
Install the package, boot a pod and run a command. Output streams to the terminal on your page.
-
1Install
Add BrowserPod to your web project from npm.
$ npm i @leaningtech/browserpod -
2Boot a pod
No API key needed. Node.js 22 is the version available today.
BrowserPod.boot() -
3Run a program
Give run() the executable, its arguments and the terminal for output.
pod.run("node", ["index.js"], { terminal })
What every pod includes
The same pod that runs Node.js gives your users a full command line.
Runs on the user’s device
Each pod runs inside the browser tab, on the user’s own machine.
Isolated from the host
A dedicated syscall layer keeps the pod apart from the host operating system.
Command-line tools included
bash, git, coreutils and more are ready in every pod.
Storage you choose
Pods are ephemeral by default. Pass a storageKey to keep files between sessions.
Other runtimes
One API boots a pod, opens a terminal and runs a program, whichever language it is written in.
Get started
Install BrowserPod from npm and boot your first pod.
$npm i @leaningtech/browserpod Need public URLs, GitHub or TCP from a pod? Add an API key for BrowserPod Edge, free for 1,000 hours a month.Get an API key










