@joint-ops/hitlimit 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +6 -6
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -16,7 +16,7 @@
16
16
 
17
17
  - **Blazing Fast** - 400,000+ ops/sec with memory store, ~7% HTTP overhead
18
18
  - **Zero Config** - Works out of the box with sensible defaults
19
- - **Tiny Footprint** - Only ~5KB minified, no bloat
19
+ - **Tiny Footprint** - Only ~7KB core, zero runtime dependencies
20
20
  - **Framework Agnostic** - Express, NestJS, Fastify, native HTTP
21
21
  - **Multiple Stores** - Memory, Redis, SQLite for distributed systems
22
22
  - **TypeScript First** - Full type safety and IntelliSense support
@@ -38,11 +38,11 @@ hitlimit is designed for speed. Here's how it performs:
38
38
 
39
39
  ### vs Competitors
40
40
 
41
- | Library | Memory (ops/s) | Bundle Size |
42
- |---------|----------------|-------------|
43
- | **hitlimit** | **400,000** | **~5KB** |
44
- | rate-limiter-flexible | 250,000 | ~45KB |
45
- | express-rate-limit | 180,000 | ~15KB |
41
+ | Library | Memory 10K IPs (ops/s) | Bundle Size |
42
+ |---------|------------------------|-------------|
43
+ | **hitlimit** | **2,320,000** | **~7KB** |
44
+ | rate-limiter-flexible | 1,630,000 | ~155KB |
45
+ | express-rate-limit | 1,220,000 | ~66KB |
46
46
 
47
47
  ### HTTP Overhead
48
48
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@joint-ops/hitlimit",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "Fast rate limiting middleware for Express, NestJS & Node.js - API throttling, brute force protection, request limiting",
5
5
  "author": {
6
6
  "name": "Shayan M Hussain",
@@ -119,7 +119,7 @@
119
119
  "test:watch": "vitest"
120
120
  },
121
121
  "dependencies": {
122
- "@joint-ops/hitlimit-types": "1.0.2"
122
+ "@joint-ops/hitlimit-types": "1.0.3"
123
123
  },
124
124
  "peerDependencies": {
125
125
  "@nestjs/common": ">=8.0.0",