node-red-contrib-localstorage 1.0.1

A Node-RED node for save on localstorage

npm install node-red-contrib-localstorage

This node was designed to act like the browser localstorage.

Install

You can install this node directly from the "Manage Palette" menu in the Node-RED interface. There are no compilation steps.

npm install node-red-contrib-localstorage

How to use

Example Flow

Configure the node

Configure the local-storage configuration with a unique name for the storage. To create multiple storages it is necessary to create new configurations with different names

Example Configure

Set item

The 'set item' Node save a value to a key sent in localStorage message field.

Example Configure

Get item

The 'get item' Node get a value from a key sent in localStorage message field.

Example Configure

Clear

The 'clear' Node remove all keys from localStorage.

Example Configure

Has item

The 'Has item' Node checks if a key is defined in localstorage

Example Configure

Node Info

Version: 1.0.1
Updated 2 years, 11 months ago
License: MIT
Rating: not yet rated

Actions

Rate:

Downloads

30 in the last week

Nodes

  • local-storage
  • set item
  • get item
  • remove item
  • clear
  • has item

Keywords

  • node-red
  • node-localstorage
  • localstorage

Maintainers