unstorage
A strong pick. 5th of 10 caching and Redis clients.
Unstorage is a small async key-value API from UnJS. It runs on Node, browsers, workers and edge runtimes, and one interface covers dozens of drivers: memory, fs, Redis, Cloudflare KV, Vercel, S3 and more. It is a good pick when you want storage you can swap or mount from several backends, as Nitro and Nuxt do. It is not a Redis client or a full caching library, and npm's latest tag now points at a 2.0 beta while the stable line is 1.17.x.
Best for: Projects on several runtimes, especially Nitro or Nuxt apps, that want one KV API and freedom to swap the backend later.
Scores
Overall7.0
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 6.5, likely 5.5 to 7.5
It is a strong, well-maintained choice for a portable KV layer, and the natural one in Nitro or Nuxt. For the category's core job it is less complete. Use ioredis or node-redis to talk to Redis, and BentoCache, cache-manager or Keyv for caching with policies. The v2 transition and npm's beta latest tag add short-term risk.
- peers: Redis clients and Keyv have far more dependents
- github.com/unjs/unstorage/releases: Active 1.x and v2 development
- nitro.build/docs/storage: Nitro's cache layer is not built on unstorage by default
GPT-6.2 Sol: 7.4, likely 6.3 to 8.4
Unstorage is a strong pick for Nuxt or Nitro and for projects that benefit from switching or combining storage backends. Keyv has a clearer TTL contract for a portable cache, lru-cache gives more control over a local cache, and node-redis exposes native Redis commands. The stable patch and active maintenance support choosing 1.17.6 today, while uneven driver behavior and the beta on npm’s default tag limit a broader recommendation.
- github.com/unjs/unstorage/releases/tag/v1.17.6: Current stable release contains the security fixes.
- npmjs.com/package/unstorage?activeTab=versions: npm marks 2.0.0-beta.0 as latest and lists 1.17.6.
- keyv.org/docs: Keyv documents a common TTL API for memory and adapters.
- isaacs.github.io/node-lru-cache: Direct lru-cache use exposes eviction and per-entry options.
- redis.io/docs/latest/develop/clients/nodejs/transpipe: node-redis exposes native pipelining and transactions.
Needed by many6.1
How many developers need a tool for this job?
Claude Opus 5.5: 6.0, likely 4.5 to 7.0
Many server and full-stack apps need a key-value store or a cache, and unstorage works on any runtime. Its focus is a portable KV layer rather than a Redis client or a caching policy library. Its pull is also strongest inside the Nitro and Nuxt ecosystem, which narrows it a little.
- github description: Async KV API with dozens of drivers and a tiny core
- nitro.build/docs/storage: Nitro's KV layer is built on unstorage
- dev.to/jacobandrewsky/handling-key-value-storage-efficiently-with-unstorage-200i: Pitched as one interface for browsers, Node and Workers
GPT-6.2 Sol: 6.2, likely 5.1 to 7.3
Caching is common in backend web work, and Unstorage supports several runtimes and backends. Its main advantage applies to the smaller group that needs to switch or combine backends. The developer survey measures Redis use, so the share that needs this abstraction is uncertain.
- survey.stackoverflow.co/2026/technology: Redis was used by 28.3% of database-question respondents.
- raw.githubusercontent.com/unjs/unstorage/v1.17.6/README.md: Stable API supports multiple runtimes and driver mounts.
- devpick.co/ioredis-vs-unstorage: Independent comparison identifies portability as the main advantage.
Helps a lot7.2
How well does it do the job for those who need it?
Claude Opus 5.5: 7.0, likely 6.0 to 8.0
It does what it promises well: a clean typed API, a wide set of drivers, mounting, watching and JSON or binary handling, with no core dependencies. As a cache it is thin. It has no stampede protection, no multi-tier caching and no grace periods, and Redis users lose native commands behind the generic API. Each 1.x release still fixes key encoding and validation bugs across drivers.
- github.com/unjs/unstorage/releases: Steady driver fixes, typed storage, and new drivers in 1.14 to 1.17
- npm hasTypes / dependencies: Ships its own types and has 0 dependencies
- devpick.pages.dev/keyv-vs-unstorage: Third-party comparison: Keyv is minimal, unstorage is a broader multi-backend abstraction
- bluesky top: antfu praises how easy it makes swapping storage
GPT-6.2 Sol: 7.4, likely 6.4 to 8.4
The stable API is small and typed, with useful prefix mounts and a Redis driver that supports cluster connections and per-key expiry. Expiry behavior changes across drivers, and the current docs make that easy to miss when writing or generating code for 1.x. Keyv gives ordinary TTL caches a more consistent API across memory and Redis. Independent measurements of stable-version performance are sparse.
- raw.githubusercontent.com/unjs/unstorage/v1.17.6/src/types.ts: Stable declarations support key-specific value types.
- raw.githubusercontent.com/unjs/unstorage/v1.17.6/src/drivers/redis.ts: Stable Redis driver wraps ioredis and supports per-write expiry.
- raw.githubusercontent.com/unjs/unstorage/v1.17.6/src/drivers/memory.ts: Stable default memory driver is an unbounded Map without TTL.
- raw.githubusercontent.com/unjs/unstorage/v1.17.6/src/drivers/lru-cache.ts: LRU write methods omit per-write options.
- unstorage.unjs.io/drivers/memory: Current documentation describes expiry absent from stable 1.x.
- keyv.org/docs: Keyv exposes TTL through its common adapter API.
Holds up over time7.1
Will it still be a good choice in two years?
Claude Opus 5.5: 7.0, likely 5.5 to 8.0
Upkeep is active: 113 commits and 9 releases in the last year, a v2 beta in October 2026, and Nitro and Nuxt depend on it. Most of the work rests with a few UnJS maintainers. 65 PRs are open, and the Code-Review score of 2 suggests changes are mostly merged without review. The v2 transition brings breaking changes, and npm's latest tag points at a beta.
- github commitsLastYear / releasesLastYear: 113 commits and 9 releases in the last year
- github openPullRequests: 65 open PRs against 371 merged
- github.com/unjs/unstorage/releases: v2 alpha series with breaking changes; v1.17.6 still maintained
- npm latestVersion: The latest tag is 2.0.0-beta.0
GPT-6.2 Sol: 7.1, likely 5.9 to 8.2
Recent commits, stable fixes, and the 2.0 beta show active maintenance. VoidZero has sponsored the lead maintainer’s work on UnJS, and several contributors worked on the latest stable patch. One maintainer authored the recent releases, and the open issue backlog and 2.0 transition make the two-year outlook less certain.
- github commitsLastYear, releasesLastYear, openIssues, openPullRequests: 113 commits and nine releases alongside 82 open issues and 65 open pull requests.
- github.com/unjs/unstorage/releases: Recent stable patches and 2.0 builds share one visible release author.
- voidzero.dev/posts/oss-pledge-2025: VoidZero reports sponsorship for UnJS through its lead maintainer.
Used widely5.9
How many use it, and is that growing?
Claude Opus 5.5: 6.0, likely 5.0 to 7.0
Downloads rose about 9.5x in a year, from 11M to 104M per 4 weeks, well above the 4.1 median. Most of them likely come through Nitro, Nuxt and wallet SDKs (my knowledge, not checked). 10.2k dependent repos is far below ioredis (50k), Keyv (1.08M) and node-redis (154k), so the number of projects that choose it directly is in the tens of thousands.
- npm downloadsLast4Weeks / downloadsSame4WeeksYearAgo: 104M against 11M a year before: a ratio of about 9.5
- dependents repos: 10,207 dependent repos, low compared with the main peers
- Github.com/Uniswap/web3-react/issues/915: Users find unstorage pulled in as a transitive dependency
- @walletconnect/keyvaluestorage: WalletConnect's storage package depends on unstorage
GPT-6.2 Sol: 5.8, likely 4.5 to 7.1
Downloads grew 9.47× year over year, well above the catalog median of 4.1×. Nitro helps drive installs, so some of that growth reflects framework adoption and automated builds. The tracked footprint of 10,207 repositories and 89 packages trails Keyv and both general-purpose Redis clients, and the share of direct choices remains uncertain.
- npm downloadsLast4Weeks, npm downloadsSame4WeeksYearAgo, medianDownloadsRatio: 104.2 million versus 11.0 million installs, growing faster than the catalog median.
- dependents, peers dependentRepos: Tracked repository footprint falls between Upstash Redis and ioredis.
- github stars, bluesky posts, peers blueskyPosts: 2,665 stars and eight Bluesky links show modest visibility and more Bluesky attention than the listed peers.
- nitro.build/docs/migration: Nitro v3 installs Unstorage on demand for KV use.
Vouched for6.9
Who stands behind it being good?
Claude Opus 5.5: 6.0, likely 4.5 to 7.0
Nitro and Nuxt build their storage layer on it, and well-known ecosystem developers praise it in public. Beyond that ecosystem there are few independent benchmarks, survey results or production write-ups. Most praise comes from people close to UnJS.
- nitro.build/docs/storage: Nitro builds its storage on unstorage
- bluesky top: Praise from antfu (179 likes) and Daniel Roe
- hackerNews stories: No Hacker News stories
- dev.to/jacobandrewsky/handling-key-value-storage-efficiently-with-unstorage-200i: Independent tutorial, but no benchmarks
GPT-6.2 Sol: 7.8, likely 6.8 to 8.8
SCAYLE uses Unstorage for hosted storefront caching and sessions, and Paideia documents it as its frontend LRU cache. Nitro integrates it for KV storage, and Auth.js ships an official adapter. These integrations show practical use across several settings, though independent performance and developer satisfaction data are sparse.
- scayle.dev/documentation/storefront/storefront-application-v3/architecture/tech-stack: SCAYLE uses it to access the shared cache and session store.
- docs.paideialms.com/whitepaper-fall-2025.pdf: Paideia documents an Unstorage-backed LRU cache.
- nitro.build/docs/storage: Nitro uses Unstorage for its KV storage integration.
- authjs.dev/reference/unstorage-adapter: Auth.js maintains an official adapter.
Safe6.8
How safe is it to depend on?
Claude Opus 5.5: 7.0, likely 6.0 to 8.0
It has no OSV advisories, zero runtime dependencies and an MIT licence. The OpenSSF Scorecard is 4.8: code review, token permissions, security policy and SAST all score low. The 1.17.4 notes flag an h3 body-handling fix for users of the HTTP storage handler.
- advisories total: 0 advisories
- scorecard score: 4.8 overall; Code-Review 2, Token-Permissions 0, Security-Policy 0
- npm dependencies: 0 runtime dependencies
- security.snyk.io/package/npm/unstorage: Snyk lists no known vulnerabilities
GPT-6.2 Sol: 6.6, likely 5.4 to 7.8
Unstorage is MIT-licensed, and stable 1.17.6 fixed all three GitHub advisories before public disclosure, including one rated critical. The supplied OSV count missed those advisories, and the supplied zero-dependency count applies to the beta. Stable 1.17.6 declares eight direct dependencies plus optional driver peers. Weak code review and workflow token controls, limited visibility into publishing, and the missing security policy keep the score down.
- advisories total, npm latestVersion, npm dependencies, scorecard checks: Collector listed zero advisories for the package and zero beta dependencies. Code Review scored 2 and Token Permissions scored 0.
- github.com/unjs/unstorage/security: GitHub lists three advisories disclosed October 29 and no security policy.
- github.com/unjs/unstorage/releases/tag/v1.17.6: Stable security fixes shipped October 14.
- raw.githubusercontent.com/unjs/unstorage/v1.17.6/package.json: Stable manifest lists MIT, eight direct dependencies, and a release script using pnpm publish.
Good
- One API covers memory, fs, Redis, Cloudflare KV, Deno KV, Vercel Blob, S3 and more, and you can mount several drivers at once.
- The core has zero dependencies, ships its own types and runs in Node, browsers, workers and edge runtimes.
- Nitro and Nuxt build on it, so it gets heavy real-world use and steady fixes.
- It includes watching, metadata, snapshots, raw and binary values, and an HTTP storage server.
Bad
- It is an abstraction, not a cache library: there is no stampede protection, no tiered caching and little TTL policy, unlike BentoCache or cache-manager.
- You need ioredis or another driver package for real backends, and Redis-specific features are hidden behind the generic API.
- The 2.0 rewrite is in beta and npm's latest tag points to it, with breaking changes such as removed peer deps and the @vercel/kv driver.
- The OpenSSF Scorecard is weak (4.8), with low code review, token permission and security policy scores, and 65 open PRs are waiting.
The numbers
- npm downloads, 4 weeks
- 104M ×9.5 in a year
- GitHub stars
- 2.7k
- Commits, 12 months
- 113
- npm version
- 2.0.0-beta.0 Oct 2026
- Versions, 12 months
- 3
- Advisories, 24 months
- 0 of 0 ever
- OpenSSF Scorecard
- 4.8 out of 10, Nov 2026
- Licence
- MIT
Read on 21 November 2026 from GitHub (unjs/unstorage), npm (unstorage), OSV and the OpenSSF Scorecard.
Caching and Redis clients
- 8.3node-redis
- 8.2lru-cache
- 7.3Upstash Redis
- 7.1Valkey GLIDE
- 7.0unstorage
- 6.9ioredis
- 6.5BentoCache
- 6.3Keyv
- 6.2cache-manager
- 3.2node-cache