# watercress-react-native

> Simple AsyncStorage wrapper for React Native

Latest version **1.0.0** (published 2017-10-29) · MIT license · 0 weekly downloads

## Install

```sh
npm install watercress-react-native
pnpm add watercress-react-native
yarn add watercress-react-native
bun add watercress-react-native
```

## 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.0.0 |
| Published | 2017-10-29 |
| First published | 2017-10-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | devtwo |
| Maintainers | devtwo |
| Keywords | react-native, watercress, storage |

## Links

- npm: https://www.npmjs.com/package/watercress-react-native
- Repository: https://github.com/dev-two/watercress-react-native
- Homepage: https://github.com/dev-two/watercress-react-native#readme
- Issues: https://github.com/dev-two/watercress-react-native/issues
- npm.io page: https://npm.io/package/watercress-react-native

## Alternatives

- [localforage](https://npm.io/package/localforage.md) — 6.2M weekly downloads
- [localforage-observable](https://npm.io/package/localforage-observable.md) — 30.8K weekly downloads
- [@y/y](https://npm.io/package/@y/y.md) — 30.1K weekly downloads
- [@metaobjectsdev/render](https://npm.io/package/@metaobjectsdev/render.md) — 3.5K weekly downloads
- [@ledgerhq/coin-algorand](https://npm.io/package/@ledgerhq/coin-algorand.md) — 1.1K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2017-10-29

## README

# Watercress ☘️

Simple AsyncStorage wrapper for React native.

Just install:

```javascript
npm i watercress-react-native --save
```

Then import:

```javascript
import * as cress from 'watercress-react-native';
```

And use:

```javascript
cress.set('cress', 'water').then(() => null)
cress.get('cress').then(() => null)
cress.rm('cress').then(() => null)
```

Every method returns promise. You also can pass JSON as a second parameter for set method and it will be stringifyed. Also, get method returns parsed JSON if value is JSON.

Wow, so cool, such innovation.

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