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
Post a Comment