Skip to content
JS
Package category

Caching

In-memory caches, LRU caches, memoisation and HTTP caching.

424 packages0 comparisons

Packages compared

424 packages
PackageWeekly downloads12-month change52 weeksGzipLast releaseModuleTypesCategories
regex-cache
Memoize the results of a call to the RegExp constructor, avoiding repetitious runtime compilation of the same string and options, resulting in surprising performance improvements.
2.2m-23%-9 years ago
0.4.4
CommonJSNoneCaching
simple-lru-cache
node-simple-lru-cache =====================
1.7m+80%-11 years ago
0.0.2
CommonJSNoneCaching
memoize
Memoize functions - An optimization used to speed up consecutive function calls by caching the result of calls with identical input
1.3m+62%-6 months ago
11.0.0
--Caching
@cacheable/node-cache
Simple and Maintained fast NodeJS internal caching
1.2m---2 months ago
3.1.1
ESM + CommonJSBundledCaching
react-query
Hooks for managing, caching and syncing asynchronous and remote data in React
1.2m+1%-3 years ago
3.39.3
ESM + CommonJSBundledCaching, React
decache
decache (Delete Cache) lets you delete modules from node.js require() cache; useful when testing your modules/projects.
1.2m-15%-3 years ago
4.6.2
CommonJSBundledCaching
@hapi/catbox
Multi-strategy object caching service
998.2k---3 years ago
12.1.1
CommonJSBundledCaching
@keyv/redis
Redis storage adapter for Keyv
962.8k---8 months ago
5.1.6
ESM + CommonJSBundledCaching, Database clients and drivers
micro-memoize
A blazing fast memoization library that is tiny but feature-rich.
939k+77%-22 days ago
5.2.0
ESM + CommonJSBundledCaching
p-memoize
Memoize promise-returning & async functions
936.2k+13%-1 year ago
8.0.0
ESM onlyBundledCaching, Promises and async control flow
decko
A collection of the most useful property decorators.
908.6k+36%-9 years ago
1.2.0
CommonJSBundledCaching
find-cache-directory
Finds the common standard cache directory
792k+184%-1 year ago
6.0.0
ESM onlyBundledCaching
proxy-memoize
Intuitive magical memoization library with Proxy and WeakMap
759.1k+129%-2 years ago
3.0.1
ESM + CommonJSBundledCaching
clear-module
Clear a module from the cache
718k-13%-4 months ago
4.1.3
-BundledCaching
cache-loader
Caches the result of following loaders on disk.
714.5k-2%-7 years ago
4.1.0
CommonJSNoneCaching, Bundler plugins and loaders
broccoli-persistent-filter
broccoli filter but with a persistent cache
591.7k-8%-4 years ago
3.1.3
CommonJSNoneCaching
object-identity
Canonicalize any value into a tiny, stable identity string. Structural fingerprints for cache keys, deduping, and memoization.
590k+13242%-2 months ago
0.2.3
ESM + CommonJSBundledCaching
@wolfy1339/lru-cache
A cache object that deletes the least-recently-used items.
538.9k---1 year ago
11.0.2-patch.1
ESM + CommonJSBundledCaching
flru
A tiny (215B) and fast Least Recently Used (LRU) cache
535.2k+154%-7 years ago
1.0.2
ESM + CommonJSBundledCaching
http-basic
Very low level wrapper arround http.request/https.request
532.1k-31%-7 years ago
8.1.3
CommonJSBundledCompression and archives, Caching
keyv-file
File storage adapter for Keyv, using msgpack to serialize data fast and small.
529k+1223%-2 months ago
5.3.5
CommonJSBundledCaching
memory-cache
A simple in-memory cache. put(), get() and del()
523.5k-3%-9 years ago
0.2.0
CommonJSNoneCaching
require-and-forget
Require Node module and immediately remove it from module cache to force loading again next time
477.8k+13%-9 days ago
1.1.0
CommonJSNoneCaching, Utility libraries
@serwist/build
A module that integrates into your build process, helping you generate a manifest of local files that should be precached.
383.5k---2 months ago
9.5.12
ESM onlyBundledCaching, Static site generators and meta-frameworks
typescript-memoize
Memoize decorator for Typescript
366.5k+64%-4 years ago
1.1.1
ESM + CommonJSBundledCaching, TypeScript tooling
memorystore
express-session full featured MemoryStore layer without leaks!
359.4k+2%-4 months ago
1.6.8
CommonJSBundledCaching
global-cache
Sometimes you have to do horrible things, like use the global object to share a singleton. Abstract that away, with this!
356.6k+17%-9 years ago
1.2.1
CommonJSNoneCaching
@valkey/valkey-glide
General Language Independent Driver for the Enterprise (GLIDE) for Valkey
355.4k---today
2.5.3
ESM + CommonJSBundledNode.js utilities, TypeScript tooling
moize
Blazing fast memoization based on all parameters passed
336.3k+5%-9 months ago
6.1.7
ESM + CommonJSBundledCaching
mapcap
Apply a size limit to a Map class or instance
306.6k+3%-7 years ago
1.0.0
CommonJSNoneCaching, Node.js utilities
async-cache
Cache your async lookups and don't fetch the same thing more than necessary.
304.6k-30%--
1.1.0
CommonJSNoneCaching
@valkey/valkey-glide-linux-x64-musl
Native bindings for valkey-glide on linux-x64-musl
297.7k---today
2.5.3
CommonJSNoneNode.js utilities, TypeScript tooling
@valkey/valkey-glide-linux-x64-gnu
Native bindings for valkey-glide on linux-x64-gnu
296.3k---today
2.5.3
CommonJSNoneNode.js utilities, TypeScript tooling
koa-etag
Koa ETag support middleware
278k+5%-1 year ago
5.0.0
ESM + CommonJSBundledCaching
cache-point
Simple, filesystem-backed memoisation cache.
256.5k+32%-1 year ago
3.0.1
ESM + CommonJSNoneCaching
@lukemorales/query-key-factory
A library for creating standardized query keys, useful for cache management in @tanstack/query
236.5k---2 years ago
1.3.4
ESM + CommonJSBundledCaching, React
@netlify/cache
TypeScript utilities for interacting with the Netlify cache
233.8k---1 month ago
4.0.0
ESM + CommonJSBundledCaching, Cloud SDKs
object-code
A blazing fast hash code generator that supports every possible javascript value.
233.5k+69%--
2.0.0
ESM + CommonJSBundledCaching
re-reselect
Enhance Reselect selectors with deeper memoization and cache management
227.3k+21%-1 month ago
5.1.1
ESM + CommonJSBundledCaching, React
axios-cache-interceptor
Cache interceptor for axios
225.6k+78%-1 month ago
1.12.3
ESM + CommonJSBundledCaching
cache-parser
A minimal parser for the Cache-Control header.
220.4k+53%--
1.2.6
ESM + CommonJSBundledCaching
@chat-adapter/state-memory
In-memory state adapter for Chat SDK — zero-dependency subscriptions, locks, and cache for local development and tests
204.9k---7 days ago
4.41.0
ESM onlyBundledCaching, Testing
memize
Unabashedly-barebones memoization library with an aim toward speed
192k+56%-1 year ago
2.1.1
ESM + CommonJSBundledCaching
serviceworker-cache-polyfill
Cache polyfill for the ServiceWorker
185.3k+9%-10 years ago
4.0.0
CommonJSNoneCaching
@keyv/valkey
Valkey storage adapter for Keyv
181.3k---10 months ago
1.0.11
ESM + CommonJSBundledCaching, Database clients and drivers
@keyv/memcache
Memcache storage adapter for Keyv
172.8k---1 year ago
2.0.2
ESM + CommonJSBundledCaching, Database clients and drivers
cache-manager-redis-store
Redis store for node-cache-manager
168.4k+6%--
3.0.1
CommonJSBundledCaching, Database clients and drivers
@cacheable/memoize
Memoization utilities for cacheable
168.2k---11 months ago
2.0.3
ESM + CommonJSBundledCaching
@chat-adapter/state-redis
Redis state adapter for Chat SDK — production subscriptions, distributed locks, cache, lists, and queues via node-redis
167k---7 days ago
4.41.0
ESM onlyBundledCaching, Database clients and drivers
redis-lru
redis-backed LRU cache
166.1k+82%-7 years ago
0.6.0
CommonJSNoneCaching

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.

  • regex-cacheMemoize the results of a call to the RegExp constructor, avoiding repetitious runtime compilation of the same string and options, resulting in surprising performance improvements.
  • simple-lru-cachenode-simple-lru-cache =====================
  • memoizeMemoize functions - An optimization used to speed up consecutive function calls by caching the result of calls with identical input
  • @cacheable/node-cacheSimple and Maintained fast NodeJS internal caching
  • react-queryHooks for managing, caching and syncing asynchronous and remote data in React
  • decachedecache (Delete Cache) lets you delete modules from node.js require() cache; useful when testing your modules/projects.
  • @hapi/catboxMulti-strategy object caching service
  • @keyv/redisRedis storage adapter for Keyv
  • micro-memoizeA blazing fast memoization library that is tiny but feature-rich.
  • p-memoizeMemoize promise-returning & async functions
  • deckoA collection of the most useful property decorators.
  • find-cache-directoryFinds the common standard cache directory
  • proxy-memoizeIntuitive magical memoization library with Proxy and WeakMap
  • clear-moduleClear a module from the cache
  • cache-loaderCaches the result of following loaders on disk.
  • broccoli-persistent-filterbroccoli filter but with a persistent cache
  • object-identityCanonicalize any value into a tiny, stable identity string. Structural fingerprints for cache keys, deduping, and memoization.
  • @wolfy1339/lru-cacheA cache object that deletes the least-recently-used items.
  • flruA tiny (215B) and fast Least Recently Used (LRU) cache
  • http-basicVery low level wrapper arround http.request/https.request
  • keyv-fileFile storage adapter for Keyv, using msgpack to serialize data fast and small.
  • memory-cacheA simple in-memory cache. put(), get() and del()
  • require-and-forgetRequire Node module and immediately remove it from module cache to force loading again next time
  • @serwist/buildA module that integrates into your build process, helping you generate a manifest of local files that should be precached.
  • typescript-memoizeMemoize decorator for Typescript
  • memorystoreexpress-session full featured MemoryStore layer without leaks!
  • global-cacheSometimes you have to do horrible things, like use the global object to share a singleton. Abstract that away, with this!
  • @valkey/valkey-glideGeneral Language Independent Driver for the Enterprise (GLIDE) for Valkey
  • moizeBlazing fast memoization based on all parameters passed
  • mapcapApply a size limit to a Map class or instance
  • async-cacheCache your async lookups and don't fetch the same thing more than necessary.
  • @valkey/valkey-glide-linux-x64-muslNative bindings for valkey-glide on linux-x64-musl
  • @valkey/valkey-glide-linux-x64-gnuNative bindings for valkey-glide on linux-x64-gnu
  • koa-etagKoa ETag support middleware
  • cache-pointSimple, filesystem-backed memoisation cache.
  • @lukemorales/query-key-factoryA library for creating standardized query keys, useful for cache management in @tanstack/query
  • @netlify/cacheTypeScript utilities for interacting with the Netlify cache
  • object-codeA blazing fast hash code generator that supports every possible javascript value.
  • re-reselectEnhance Reselect selectors with deeper memoization and cache management
  • axios-cache-interceptorCache interceptor for axios
  • cache-parserA minimal parser for the Cache-Control header.
  • @chat-adapter/state-memoryIn-memory state adapter for Chat SDK — zero-dependency subscriptions, locks, and cache for local development and tests
  • memizeUnabashedly-barebones memoization library with an aim toward speed
  • serviceworker-cache-polyfillCache polyfill for the ServiceWorker
  • @keyv/valkeyValkey storage adapter for Keyv
  • @keyv/memcacheMemcache storage adapter for Keyv
  • cache-manager-redis-storeRedis store for node-cache-manager
  • @cacheable/memoizeMemoization utilities for cacheable
  • @chat-adapter/state-redisRedis state adapter for Chat SDK — production subscriptions, distributed locks, cache, lists, and queues via node-redis
  • redis-lruredis-backed LRU cache

No comparisons for this package yet.