Skip to content

query securityheaders.io and get the results in JSON

Notifications You must be signed in to change notification settings

simonhughes/security-headers

 
 

Repository files navigation

security-headers

Query securityheaders.io.

All credit goes to Scott Helme who created the service. If this is useful to you then please consider donating, you can find more information about that over at https://securityheaders.io/about/.

usage

const headers = require(`security-headers`)

headers(`google.com`)
.then(result => console.log(
  `Missing headers: ${result.missingHeaders}`
))
.catch(console.log)

api

headers(url[, followRedirects, hide])

  • url - <String>
  • followRedirects - <Boolean>
  • hide - <Boolean>

About

query securityheaders.io and get the results in JSON

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%