MDN self-hosted library · e01.org

DirectoryEntrySync

Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.

js
const fileEntry = fs.root.getFile("logs.txt", { create: true });
js
const dirEntry = fs.root.getDirectory("project_dir", { create: true });