You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
root 1c78566f5b initial 5 years ago
..
dist initial 5 years ago
CHANGELOG.md initial 5 years ago
LICENSE initial 5 years ago
README.md initial 5 years ago
package.json initial 5 years ago

README.md

Expect-CT

Build Status

The Expect-CT HTTP header tells browsers to expect Certificate Transparency. For more, see this blog post and the article on MDN.

Usage:

const expectCt = require('expect-ct')

// Sets Expect-CT: max-age=123
app.use(expectCt({ maxAge: 123 }))

// Sets Expect-CT: enforce, max-age=123
app.use(expectCt({
  enforce: true,
  maxAge: 123
}))

// Sets Expect-CT: enforce, max-age=30, report-uri="https://example.com/report"
app.use(expectCt({
  enforce: true,
  maxAge: 30,
  reportUri: 'https://example.com/report'
}))