Closed AlayKharadi closed 1 year ago
Hi @AlayKharadi
Since the launch of NPM support in Deno this lib has gone into to “maintenance mode” where I’m not looking to evolve the API any further. I would suggest looking to use Express itself over this library in future.
You’re correct in that res.write()
is not available - this is actually an API on the Node response object rather than something Express introduces, and isn’t something that was implemented for Opine.
If you’re open to submitting a PR then happy to review.
res.send()
does support a Deno.Reader
or ReadableStream
, not sure if you might be able to workaround using these?
https://cmorten.github.io/opine/modules/_types_.html#denoresponsebody
Issue
Setup:
Details