Package category
Caching
In-memory caches, LRU caches, memoisation and HTTP caching.
424 packages0 comparisons
Packages compared
424 packages
| Package | Weekly downloads | 12-month change | 52 weeks | Gzip | Last release | Module | Types | Categories |
|---|---|---|---|---|---|---|---|---|
| lru-cache A cache object that deletes the least-recently-used items. | 415.3m | +87% | - | 6 days ago 11.5.3 | ESM + CommonJS | Bundled | Caching | |
| keyv Simple key-value storage with support for multiple backends | 121.7m | +140% | - | 8 months ago 5.6.0 | ESM + CommonJS | Bundled | Database clients and drivers, Caching | |
| flat-cache A simple key/value storage using files to persist the data | 119m | +118% | - | 2 months ago 6.1.23 | ESM + CommonJS | Bundled | Caching, Files and file systems | |
| import-fresh Import a module while bypassing the cache | 118.2m | +95% | - | 6 months ago 4.0.0 | ESM only | Bundled | Caching | |
| file-entry-cache A lightweight cache for file metadata, ideal for processes that work on a specific set of files and only need to reprocess files that have changed since the last run | 117.4m | +118% | - | 2 months ago 11.1.5 | ESM + CommonJS | Bundled | Caching | |
| define-lazy-prop Define a lazily evaluated property on an object | 72.1m | +130% | - | 5 years ago 3.0.0 | ESM only | None | Caching | |
| env-paths Get paths for storing things like data, config, cache, etc | 64.6m | +153% | - | 7 months ago 4.0.0 | ESM only | Bundled | Caching | |
| @alloc/quick-lru Simple “Least Recently Used” (LRU) cache | 51.1m | +212% | - | 24 days ago 5.3.0 | - | Bundled | Caching | |
| find-cache-dir Finds the common standard cache directory | 38.7m | +7% | - | 1 year ago 6.0.0 | ESM only | Bundled | Caching | |
| quick-lru Simple “Least Recently Used” (LRU) cache | 33.3m | +40% | - | 11 months ago 7.3.0 | ESM only | Bundled | Caching | |
| cacache Fast, fault-tolerant, cross-platform, disk-based, data-agnostic, content-addressable cache. | 33.1m | +9% | - | 3 months ago 21.0.1 | CommonJS | None | Caching | |
| read-cache Reads and caches the entire contents of a file until it is modified | 31.9m | +112% | - | 1 month ago 1.0.2 | CommonJS | None | Caching | |
| lodash.memoize The lodash method `_.memoize` exported as a module. | 29.7m | +23% | - | 10 years ago 4.1.2 | - | None | Caching | |
| memoize-one A memoization library which only remembers the latest invocation | 27.1m | +97% | - | 4 years ago 6.0.0 | ESM + CommonJS | Bundled | Caching | |
| cacheable-request Wrap native HTTP requests with RFC compliant cache support | 26.3m | +32% | - | 4 months ago 13.0.19 | ESM only | Bundled | Caching | |
| make-fetch-happen Opinionated, caching, retrying fetch client | 25.5m | +11% | - | 3 months ago 16.0.1 | CommonJS | None | Caching | |
| cacheable-lookup A cacheable dns.lookup(…) that respects TTL | 21.4m | +55% | - | 3 years ago 7.0.0 | ESM only | Bundled | Caching | |
| @keyv/serialize Serialization for Keyv | 16.6m | +294% | - | 1 year ago 1.1.1 | ESM + CommonJS | Bundled | Caching, Database clients and drivers | |
| map-cache Basic cache object for storing key-value pairs. | 15.6m | +9% | - | 10 years ago 0.2.2 | CommonJS | None | Caching | |
| thunky delay the evaluation of a paramless async function and cache the result | 15.1m | +17% | - | 6 years ago 1.1.0 | CommonJS | None | Caching, Promises and async control flow | |
| @formatjs/fast-memoize fork of fast-memoize and support esm | 14.8m | +145% | - | 2 months ago 3.1.7 | ESM only | Bundled | Caching, Internationalisation | |
| @cacheable/utils Cacheable Utilities for Caching Libraries | 13.1m | +940% | - | 2 months ago 2.5.0 | ESM + CommonJS | Bundled | Caching | |
| toad-cache LRU and FIFO caches for Client or Server | 12.9m | +363% | - | 2 months ago 3.7.4 | ESM + CommonJS | Bundled | Caching | |
| cacheable High Performance Layer 1 / Layer 2 Caching with Keyv Storage | 12.5m | +261% | - | 2 months ago 2.5.0 | ESM + CommonJS | Bundled | Caching | |
| @cacheable/memory High Performance In-Memory Cache for Node.js | 12m | +872% | - | 2 months ago 2.2.0 | ESM + CommonJS | Bundled | Caching | |
| thingies Useful TypeScript utilities. | 10.8m | +98% | - | 2 months ago 2.6.1 | CommonJS | Bundled | Promises and async control flow, Caching | |
| mnemonist Curated collection of data structures for the JavaScript/TypeScript. | 10.6m | +128% | - | 3 days ago 0.40.5 | ESM + CommonJS | Bundled | Caching | |
| lru-memoizer Memoize functions results using an lru-cache. | 10.5m | +165% | - | 1 year ago 3.0.0 | CommonJS | Bundled | Caching | |
| fragment-cache A cache for managing namespaced sub-caches | 9.8m | -17% | - | 9 years ago 0.2.1 | CommonJS | None | Caching | |
| lru.min 🔥 An extremely fast and efficient LRU cache for JavaScript with high compatibility (including Browsers). | 9.7m | +397% | - | 23 days ago 1.1.5 | ESM + CommonJS | Bundled | Caching | |
| cache-base Basic object cache with `get`, `set`, `del`, and `has` methods for node.js/javascript projects. | 9.5m | -12% | - | 4 years ago 4.0.2 | CommonJS | None | Caching, State management | |
| xdg-app-paths Determine (XDG-compatible) paths for storing application files (cache, config, data, etc) | 9.4m | +838% | - | 3 years ago 8.3.0 | ESM + CommonJS | Bundled | Caching | |
| workbox-range-requests This library creates a new Response, given a source Response and a Range header value. | 8.4m | +58% | - | 4 months ago 7.4.1 | ESM + CommonJS | Bundled | Caching | |
| workbox-build A module that integrates into your build process, helping you generate a manifest of local files that workbox-sw should precache. | 8.3m | +51% | - | 4 months ago 7.4.1 | CommonJS | Bundled | Caching | |
| lazy-cache Cache requires to be lazy-loaded when needed. | 7.3m | +10% | - | 9 years ago 2.0.2 | CommonJS | None | Caching | |
| caching-transform Wraps a transform and provides caching | 5.5m | +13% | - | 7 years ago 4.0.0 | - | None | Caching | |
| memoizerific Fast, small, efficient JavaScript memoization lib to memoize JS functions | 4.5m | -5% | - | 8 years ago 1.11.3 | CommonJS | None | Caching | |
| optimism Composable reactive caching with efficient invalidation. | 4.4m | +31% | - | 1 year ago 0.18.1 | ESM + CommonJS | Bundled | Caching | |
| lru_map Finite key-value map using the Least Recently Used (LRU) algorithm where the most recently used objects are keept in the map while less recently used items are evicted to make room for new ones. | 4.4m | +131% | - | 5 years ago 0.4.1 | CommonJS | Bundled | Caching | |
| workbox-webpack-plugin A plugin for your Webpack build process, helping you generate a manifest of local files that workbox-sw should precache. | 4.3m | -5% | - | 4 months ago 7.4.1 | CommonJS | Bundled | Caching, Bundler plugins and loaders | |
| stealthy-require The closest you can get to require something with bypassing the require cache | 4.2m | -16% | - | 9 years ago 1.1.1 | CommonJS | None | Caching | |
| memoizee Memoize/cache function results | 3.9m | +9% | - | 2 years ago 0.4.17 | - | None | Caching | |
| weak-lru-cache An LRU cache of weak references | 3.9m | +65% | - | 4 years ago 1.2.2 | ESM + CommonJS | Bundled | Caching | |
| node-cache Simple and fast NodeJS internal caching. Node internal in memory cache like memcached. | 3.4m | +5% | - | 6 years ago 5.1.2 | CommonJS | Bundled | Caching | |
| cache-manager Cache Manager for Node.js | 3.1m | +62% | - | 2 months ago 7.2.9 | ESM + CommonJS | Bundled | Caching, Database clients and drivers | |
| tiny-lru A fast, lightweight LRU (Least Recently Used) cache for JavaScript with O(1) operations and optional TTL support. | 2.9m | +259% | - | 10 days ago 13.0.1 | ESM + CommonJS | Bundled | Caching | |
| fast-memoize Fastest memoization lib that supports N arguments | 2.8m | +65% | - | 6 years ago 2.5.2 | CommonJS | Bundled | Caching | |
| nocache Middleware to destroy caching | 2.8m | +43% | - | 3 years ago 4.0.0 | CommonJS | Bundled | Caching | |
| use-memo-one useMemo and useCallback but with a stable cache | 2.5m | +12% | - | 4 years ago 1.1.3 | ESM + CommonJS | None | Caching | |
| cache-content-type Create a full Content-Type header given a MIME type or extension and cache the result | 2.5m | -5% | - | 1 year ago 2.1.0 | ESM + CommonJS | Bundled | Caching |
12-month change compares the average of the last 4 weeks of downloads with the first 4 weeks of the 52-week series. Gzip size is for the whole package, as measured by Bundlephobia. "-" means the value has not been fetched.
- lru-cacheA cache object that deletes the least-recently-used items.
- keyvSimple key-value storage with support for multiple backends
- flat-cacheA simple key/value storage using files to persist the data
- import-freshImport a module while bypassing the cache
- file-entry-cacheA lightweight cache for file metadata, ideal for processes that work on a specific set of files and only need to reprocess files that have changed since the last run
- define-lazy-propDefine a lazily evaluated property on an object
- env-pathsGet paths for storing things like data, config, cache, etc
- @alloc/quick-lruSimple “Least Recently Used” (LRU) cache
- find-cache-dirFinds the common standard cache directory
- quick-lruSimple “Least Recently Used” (LRU) cache
- cacacheFast, fault-tolerant, cross-platform, disk-based, data-agnostic, content-addressable cache.
- read-cacheReads and caches the entire contents of a file until it is modified
- lodash.memoizeThe lodash method `_.memoize` exported as a module.
- memoize-oneA memoization library which only remembers the latest invocation
- cacheable-requestWrap native HTTP requests with RFC compliant cache support
- make-fetch-happenOpinionated, caching, retrying fetch client
- cacheable-lookupA cacheable dns.lookup(…) that respects TTL
- @keyv/serializeSerialization for Keyv
- map-cacheBasic cache object for storing key-value pairs.
- thunkydelay the evaluation of a paramless async function and cache the result
- @formatjs/fast-memoizefork of fast-memoize and support esm
- @cacheable/utilsCacheable Utilities for Caching Libraries
- toad-cacheLRU and FIFO caches for Client or Server
- cacheableHigh Performance Layer 1 / Layer 2 Caching with Keyv Storage
- @cacheable/memoryHigh Performance In-Memory Cache for Node.js
- thingiesUseful TypeScript utilities.
- mnemonistCurated collection of data structures for the JavaScript/TypeScript.
- lru-memoizerMemoize functions results using an lru-cache.
- fragment-cacheA cache for managing namespaced sub-caches
- lru.min🔥 An extremely fast and efficient LRU cache for JavaScript with high compatibility (including Browsers).
- cache-baseBasic object cache with `get`, `set`, `del`, and `has` methods for node.js/javascript projects.
- xdg-app-pathsDetermine (XDG-compatible) paths for storing application files (cache, config, data, etc)
- workbox-range-requestsThis library creates a new Response, given a source Response and a Range header value.
- workbox-buildA module that integrates into your build process, helping you generate a manifest of local files that workbox-sw should precache.
- lazy-cacheCache requires to be lazy-loaded when needed.
- caching-transformWraps a transform and provides caching
- memoizerificFast, small, efficient JavaScript memoization lib to memoize JS functions
- optimismComposable reactive caching with efficient invalidation.
- lru_mapFinite key-value map using the Least Recently Used (LRU) algorithm where the most recently used objects are keept in the map while less recently used items are evicted to make room for new ones.
- workbox-webpack-pluginA plugin for your Webpack build process, helping you generate a manifest of local files that workbox-sw should precache.
- stealthy-requireThe closest you can get to require something with bypassing the require cache
- memoizeeMemoize/cache function results
- weak-lru-cacheAn LRU cache of weak references
- node-cacheSimple and fast NodeJS internal caching. Node internal in memory cache like memcached.
- cache-managerCache Manager for Node.js
- tiny-lruA fast, lightweight LRU (Least Recently Used) cache for JavaScript with O(1) operations and optional TTL support.
- fast-memoizeFastest memoization lib that supports N arguments
- nocacheMiddleware to destroy caching
- use-memo-oneuseMemo and useCallback but with a stable cache
- cache-content-typeCreate a full Content-Type header given a MIME type or extension and cache the result
No comparisons for this package yet.