# react-native-sync-localstorage-module

> None async local storage-module

Latest version **0.0.1** (published 2023-01-21) · ISC license · 0 weekly downloads

## Install

```sh
npm install react-native-sync-localstorage-module
pnpm add react-native-sync-localstorage-module
yarn add react-native-sync-localstorage-module
bun add react-native-sync-localstorage-module
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2023-01-21 |
| First published | 2023-01-21 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 6.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | https://github.com/SinjiPrasetio |
| Maintainers | sinjiprasetio |
| Keywords | react, native, local, storage, synchronous |

## Links

- npm: https://www.npmjs.com/package/react-native-sync-localstorage-module
- Repository: https://github.com/SinjiPrasetio/react-native-sync-localstorage-module
- Homepage: https://github.com/SinjiPrasetio/react-native-sync-localstorage-module#readme
- Issues: https://github.com/SinjiPrasetio/react-native-sync-localstorage-module/issues
- npm.io page: https://npm.io/package/react-native-sync-localstorage-module

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 0.0.1 (latest) — 2023-01-21

## README

# react-native-localstorage
None async local storage based from https://www.npmjs.com/package/react-native-sync-localstorage

## [Installation]
    npm install --save react-native-sync-localstorage-module @react-native-async-storage/async-storage
## [Yarn]
    yarn add react-native-sync-localstorage-module @react-native-async-storage/async-storage

## [Usage]

### 1. Loading stored values at beginnig
    import localStorage from 'react-native-sync-localstorage-module'

    ...

    localStorage.getAllFromLocalStorage()
      .then(() => {
        // Do Something after loading...
      })
      .catch(err => {
        console.warn(err)
      })

### 2. Use local storage comfortable
#### 2-1. Setting
    const value = 12345
    localStorage.setItem('key', value)

#### 2-2. Getting
    localStorage.getItem('key')

#### 2-3. Deleting
    localStorage.removeItem('key')

---
_Source: https://npm.io/package/react-native-sync-localstorage-module · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
