Echo JS 0.11.0

<~>
tracker1 2044 days ago. link 2 points
Interesting idea... would be cool to have something like this as a mountable koa module for API access integration.

Replies

anywhichway 2037 days ago. link 2 points
Hi traker1!

v0.0.6a ALPHA now supports turning Express or Koa apps into function oriented servers. Just one require and one line of code on the surface, fosify(app), only 10 internally.

Note we do make very isolated direct use of the Node Response object which is counter to Koa docs, but in our small test case, things seem to be OK.

Kind of frustrating that Koa does not provide more API compatibility with the underlying Request and Response objects. Will re-work our internal code over time remain isomorphic but not break Koa rules.