0.0.1 • Published 7 years ago
@jstiller/storage v0.0.1
storage
A simple storage handler
jstiller.modules.storage.supports('cookie');
jstiller.modules.storage.supports('localStorage');
jstiller.modules.storage.supports('sessionStorage');
jstiller.modules.storage.cookie.setItem('key', 'value');
jstiller.modules.storage.cookie.getItem('key');
jstiller.modules.storage.cookie.removeItem('key');
jstiller.modules.storage.cookie.key(0);
jstiller.modules.storage.cookie.length();
jstiller.modules.storage.cookie.clear();
0.0.1
7 years ago