Example of using Koa middleware for Palo package loading system