The HTML reporter is included in the main jscpd package, or install separately:
npm install @jscpd/html-reporter
jscpd --reporters html ./src
The HTML reporter generates an interactive report at ./report/html/index.html by default.
The report includes:
{
"reporters": ["html"],
"output": "./jscpd-report"
}
The report will be generated at ./jscpd-report/html/index.html.