Runs the default Google Lighthouse tests with additional security tests
Runs the default Google Lighthouse tests with additional security tests
Runs the default Google Lighthouse tests with additional security tests.
npm install -g lighthouse-securityRun the command from CLI like displayed below. The options are the same as for the default Lighthouse CLI options.
lighthouse-security [options]To run security audits only, use the --security flag:
lighthouse-security --security [options]The extension can also be used within your code. A short example is given below. To render reports etc. it is recommended to import functionality from Lighthouse.
const runLighthouse = require('lighthouse-security')
runLighthouse(url, flags)
.then(results => console.log(results))Alternatively you can import just the lighthouse-security configuration and use it in your own runner:
…Contributions are always welcome. See CONTRIBUTING.md for guidelines and development scripts.
No open issues yet, or sync has not completed.