Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/robertherber/localforage-expo-filesystem-driver

Custom localforage driver using expo-filesystem
https://github.com/robertherber/localforage-expo-filesystem-driver

Last synced: 4 days ago
JSON representation

Custom localforage driver using expo-filesystem

Awesome Lists containing this project

README

        

# localforage-expo-filesystem-driver

## Installation

`yarn add localforage-expo-filesystem-driver`

or

`npm install localforage-expo-filesystem-driver`

## Usage

```typescript
import localForage from 'localforage';
import fsDriver, { driverKey } from 'localforage-expo-filesystem-driver';

void localForage.defineDriver(fsDriver);

void localForage.setDriver(driverKey);
```