import { openDirectory } from "https://deno.land/x/ayonli_jsext@v0.9.72/esm/dialog.js";
Opens the directory picker dialog and selects all its files to open.
Examples
Example 1
Example 1
import { openDirectory } from "@ayonli/jsext/dialog";
const files = await openDirectory();
for (const file of files) {
console.log(`File name: ${file.name}, path: ${file.webkitRelativePath}`);
}