Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 1.67 KB

File metadata and controls

38 lines (25 loc) · 1.67 KB

indexeddb-files

This add-on shows how to read and save files using the IndexedDB API and the subset of the "File and Directory Entries API" supported on Firefox.

What it does

The extension includes:

  • a browser action which opens a popup with a list of examples
  • 2 file manipulations examples (that are opened in a tab by clicking their related link)

What it shows

  • Save files into IndexedDB: which shows how to read a local directory tree and save all its content into IndexedDB files, then read files from indexedDB and download them as a single zip files.
  • Create temporary files: which shows how to use the MutableFile API exposed by the IndexedDB API to create mutable files and save them using the IndexedDB API.

More docs on MDN

Acknowledgements