lighthouse-security-audit
Version:
Security measures using lighthouse
24 lines (17 loc) • 528 B
Markdown
`npm install -g lighthouse-security-audit`
`lighthouse-security-audit <url> --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.
```javascript
const run = require("lighthouse-security-audit");
(async () => {
const results = await run(url,flags);
console.log(results);
})();
```
`lighthouse-security` package.