An open API service indexing awesome lists of open source software.

https://github.com/paragdiwan/lighthouse-security-audit

Security Audit using lighthouse
https://github.com/paragdiwan/lighthouse-security-audit

Last synced: about 1 month ago
JSON representation

Security Audit using lighthouse

Awesome Lists containing this project

README

          

# Lighthouse Security Audits

## Installation

```sh
npm install -g lighthouse-security-audit
```

## Run from CLI

```sh
`lighthouse-security-audit --options`
```

## Screenshot

![Sample](https://github.com/paragdiwan/GitTutorial/raw/master/Screenshot%202020-09-13%20at%206.01.40%20PM.png)

## Programmatially

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);
})();
```

## Reference

`lighthouse-security` package.