Fast and Simple Key-value Pair Storage for React Native

react-native-levelstorage

Fast and simple key-value pair storage for React Native using LevelDB native binding. This package wraps react-native-leveldown and levelup and provides LocalStorage like API.

Big thanks to them for creating LevelDB native bindings for both Android and iOS.

Features

  • Multiple storage instances
  • Store buffer value
  • No size limit
  • Fast native bindings

Requirements

  • react: 16.8+
  • react-native: 0.60+

Install

npm install react-native-levelstorage

Usage

const storage = require('react-native-levelstorage')
await storage.setItem('hello', 'world')
await storage.getItem('hello') // -> "world"

API

Go to API Documention

Download Details:

Author: rhaldkhein

Demo: https://rhaldkhein.github.io/react-native-levelstorage/

Source Code: https://github.com/rhaldkhein/react-native-levelstorage

#react-native #react #mobile-apps

Fast and Simple Key-value Pair Storage for React Native
4.20 GEEK