@fanny-pack/react-native
TypeScript icon, indicating that this package has built-in type declarations

1.0.0-beta.1 • Public • Published

Fanny Pack React Native

Fanny Pack running on React Native, backed by AsyncStorage.

Installation

npm install --save @fanny-pack/react-native

Usage

const FannyPack = require('@fanny-pack/react-native')

const fp = new FannyPack('important-data')

You can now use fp as any other Fanny Pack.

API

new FannyPack(name: string)

Create a new Fanny Pack with the data stored in AsyncStorage, with all keys prefixed with the name and a slash.

The rest of the API follows the shared Fanny Pack API.

Readme

Keywords

none

Package Sidebar

Install

npm i @fanny-pack/react-native

Weekly Downloads

0

Version

1.0.0-beta.1

License

MIT

Unpacked Size

8.64 kB

Total Files

4

Last publish

Collaborators

  • albinekb
  • linusu