upgradeExpress

Upgrade Express vals to the Web API without breaking existing consumers

How it works

upgradeExpress wraps a Web handler into a function that works as normal when called by the Web API, and redirects to the Web API when called by the Express API.

Example

I don't have an example for this per se but I used it to upgrade @easrng/button.