Novagate is a flexible and fast API key middleware system for Node.js apps.
It provides authentication, usage limits, burst protection, suspension, logging, and analytics.
| Feature | Description |
|---|---|
| π Secure API Key Auth | SHA-256 hashing + timing-safe comparisons |
| π Usage Tracking | Track all requests, even blocked ones |
| π Daily Limits | Define per-key daily quota |
| β‘ Burst Limit | Protect against short-term spikes |
| π Auto Suspension | Ban abusive keys automatically |
| π Logging | Capture latency + status + endpoint |
| π Framework Agnostic | Works with HTTP, Express, Fastify, Hono, etc. |
| π Pluggable Storage | Use MongoDB, Redis, SQL, Key-Value, etc. |
npm install novagate
Please Check /examples folder for usage examples.