npm.io
0.1.0 • Published 8 years ago

nightharbor-file-loader

Licence
MIT
Version
0.1.0
Deps
2
Size
5 kB
Vulns
0
Weekly
0

nightharbor-file-loader

CircleCI sonarcloud badge Greenkeeper badge

A nightharbor loader for local file.

$ npm install --save nightharbor nightharbor-file-loader

load targets from json and csv

import {CsvLoader, JsonLoader} from "nightharbor-file-loader";

export default {
  ...,
  loaders: [
    new CsvLoader(["/path/to/targets.csv"]),
    new JsonLoader(["/path/to/targets.json"])
  ],
  ...
}

Keywords