3 ms·
The editor on CodeSandbox runs web VSCode, and in that version we emulate Node.js in the browser to run local extensions.
by CompuIves 3y ago
The editor on CodeSandbox runs web VSCode, and in that version we emulate Node.js in the browser to run local extensions.
- lioeters 3y agoI'm curious about the technical details. Could you elaborate on how CodeSandbox runs Node.js in the browser? Does it use a Linux VM like Alpine compiled to WASM?
- lioeters 3y agoOh I think I found the answer. > Nodebox is a runtime for executing Node.js modules in the browser. https://github.com/codesandbox/nodebox-runtime https://github.com/codesandbox/nodebox-runtime https://sandpack.codesandbox.io/docs/advanced-usage/nodebox https://sandpack.codesandbox.io/docs/advanced-usage/nodebox