lighthouse ecoIndex aggregator

this tools is the cli version of v1.0.0 this tools is used for aggragate reports lighthoure and reports ecoIndex in unique reports.

Options

--srcLighthouse

type: string

description:

options is used for defined lighthouse reports path

--srcEcoIndex

type: string

description:

options is used for defined ecoIndex reports path

-h

type: boolean

description:

options is used for see informations cli

--reports

type: string

description:

options is used for defined format reports after task unique value possible used is "html"

-v type: boolean

description:

options is used for verbose task

Example usage

node ./index.js  --srcLighthouse="C:\Workspace\reports\lighthouse" --srcEcoIndex="C:\Workspace\reports\ecoindex" --reports="html"

You can also used this module programmatically

const aggregate = require('lighthouse-eco-index-aggregator/src/main');

console.log(aggregate({
  srcLighthouse: './reports/lighthouse',
  srcEcoIndex: './reports/ecoindex'
}))