backendstack21

backendstack21/middleware-if-unless

Invokes connect-like middleware if / unless routing criteria matches. Inspired on express-unless module.

JavaScript
4
0
MIT License

`middleware-if-unless` is a lightweight Node.js library that conditionally executes connect-style middleware based on route matching criteria, supporting both `iff` (run only if matched) and `unless` (run unless matched) patterns. It leverages the fast `find-my-way` router for efficient path and method matching, making it ideal for developers building API gateways or microservices who need fine-grained middleware control with minimal

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies

Support the repos that depend on this repository

Top contributors

jkyberneees's profile
jkyberneees
46 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet