# redux-persist-buildfire-storage

> Engine for redux persist using BuildFire storage

Latest version **1.1.2** (published 2019-08-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install redux-persist-buildfire-storage
pnpm add redux-persist-buildfire-storage
yarn add redux-persist-buildfire-storage
bun add redux-persist-buildfire-storage
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.2 |
| Published | 2019-08-13 |
| First published | 2019-08-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 4.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Maintainers | besicdenis |
| Keywords | redux, redux-persist, buildfire |

## Links

- npm: https://www.npmjs.com/package/redux-persist-buildfire-storage
- Repository: https://github.com/denza/redux-persist-buildfire-storage
- Homepage: https://github.com/denza/redux-persist-buildfire-storage#readme
- Issues: https://github.com/denza/redux-persist-buildfire-storage/issues
- npm.io page: https://npm.io/package/redux-persist-buildfire-storage

## Recent versions

- 1.1.2 (latest) — 2019-08-13
- 1.1.1 — 2019-08-13
- 1.1.0 — 2019-08-08
- 1.0.0 — 2019-08-07

## README

# redux-persist-buildfire-storage

redux-persist-buildfire-storage is using [BuildFire](https://github.com/BuildFire/sdk/wiki/File-System-Services) file system componente to persist redux state, and allowing it to be reloaded from the file system even when tha app is closed.

To use it, follow the code example below:

```
// configureStore.js

import { createStore } from 'redux'
import { persistStore, persistReducer } from 'redux-persist'
import bf_storage from ''redux-persist-buildfire-storage'
import actionTypes from '../actionTypes.js'

import rootReducer from './reducers'
const storage = new bf_storage('myPersistFolder', actionTypes);

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

const persistedReducer = persistReducer(persistConfig, rootReducer)

export default () => {
  let store = createStore(persistedReducer)
  let persistor = persistStore(store)
  return { store, persistor }
}
```

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