node-red-contrib-localstorage

1.0.1 • Public • Published

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

Package Sidebar

Install

npm i node-red-contrib-localstorage

Weekly Downloads

39

Version

1.0.1

License

MIT

Unpacked Size

573 kB

Total Files

12

Last publish

Collaborators

  • capelinha