Skip to content

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

local-storage-cache

npm:

npm install simple-lscache

yarn:

yarn add simple-lscache

usage:

import lscache from 'simple-lscache';

//set string 60s
lscache.set('key1', '11', 60);

//set object 60s
lscache.set('key2', {key: 'val'}, 60);

//get
lscache.get('key1');

//del
lscache.del('key1');

simple usage:

import {cache} from 'simple-lscache';

//set
cache('key1', 'val', 60);
cache('key2', {key: 'val'}, 60);

//get
cache('key1');

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages