feat(rate-limit): declare the package and the runtimes it claims
No workerd: the default store counts per isolate, and an edge deployment has many, so the limit it would enforce is not the one configured. The README says so rather than leaving someone to find out. Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
This commit is contained in:
5 files changed
+101
-1
No files matched your search
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"name": "@green-tea/rate-limit",
|
||||
"version": "26.9.0-beta.0",
|
||||
"private": true,
|
||||
"description": "A per-request rate limiter published into the green-tea graph, with a branded 429 and a swept in-memory store.",
|
||||
"license": "MIT",
|
||||
"author": "green-tea contributors <projects@expressive-tea.io>",
|
||||
"type": "module",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/Expressive-Tea/green-tea-plugins.git",
|
||||
"directory": "packages/rate-limit"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=22",
|
||||
"deno": ">=2",
|
||||
"bun": ">=1.3"
|
||||
},
|
||||
"exports": {
|
||||
".": "./src/index.ts"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@green-tea/core": "26.9.0-beta.2"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user