Skip to content

Commit

Permalink
Updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
james-pre committed Mar 15, 2024
1 parent 1880928 commit 9d8f9c3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Please read the BrowserFS documentation!

## Backends

- `Storage`: Stores files in a `Storage` object, like `localStorage` and `seesionStorage`.
- `Storage`: Stores files in a `Storage` object, like `localStorage` and `sessionStorage`.
- `IndexedDB`: Stores files into an `IndexedDB` object database.
- `FileSystemAccess`: Store files using the [Web File System API](https://developer.mozilla.org/Web/API/File_System_API).

Expand All @@ -22,8 +22,6 @@ npm install @browserfs/dom

> 🛈 The examples are written in ESM. If you are using CJS, you can `require` the package. If running in a browser you can add a script tag to your HTML pointing to the `browser.min.js` and use BrowserFS DOM via the global `BrowserFS_DOM` object.
You can use DOM backends, though you must register them if you plan on using `configure`:

```js
import { configure, fs } from '@browserfs/core';
import { Storage } from '@browserfs/dom';
Expand Down

0 comments on commit 9d8f9c3

Please sign in to comment.