Browser Fsa is a monorepo of libraries to simplify adding the Browser File System Access API to your app, the libraries abstract over the API to try and give you a more native like experience in the your web browser.
If you just need basic access to to the local file system you can:
Add the ability to create collections of your files that can be saved back to the local drive.
Wraps fsa-database and adds hooks for simple app creation when using react.
The File System Access API requires a user event/action to work, if it throws an error you may or may not see it, this is for security reasons so don't try to attach functions to onload or passive events.
If you find that you keep needing to grant permission to the browser during development because of frequent page reloads, just keep another tab open.
The File System Access API is not available in all browsers so a fallback is provided for users not using the supported features of API using fsa-database and react-fsa-database, this works by storing the file with its meta data in the indexDB so we can use it from within the app.
Generated using TypeDoc