Skip to content

Thiry1/with-promise-cache

Repository files navigation

with-promise-cache

in-memory promise cache client.

Installation

npm i with-promise-cache

Usage

import { PromiseCache } from "with-promise-cache";
const func = new PromiseCache().with(yourAsyncFunction);
await func("cacheKey")(yourAsyncFunctionArgs)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published