chrnx 14ed9c38be feat(rate-limit): carry the error brand instead of extending core
The original extended core's HttpError, which is a value import and makes the
published plugin need core at run time. The brand is a registry-wide symbol, so
core renders the 429 without this package depending on it, and it survives two
copies of core in one tree where instanceof would not.

The fields asserted here are exactly the ones HttpErrorLike declares. That core
really renders them is proven end to end in the limiter's own tests, which read
a 429 and its Retry-After back out of app.fetch.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-09-18 13:18:49 -05:00

green-tea plugins

Official plugins for green-tea. Each one is its own package under packages/, published to npm and JSR, and each README says which runtimes it supports and why not the others.

Package What it does
@green-tea/jwt Loads signing keys at boot and publishes a sign/verify registry

Plugins import core as types only, so installing one never pulls a second copy of core — and never warns about a version range, which under CalVer no range can express.

S
Description
Official plugins for green-tea. Each package imports core as types only — installing one never pulls a second copy of the framework — and declares which runtimes it supports.
Readme MIT
470 KiB
0 Stars 3 Watchers 0 Forks
Languages
TypeScript 80.3%
JavaScript 18.9%
Shell 0.8%