npm.io
0.2.0 • Published 8 years ago

nightharbor-file-reporter

Licence
MIT
Version
0.2.0
Deps
1
Size
8 kB
Vulns
0
Weekly
0

nightharbor-file-reporter

CircleCI sonarcloud badge Greenkeeper badge

A nightharbor reporter for local file.

$ npm install --save nightharbor nightharbor-file-reporter

report by json and csv

import {CsvReporter, JsonReporter} from "nightharbor/reporter";
const reporter = new JsonReporter("/path/to/output.json");

export default {
  ...,
  reporters: [
    new CsvReporter("/path/to/output.csv"),
    new JsonReporter("/path/to/output.json")
  ],
  ...
}

Keywords