Skip to content

Commit 0282e2c

Browse files
committed
fixing api gateway ref
1 parent 49cb6a0 commit 0282e2c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
# middleware-if-unless
22
Invokes connect-like middleware if / unless routing criteria matches. Inspired on [express-unless](https://www.npmjs.com/package/express-unless) module.
3+
>
34
45
## Main features
56
- Advanced routes matching capabilities. Uses [find-my-way](https://www.npmjs.com/package/find-my-way) or any compatible router to match the routes.
6-
- `iff`: execute middleware only if the routes matches. Ideal use case: API gateways (see: [k-fastify-gateway](https://www.npmjs.com/package/k-fastify-gateway))
7+
- `iff`: execute middleware only if the routes matches. Ideal use case: API gateways (see: [fast-gateway](https://www.npmjs.com/package/fast-gateway))
78
- `unless`: execute middleware always unless the routes matches.
89
- Arbitraty chaining of iff -> unless of vice-versa.
910
- Low overhead, crazy fast implementation.

0 commit comments

Comments
 (0)