combine library
Functions
-
every(
Middleware first, Middleware second, [Middleware? third, Middleware? fourth, Middleware? fifth]) → Middleware -
Runs all middlewares in sequence and proceeds only when every one of
them passes (calls
next()). -
except(
Object condition, Middleware middleware) → Middleware -
Skips
middleware(callsnext()directly) wheneverconditionmatches the current request; otherwise runsmiddlewarenormally. -
some(
Middleware first, Middleware second, [Middleware? third, Middleware? fourth, Middleware? fifth]) → Middleware -
Runs each middleware in order and short-circuits on the first one that
passes (i.e. calls
next()).