lagon icon indicating copy to clipboard operation
lagon copied to clipboard

Support localStorage api

Open anbraten opened this issue 1 year ago • 1 comments

Is your feature request related to a problem? Please describe.

It would be pretty cool to have sth like localStorage to store simple key-values in the context of a function. I used this quite often in node-red to store simple states for example used to create singeltons with a timestamp lock.

Describe the solution you'd like

Support for localStorage similar to the browser implementation. The localStorage should use the function as context so only a function can access the data.

Describe alternatives you've considered

I could use an external database / key-value api.

anbraten avatar May 24 '23 20:05 anbraten