Added Parsing to and from CSV

This commit is contained in:
Vimal-Raghubir 2018-03-25 19:49:17 -04:00
parent 2f5b0533d8
commit e069ae4991
6 changed files with 230 additions and 2 deletions

View file

@ -0,0 +1,21 @@
import CSVParser from "../../operations/CSVParser.js";
/**
* CSVParser module.
*
* Libraries:
* - csv-string
*
* @author VimalRaghubir [vraghubir0418@gmail.com]
* @copyright Crown Copyright 2016
* @license Apache-2.0
*/
let OpModules = typeof self === "undefined" ? {} : self.OpModules || {};
OpModules.CSVParser = {
"Parse from CSV": CSVParser.csvToString,
"Parse to CSV": CSVParser.stringToCSV,
};
export default OpModules;