Vercel Functions running on the Node.js runtime now support the fetch
web handlers, improving interoperability across JavaScript runtimes and frameworks.
You can still export individual HTTP methods, if preferred.
Learn more about fetch web handlers in the docs.