re-implement http server with web apis
Describe the feature
Just wondering of the issue title. I noticed that Astro is using unstorage but doesn't use its HTTP server feature, which depends on h3 that's medium-ish in size.
Alternatively perhaps there's a way to simplify the HTTP server support without bringing in many dependencies?
Additional information
- [ ] Would you be willing to help implement this feature?
Thanks for creating the issue. Yes probably for v2 we should migrate to simply Request => Response handler (and support node.js via srvx as optional peer dep.
I plan to do this ecosystem-wiede refactor as soon as have little more bandwidth (after h3 v2 release which also will go this direction)
(alternatively we can make h3 v2 -- which has less deps an optional peer dependency -- depends on how it goes I should investigate)
v2 will be zero dep: https://github.com/unjs/unstorage/releases/tag/v2.0.0-alpha.2