All Projects → voorhoede → Lighthouse Security

voorhoede / Lighthouse Security

Licence: apache-2.0
Runs the default Google Lighthouse tests with additional security tests

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Lighthouse Security

Lighthouse Batch
Run Lighthouse analysis over multiple sites in a single command
Stars: ✭ 83 (-56.32%)
Mutual labels:  audit, developer-tools, lighthouse
Wordup Cli
Wordup is a fully integrated development platform for WordPress. Develop plugins and themes locally. Preview in the cloud. Automatic updates in WP.
Stars: ✭ 116 (-38.95%)
Mutual labels:  cli, developer-tools
Appstoreconnect Cli
An easy to use command-line tool for interacting with the Apple AppStore Connect API
Stars: ✭ 110 (-42.11%)
Mutual labels:  cli, developer-tools
Dksnap
Docker Snapshots for Development and Test Data
Stars: ✭ 122 (-35.79%)
Mutual labels:  cli, developer-tools
Toc
🚩 TOC, zero configuration table of content generator for Markdown files, create table of contents from any Markdown file with ease.
Stars: ✭ 66 (-65.26%)
Mutual labels:  cli, developer-tools
Run
⚡The resource runtime
Stars: ✭ 90 (-52.63%)
Mutual labels:  cli, developer-tools
Carvel Kwt
Kubernetes Workstation Tools CLI
Stars: ✭ 119 (-37.37%)
Mutual labels:  cli, developer-tools
Publisher Ads Lighthouse Plugin
Publisher Ads Lighthouse Plugin is a tool to improve ad speed and overall quality through a series of automated audits. This tool will aid in resolving discovered problems, providing a tool to be used to evaluate effectiveness of iterative changes while suggesting actionable feedback.
Stars: ✭ 58 (-69.47%)
Mutual labels:  audit, lighthouse
Grmon
Command line monitoring for goroutines
Stars: ✭ 1,703 (+796.32%)
Mutual labels:  cli, developer-tools
Check It Out
A command line interface for Git Checkout. See branches available for checkout.
Stars: ✭ 127 (-33.16%)
Mutual labels:  cli, developer-tools
Lighthouse Badge
Lighthouse score badge
Stars: ✭ 137 (-27.89%)
Mutual labels:  audit, lighthouse
Xxv
The XXV visual hex viewer for the terminal.
Stars: ✭ 61 (-67.89%)
Mutual labels:  cli, developer-tools
Devspace
DevSpace - The Fastest Developer Tool for Kubernetes ⚡ Automate your deployment workflow with DevSpace and develop software directly inside Kubernetes.
Stars: ✭ 2,559 (+1246.84%)
Mutual labels:  cli, developer-tools
Shtab
↔️ Automagic shell tab completion for Python CLI applications
Stars: ✭ 99 (-47.89%)
Mutual labels:  cli, developer-tools
Wago
Automate the actions you do after saving code.
Stars: ✭ 60 (-68.42%)
Mutual labels:  cli, developer-tools
Nanobox
The ideal platform for developers
Stars: ✭ 1,530 (+705.26%)
Mutual labels:  cli, developer-tools
Influx Prompt
An interactive command-line InfluxDB cli with auto completion.
Stars: ✭ 42 (-77.89%)
Mutual labels:  cli, developer-tools
Http Prompt
An interactive command-line HTTP and API testing client built on top of HTTPie featuring autocomplete, syntax highlighting, and more. https://twitter.com/httpie
Stars: ✭ 8,329 (+4283.68%)
Mutual labels:  cli, developer-tools
Gitless
A simple version control system built on top of Git
Stars: ✭ 1,660 (+773.68%)
Mutual labels:  cli, developer-tools
Tenderly Cli
CLI tool for Smart Contract error tracking, monitoring and alerting.
Stars: ✭ 138 (-27.37%)
Mutual labels:  cli, developer-tools

Lighthouse Security Linux Build Status Coverage Status npm lighthouse-security package

Runs the default Google Lighthouse tests with additional security tests.

Lighthouse Security metrics Lighthouse Security audits

Installation

npm install -g lighthouse-security

Run from CLI

Run the command from CLI like displayed below. The options are the same as for the default Lighthouse CLI options.

lighthouse-security <url> [options]

To run security audits only, use the --security flag:

lighthouse-security <url> --security [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 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:

const lighthouse = require('lighthouse')
const chromeLauncher = require('lighthouse/chrome-launcher')

// import one or more lighthouse configs:
const securityConfig = require('lighthouse-security/config')

// combine configs into one:
const config = Object.assign({},
  pageSecurityConfig,
  { extends: 'lighthouse:default' }
)

// run lighthouse as usual:
async function run(url, flags = {}) {
    const chrome = await chromeLauncher.launch()
    flags.port = chrome.port
    const results = await lighthouse(url, flags, config)
    const stopped = await chrome.kill()
    return results
}

Contributing

Contributions are always welcome. See CONTRIBUTING.md for guidelines and development scripts.

License

Apache 2.0 Licensed by De Voorhoede

↑ back to top

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].