Support helmet.defaults() as middleware, fixes #13
Support helmet.defaults() as middleware, fixes #13

Here's a simple way to support both the old and more conventional middleware-like usage of `helmet.defaults()`.

NOTE: there's one caveat in that the user *must* be using (i.e. have installed) either 'express' or 'connect' themselves but that seemed a reasonable enough assumption, eh?
seegno-forks/koa-helmet,helmetjs/helmet,venables/koa-helmet,helmetjs/helmet