@sanjo/cache
TypeScript icon, indicating that this package has built-in type declarations

2.1.2 • Public • Published

@sanjo/cache

This work is devoted to God.

Available caches

  • Cache: a cache which supports any type as a key.
  • ObjectCache: a cache which supports objects with the same properties as key.

Also provides the function createCachingFunction which can create a function out of a function, which caches its results.

How to install

npm install --save '@sanjo/cache'

How to use

Please see specifications (Cache, ObjectCache, createCachingFunction).

Readme

Keywords

Package Sidebar

Install

npm i @sanjo/cache

Weekly Downloads

6

Version

2.1.2

License

Unlicense

Unpacked Size

26.7 kB

Total Files

39

Last publish

Collaborators

  • sanjo