Virtual Filesystem
POSIX-compatible in-memory filesystem with watch, stat, snapshots, binary files, and recursive operations.
Install real npm packages, run normal dev commands, and preview Node, Vite, Next.js, and Express projects through virtual URLs.
npm install groundpackPOSIX-compatible in-memory filesystem with watch, stat, snapshots, binary files, and recursive operations.
Execute JavaScript and TypeScript with CommonJS resolution, ESM fallback transforms, and 40+ shimmed modules.
Install real packages from npm, resolve dependencies, extract tarballs, and create bin stubs entirely client-side.
Run normal commands like next dev, vite, node, and npm test with virtual HTTP previews.
React Refresh, CSS updates, process output, and file watcher updates without a full reload.
Use same-origin execution for trusted demos or cross-origin sandboxing for user and AI-generated code.
Running demos, playgrounds, coding agents, and educational tools for Node.js projects directly in the browser with real npm installs and dev commands.
Yes. An agent can write files, install packages, run commands, inspect output, preview servers, and iterate client-side. For untrusted generated code, use a cross-origin sandbox.
Groundpack is experimental. It covers many common Node.js APIs and package workflows, but complex native dependencies or obscure Node internals can still expose platform gaps.
Run trusted demo code same-origin when needed. Run arbitrary user code in a sandboxed iframe on a different origin so it cannot access the host page DOM, cookies, localStorage, or IndexedDB.
Groundpack is a lightweight browser runtime focused on demos and embedded development workflows. WebContainers provide a broader Linux-like environment for complete cloud IDE use cases.
Common modules include fs, path, http, crypto, stream, buffer, events, url, zlib, util, process, child_process, module, os, querystring, and more browser-compatible shims.