Skip to content

arno-react/storage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

storage

    var storage = require('./arno-storage.js');
    var localStorage =new storage();
    var  cookie =new storage('cookie');
    var  lru =new storage('lru');
  • .get(key) 取

  • .put(key, value, expires) 设置

  • .remove(key) 删除

  • .clear() 清空  

  • .expires(key, seconds) 设有效期 key已存的

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published