0.2.0 • Published 6 years ago

nightharbor-s3-reporter v0.2.0

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

nightharbor-s3-reporter

CircleCI sonarcloud badge Greenkeeper badge

A nightharbor reporter for AWS S3.

$ npm install --save aws-sdk nightharbor nightharbor-s3-reporter

report by json and csv

import {S3CsvReporter,S3JsonReporter} from "nightharbor-s3-reporter";
import AWS from "aws-sdk";
AWS.config.update({/** your configuration */});
const s3 = new AWS.S3();

export default {
  ...,
  reporters: [
    new S3JsonReporter(s3, "bucket name", "/path/to/output.json"),
    new S3CsvReporter(s3, "bucket name", "/path/to/output.csv")
  ]
  ...
}