0.1.0 • Published 6 years ago
nightharbor-file-loader v0.1.0
nightharbor-file-loader
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"])
],
...
}
0.1.0
6 years ago