Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Support helmet.defaults() as middleware, fixes #13 #29
Here's a simple way to support both the old and more conventional middleware-like usage of
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?