- run
dev.sh
- open the page using browser
- open developer tools, go to application tab, application/storage section
- click anywhere in the page to write to opfs
- enter below to clear data
(async () => {
await (await navigator.storage.getDirectory()).remove({ recursive: true });
})();