UNPKG

902 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3var csv_stringifier_factory_1 = require("./lib/csv-stringifier-factory");
4var csv_writer_factory_1 = require("./lib/csv-writer-factory");
5var csvStringifierFactory = new csv_stringifier_factory_1.CsvStringifierFactory();
6var csvWriterFactory = new csv_writer_factory_1.CsvWriterFactory(csvStringifierFactory);
7exports.createArrayCsvStringifier = function (params) {
8 return csvStringifierFactory.createArrayCsvStringifier(params);
9};
10exports.createObjectCsvStringifier = function (params) {
11 return csvStringifierFactory.createObjectCsvStringifier(params);
12};
13exports.createArrayCsvWriter = function (params) {
14 return csvWriterFactory.createArrayCsvWriter(params);
15};
16exports.createObjectCsvWriter = function (params) {
17 return csvWriterFactory.createObjectCsvWriter(params);
18};
19//# sourceMappingURL=index.js.map
\No newline at end of file