evilpacket/helmet — pull request #29 by natevw (2014-01-28 19:31:46+00:00)
Title: 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?