Simple cache manager for your javascript applications
include js file and create new cache instance:
var myCache = new LitleCache();myCache.setItem('hello', ['World', 'Steven']);myCache.hasItem('hello');myCache.getItem('hello', 'my value if not exists')- LitleCache.get(key)
- LitleCache.removeItem(key)
- LitleCache.clear
- LitleCache.enable
- LitleCache.disable
- LitleCache.enabled
- LitleCache.disabled