Licence
Apache-2.0
Version
1.2.2
Deps
3
Size
18 kB
Vulns
1
Weekly
0
Lighthouse Security Audits
##Installation
npm install -g lighthouse-security-audit
##Run from CLI
lighthouse-security-audit <url> --options
Use in code
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 run = require("lighthouse-security-audit");
(async () => {
const results = await run(url,flags);
console.log(results);
})();
Reference
lighthouse-security package.