Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/robertherber/localforage-expo-filesystem-driver
- Owner: robertherber
- Created: 2020-06-10T03:10:23.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-11-07T15:48:40.000Z (almost 3 years ago)
- Last Synced: 2024-10-11T01:59:47.692Z (26 days ago)
- Language: TypeScript
- Homepage:
- Size: 236 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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);
```