javascript - How can I remove all quotas in node-localstorage? -


i'm using node-localstorage, seems provide partial copy of localstorage , semantics node. (you have use methods localstorage.getitem('foo') , set instead of reading or setting localstorage['foo'], while it's incomplete looks faithful copy.)

one feature of original localstorage has been included in port default 5mb quota, don't want in context using.

how can turn off quotas node-localstorage?

to set quota may pass additional parameter ctor this

localstorage = new localstorage('./scratch', number.max_value); 

this guarantee never reach maximum.


Comments

Popular posts from this blog

searchKeyword not working in AngularJS filter -

sequelize.js - Sequelize: sort by enum cases -

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -