@jscpd/html-reporter
html reporter for jscpd
Last updated 6 months ago by apk .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install @jscpd/html-reporter 
SYNC missed versions from official npm registry.

@jscpd/html-reporter

HTML reporter for jscpd — generates an interactive HTML report with per-format statistics, a duplication graph, and syntax-highlighted clone diff views.

Output directory: <output-dir>/html/
Entry point: <output-dir>/html/index.html
Raw data: <output-dir>/html/jscpd-report.json

Installation

npm install @jscpd/html-reporter

Usage

jscpd --reporters html --output ./reports /path/to/source

Then open ./reports/html/index.html in a browser.

Programmatic usage

import { IClone, IOptions, IStatistic } from '@jscpd/core';
import HtmlReporter from '@jscpd/html-reporter';

const options: IOptions = { output: './reports' };
const reporter = new HtmlReporter(options);

reporter.report(clones, statistic);
// writes ./reports/html/index.html and ./reports/html/jscpd-report.json

License

MIT © Andrey Kucherenko

Current Tags

  • 4.2.5                                ...           latest (6 months ago)
  • 4.0.0                                ...           rc (3 years ago)

30 Versions

  • 4.2.5                                ...           6 months ago
  • 4.2.4                                ...           6 months ago
  • 4.2.3                                ...           6 months ago
  • 4.2.2                                ...           6 months ago
  • 4.2.1                                ...           6 months ago
  • 4.2.0                                ...           6 months ago
  • 4.1.1                                ...           7 months ago
  • 4.1.0                                ...           7 months ago
  • 4.0.5                                ...           8 months ago
  • 4.0.4                                ...           10 months ago
  • 4.0.3                                ...           a year ago
  • 4.0.2                                ...           a year ago
  • 4.0.1                                ...           3 years ago
  • 4.0.0                                ...           3 years ago
  • 3.5.10                                ...           3 years ago
  • 3.5.9                                ...           4 years ago
  • 3.5.8                                ...           4 years ago
  • 3.5.6                                ...           4 years ago
  • 3.5.4                                ...           4 years ago
  • 3.5.3                                ...           4 years ago
  • 3.5.0                                ...           4 years ago
  • 3.4.5                                ...           5 years ago
  • 3.4.1                                ...           5 years ago
  • 3.3.26                                ...           6 years ago
  • 3.3.22                                ...           6 years ago
  • 3.3.20                                ...           6 years ago
  • 3.3.17                                ...           6 years ago
  • 3.3.15                                ...           6 years ago
  • 3.3.14                                ...           6 years ago
  • 3.3.11                                ...           6 years ago
Maintainers (1)
Downloads
Total 71
Today 0
This Week 0
This Month 42
Last Day 0
Last Week 5
Last Month 0
Dependencies (3)
Dev Dependencies (12)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE