All Projects → NoutDev → React Native Localstorage

NoutDev / React Native Localstorage

Manage LocalStorage items in a web environment

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to React Native Localstorage

Stormdb
🌩️ StormDB is a tiny, lightweight, 0 dependency, easy-to-use JSON-based database for NodeJS, the browser or Electron.
Stars: ✭ 406 (+3590.91%)
Mutual labels:  localstorage
Storage
Asynchronous browser storage with multiple back-ends (IndexedDB, WebSQL, localStorage)
Stars: ✭ 612 (+5463.64%)
Mutual labels:  localstorage
Tableexport
The simple, easy-to-implement library to export HTML tables to xlsx, xls, csv, and txt files.
Stars: ✭ 781 (+7000%)
Mutual labels:  localstorage
Vue Ls
💥 Vue plugin for work with local storage, session storage and memory storage from Vue context
Stars: ✭ 468 (+4154.55%)
Mutual labels:  localstorage
Web Storage Cache
对localStorage 和sessionStorage 进行了扩展,添加了超时时间,序列化方法
Stars: ✭ 582 (+5190.91%)
Mutual labels:  localstorage
Tyto
manage and organise things
Stars: ✭ 662 (+5918.18%)
Mutual labels:  localstorage
Use Local Storage State
React hook that persists data in local storage
Stars: ✭ 392 (+3463.64%)
Mutual labels:  localstorage
Aframe Persist Component
Persisting Aframe attribute data using localStorage
Stars: ✭ 10 (-9.09%)
Mutual labels:  localstorage
Notepad
基于vue2.0+vuex+localStorage+sass+webpack,实现一个本地存储的记事本。兼容PC端和移动端。
Stars: ✭ 597 (+5327.27%)
Mutual labels:  localstorage
Vue Music Player
🎵Vue.js写一个音乐播放器+📖One(一个).A music player + One by Vue.js
Stars: ✭ 729 (+6527.27%)
Mutual labels:  localstorage
Secure Ls
🔒 Secure localStorage data with high level of encryption and data compression
Stars: ✭ 486 (+4318.18%)
Mutual labels:  localstorage
Vuex Persistedstate
💾 Persist and rehydrate your Vuex state between page reloads.
Stars: ✭ 5,561 (+50454.55%)
Mutual labels:  localstorage
Histore
🏬 200b key-value store backed by navigation state
Stars: ✭ 683 (+6109.09%)
Mutual labels:  localstorage
Localstorage
A library to provide access to local storage in Blazor applications
Stars: ✭ 425 (+3763.64%)
Mutual labels:  localstorage
Storagedb
MongoDB-like API for HTML5 Storage (localStorage and sessionStorage)
Stars: ✭ 16 (+45.45%)
Mutual labels:  localstorage
Local Storage
React hook which syncs localStorage[key] with the comp.
Stars: ✭ 402 (+3554.55%)
Mutual labels:  localstorage
Vue Local Storage
Vue.js localStorage plugin with types support
Stars: ✭ 639 (+5709.09%)
Mutual labels:  localstorage
Proxy Storage
Provides an adapter for storage mechanisms (cookies, localStorage, sessionStorage, memoryStorage) and implements the Web Storage interface
Stars: ✭ 10 (-9.09%)
Mutual labels:  localstorage
Broadcast Channel
📡 BroadcastChannel to send data between different browser-tabs or nodejs-processes 📡
Stars: ✭ 843 (+7563.64%)
Mutual labels:  localstorage
Nano Sql
Universal database layer for the client, server & mobile devices. It's like Lego for databases.
Stars: ✭ 717 (+6418.18%)
Mutual labels:  localstorage


react-native-localstorage


Manage LocalStorage items in a web environment

An online interface where you can add, edit and remove LocalStorage items. It also supports a feature where you can load your current LocalStorage items from your device.

react-native-localstorage

Install

First install the package globally:

$ npm install react-native-localstorage -g

Install the package within your project:

$ npm install react-native-localstorage --save

Usage

Run the LocalStorage Debug server (Default IPV4 and port 8082):

$ react-native-localstorage start-server

Open your index.android.js file or any other (main) file where you want to use react-native-localstorage

Import the package (also make sure you have included AsyncStorage from the react-native package):

import {setConfig} from "react-native-localstorage";

Add the following (in componentWillMount):

  • Change the IP address to your IPV4 address and/or change the port if you have customized it.
componentWillMount() {
    setConfig(AsyncStorage, "192.168.0.130", "8082");
}

Start the application and navigate to http://localhost:8082

Run the example

Start the debug server:

$ react-native-localstorage start-server

Change the ip and/or port in your index.android.js file.

componentWillMount() {
    setConfig(AsyncStorage, "192.168.0.130", "8082");
}

Start the application:

$ react-native run-android

Run the packager (optional in some cases):

$ npm start

navigate to http://localhost:8082

API CLI

It's a GET request by default, but can be changed in options.

react-native-localstorage start-server

Start the debug server with your IPV4 address and port 8082.

OPTION -p

Type: integer

Specify a custom port.

react-native-localstorage start-server -p 1234
OPTION -i

Specify a custom ip address.

react-native-localstorage start-server -i 192.168.0.129
OPTION --help

List of commands.

react-native-localstorage --help

API

setConfig(AsyncObject, ip, port)

Set the config so we can connect to the server.

AsyncObject

Type: object

Define your AsyncStorage object here.

ip

The ip address you want to connect with.

port

Type: integer

The port you want to connect with.

License

MIT © Arnout Quint

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].