Monosize storage adapter for Upstash Redis to store bundle size metrics. Current version 0.0.27, released as part of the monosize ecosystem by Microsoft. Release cadence is infrequent, tied to monosize updates. Key differentiator: provides a serverless-compatible Redis backend for monosize CI workflows, supporting read-only tokens for secure access in public repositories.
npm install monosize-storage-upstashNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Configure monosize to use Upstash Redis for storing bundle size comparisons.
Generate a read-only token in Upstash console and use that as readonlyToken.
Ensure both UPSTASH_REDIS_REST_URL and UPSTASH_REDIS_REST_TOKEN environment variables are set.
Use only within a monosize configuration file.
Rename file to .mjs or set "type": "module" in package.json.
Set environment variables or pass them inline: UPSTASH_REDIS_REST_URL=... UPSTASH_REDIS_REST_TOKEN=... npx monosize