# expo-filesystem-storage

> Storage engine which uses Expo FileSystem API. Can be used as a replacement of AsyncStorage in redux-persist

Latest version **1.0.6** (published 2025-09-25) · ISC license · 0 weekly downloads

## Install

```sh
npm install expo-filesystem-storage
pnpm add expo-filesystem-storage
yarn add expo-filesystem-storage
bun add expo-filesystem-storage
```

## Health

**Score 45/100 (D)** — status: stable.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

## Facts

| | |
|---|---|
| Version | 1.0.6 |
| Published | 2025-09-25 |
| First published | 2019-04-02 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 5.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Lyubomir Ivanov |
| Maintainers | lyuboivanov |
| Keywords | expo, react-native, redux-persist |

## Links

- npm: https://www.npmjs.com/package/expo-filesystem-storage
- Repository: https://github.com/lyubo/expo-filesystem-storage
- Issues: https://github.com/lyubo/expo-filesystem-storage/issues
- npm.io page: https://npm.io/package/expo-filesystem-storage

## Recent versions

- 1.0.6 (latest) — 2025-09-25
- 2.0.0 — 2025-09-16
- 1.0.5 — 2022-11-21
- 1.0.4 — 2022-11-21
- 1.0.3 — 2019-11-22
- 1.0.2 — 2019-06-11
- 1.0.1 — 2019-06-11
- 1.0.0 — 2019-04-02

## README

# expo-filesystem-storage
Storage engine for Expo FileSystem API. Alternative of default AsyncStorage to get over  storage size limitations in Android.


### Install

```
npm install expo-filesystem-storage
```

### Usage with [redux-persist](https://github.com/rt2zz/redux-persist/)

```js
import createExpoFileSystemStorage from 'expo-filesystem-storage'

...

const expoFsStorage = createExpoFileSystemStorage();

const persistConfig = {
  key: 'root',
  storage: expoFsStorage,
};

const persistedReducer = persistReducer(persistConfig, reducer);

const store = createStore(persistedReducer);
const persistor = persistStore(store);

...

```

### Customized options
```js

...

const customOptions = {
  storagePath: `${FileSystem.documentDirectory}persistStore`,
  debug: true,
}

const expoFsStorage = createExpoFileSystemStorage(customOptions);

...

```

---
_Source: https://npm.io/package/expo-filesystem-storage · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
