Register an app as a file handler with the operating system.
Now that web apps are capable of reading and writing files, the next logical
step is to let developers declare these very web apps as file handlers for the files their apps can
create and process. The File Handling API allows you to do exactly this. After registering a text
editor app as a file handler and after installing it, you can right-click a .txt file on macOS and
select "Get Info" to then instruct the OS that it should always open .txt files with this app as
default.
Suggested use cases for the File Handling API
Examples of sites that may use this API include:
- Office applications such as text editors, spreadsheet apps, and slideshow creators.
- Graphics editors and drawing tools.
- Video game level editor tools.