'Creating a chrome extension directory and saving files in it

I want to create a local directory on user's machine for my extension and then store some files there. I read the docs and turns out we have access now with the systemFileProvider API. But there are no samples or examples on how this work, anyone has a link? Or just pointers? I don't want to go the local server route , I'd rather not use it if the API is capable of doing what I want.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source