lmaccherone / node-localstorage

A drop-in substitute for the browser native localStorage API that runs on node.js.
MIT License
450 stars 36 forks source link

Set values directly #44

Closed dy closed 5 years ago

dy commented 5 years ago

Browser localStorage allows setting values directly:

localStorage.x = 1
localStorage.x // '1'

This package doesn't allow that. That can be fixed via Proxy. Should that be done here @lmaccherone ?

lmaccherone commented 5 years ago

Now published at v2.1.x