nightharbor-s3-reporter
v0.2.0
Published
nightharbor reporter for aws s3
Downloads
1
Readme
nightharbor-s3-reporter
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")
]
...
}