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

Increase default quota size in node js #81

Closed shrikartare closed 1 year ago

shrikartare commented 2 years ago

How to increase the default quota size for storage?

dimitrov-d commented 2 years ago

Hi @shrikartare, I was just searching for this myself, when looking at the code I found that the constructor for the LocalStorage object takes two parameters, first is the location and the second parameter (optional) is the quota size, defaulting at 5MB.