Redis-backed implementation of quota enforcement for the Volos API management system. Version 0.11.8 provides quota tracking with configurable time units (minute, hour, day, week, month), intervals, and start times. Uses the 'volos-quota-common' programming interface. Supports concurrency via Redis atomic operations. Note: This package is part of the deprecated Apigee Volos ecosystem; not actively maintained.
npm install volos-quota-redisNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initializes a daily quota of 10 requests per user using Redis and applies a single request.
Migrate to a supported quota management solution such as express-rate-limit or ratelimiter.
Run `npm install redis` as a runtime dependency.
Do not include 'startTime' when timeUnit is 'month'.
Wrap in a Promise manually if needed.
Test with your Node version or consider replacement.
npm install redis
const quotaModule = require('volos-quota-redis'); const quota = quotaModule.create({...});const quota = quotaModule.create({...}); quota.apply(...);