# ns-vuex-persistent

> A small library to make vuex persistent in nativescript-vue projects.

Latest version **1.1.0** (published 2018-12-06) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install ns-vuex-persistent
pnpm add ns-vuex-persistent
yarn add ns-vuex-persistent
bun add ns-vuex-persistent
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2018-12-06 |
| First published | 2018-12-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 2.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Author | Gabriel Cuenca |
| Maintainers | wolfor8 |
| Keywords | npm, vue, vuex, nativescript, persistent |

## Links

- npm: https://www.npmjs.com/package/ns-vuex-persistent
- Repository: https://github.com/Gcuencam/ns-vuex-persistent
- Homepage: https://github.com/Gcuencam/ns-vuex-persistent#readme
- Issues: https://github.com/Gcuencam/ns-vuex-persistent/issues
- npm.io page: https://npm.io/package/ns-vuex-persistent

## Dependencies (1)

- [nativescript-localstorage](https://npm.io/package/nativescript-localstorage.md) ^2.0.0

## Recent versions

- 1.1.0 (latest) — 2018-12-06
- 1.0.0 — 2018-12-06

## README

[![GitHub license](https://img.shields.io/github/license/Gcuencam/ns-vuex-persistent.svg)](https://github.com/Gcuencam/ns-vuex-persistent/blob/master/LICENSE)

## Install

```
npm install --save ns-vuex-persistent
```

## Use

```javascript
import NSVuexPersistent from 'ns-vuex-persistent';

const store = new Vuex.Store({
  state: {
    // Your state.
  },
  mutations,
  actions,
  getters,
  strict: debug,
  plugins: [NSVuexPersistent([
    // Here you will define the states that you want to be persistent.
  ])]
});
```

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