Simulator
File System Simulator
A virtual disk in your browser. Run fs operations against it, watch the tree update, and see the exact Node.js code — including the errors Node would really throw.
Virtual disk
3 files
File viewer/notes.txt
Remember to water the plants. Buy coffee beans.
Operations
Create or overwrite a file
fs.writeFileSync('/notes.txt', 'Hello from the simulator…')
Console
Execute an operation to see the Node.js code and its result here. Try deleting a non-empty folder with rmdir to see ENOTEMPTY.
Sync vs async: synchronous calls (e.g. fs.writeFileSync) block the entire event loop until the disk finishes. Async versions hand the work to libuv and invoke your callback later — that's the ~400ms wait you see in async mode.