0.2.1 • Published 3 years ago

security-headers v0.2.1

Weekly downloads
3
License
MIT
Repository
github
Last release
3 years ago

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>
0.2.1

3 years ago

0.2.0

7 years ago

0.1.0

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago