hapi-hpkp
Inspired by Helmetjs, this is a Hapi module to add HPKP headers to all requests.
Example
var hpkp = var Hapi = var hpkpOptions = maxAge: 1 // In seconds sha256s: "orlando=" "magic=" // Array of sha256 includeSubdomains: true // optional reportUri: 'http://test.site' // optional reportOnly: false // optional var server = // Register HPKP pluginasync { try await server catcherr console }