better-memory-cache

A memory cache written in Typescript with support for stale-while-revalidate and background refresh

jswr

jswr is a data fetching library, that uses stale-while-revalidate invalidation strategy

node-caching-fetch

A cache for node-fetch that caches according to response cache headers, incl. stale-while-revalidate & stale-while-error with background revalidation