The use case here is not that important though but the use actually is. I want to browse the users local file system via browser like we do via <input type="file">
but instead of picking up a file I want to pick up a directory and get list of all the files and directories inside it.
Once I get that list of files I want to recursively show them in a treeview like structure.
This is a example of what I know can be done via File System Access Api.
I just want to use this API to create something like a File Manager or a treeview.
Thanks.