Parses the accept-language header, and returns the most appropriate supported language
parseAcceptLanguage('zh_tw;q=0.9, en;q=0.8', ['en', 'zh_tw']) // => 'zh_tw'
Adds https://
at the beginning of a URL if it isn't already there
Returns the bearer token found in the headers, or null
Generated using TypeDoc
A few Koa helper function/middlewares