Skip to content
This repository was archived by the owner on May 19, 2019. It is now read-only.

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LitleCacheJs

Simple cache manager for your javascript applications

How to use

include js file and create new cache instance:

var myCache = new LitleCache();

Add data :

myCache.setItem('hello', ['World', 'Steven']);

Test if key exists

myCache.hasItem('hello');

Get value

myCache.getItem('hello', 'my value if not exists')

Other methods

  • LitleCache.get(key)
  • LitleCache.removeItem(key)
  • LitleCache.clear
  • LitleCache.enable
  • LitleCache.disable
  • LitleCache.enabled
  • LitleCache.disabled

About

Simple cache manager for your javascript applications

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages