Skip to content

ergo

v0.1.0 Node.js ≥ 22 Pure ESM
Terminal window
npm install ergo
MiddlewareImportStageRFC
Content negotiationergo/http/acceptsNegotiationRFC 9110 §12.5
Authorizationergo/http/authorizationAuthorizationRFC 6750, RFC 7617
Body parsingergo/http/bodyValidationRFC 7578
JSON Schema validationergo/http/validateValidation
Query parsingergo/http/json-api-queryValidationJSON:API
Response sendingergo/http/sendExecutionRFC 9457
MiddlewareImportRFC
CORSergo/http/corsFetch Standard
CSRF protectionergo/http/csrfOWASP
Cookiesergo/http/cookieRFC 6265
Compressionergo/http/compressRFC 9110 §12.5.3
Cache controlergo/http/cache-controlRFC 9111
Conditional requestsergo/http/preconditionRFC 6585 §3
Prefer headerergo/http/preferRFC 7240
Rate limitingergo/http/rate-limitRFC 6585 §4
Security headersergo/http/security-headersRFC 6797
Timeoutergo/http/timeout
Loggingergo/http/logger
ModuleImport
HTTP error creationergo/utils/http-errors
Compose middlewareergo/utils/compose
Async iterablesergo/utils/iterables
Observable helpersergo/utils/observables
Stream utilitiesergo/utils/streams
Buffer matchingergo/utils/buffers