This middleware depends on koa(peer) and consolidate(direct), which requires a peer templating engine dependency (eg, if I use koa-hotwire, I need to install something like ejs or hogan). This is necessary because the tests create a real Koa server and call consolidate with a real templating engine. While this is nice because the tests are more representative of real world usage, it imposes the burden on consumers of the package, because installing this middleware also installs hogan/koa on a development environment which is unnecessary.
It's not a huge deal since it's just 2 packages both of which are pretty light, but it would be nice to not list them as dependencies in any way (particularly hogan).
This middleware depends on koa(peer) and consolidate(direct), which requires a peer templating engine dependency (eg, if I use koa-hotwire, I need to install something like ejs or hogan). This is necessary because the tests create a real Koa server and call consolidate with a real templating engine. While this is nice because the tests are more representative of real world usage, it imposes the burden on consumers of the package, because installing this middleware also installs hogan/koa on a development environment which is unnecessary.
It's not a huge deal since it's just 2 packages both of which are pretty light, but it would be nice to not list them as dependencies in any way (particularly hogan).