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