1.0.1 • Published 4 years ago
node-red-contrib-localstorage v1.0.1
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-localstorageHow to use

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

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

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

Clear
The 'clear' Node remove all keys from localStorage.

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