jfromaniello / express-unless

Conditionally add a middleware to express with some common patterns
MIT License
178 stars 27 forks source link

Update express-unless with new types #41

Closed sylhare closed 2 months ago

sylhare commented 1 year ago

Hello @jfromaniello,

Here is a proposition to refresh the project in typescript, I have:

I was thinking Params could be named UnlessOptions but didn't want to make a breaking change there.

Let me know what you think

All tests are passing: image