Mandrake loads middlewares conditionally, and it provides two options and DSL for setting conditions
namusyaka
MIT