Thanks to visit codestin.com
Credit goes to github.com

Skip to content

duailibe/miche

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

miche

A simple multi-index cache for JavaScript for objects

Why

This cache was built for caching specifically functions that receive objects as arguments, thus using the object references as cache keys.

Usage

import MultiIndexCache from '@duailibe/miche';

const cachedFn = MultiIndexCache(fn);

// this will be cached
cachedFn(objA, objB, objC);

About

A simple multi-index cache for JavaScript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published