glo-cache

1.0.2 • Public • Published

glo-cache

A tool for glo-cache.

Install

npm i glo-cache --save
//or 
yarn add glo-cache

Example

const cache = require("glo-cache");

let i=0;
setInterval(()=>{
    i++;
    cache.set(null,i);
    console.log(i,cache.getAll());
},1000);

APIs

cache.get

cache.set

cache.clear

cache.getAll

cache.del

    

Package Sidebar

Install

npm i glo-cache

Weekly Downloads

0

Version

1.0.2

License

MIT

Unpacked Size

3.39 kB

Total Files

5

Last publish

Collaborators

  • lanmeng2022