mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-08 15:25:01 -04:00
Added Parsing to and from CSV
This commit is contained in:
parent
2f5b0533d8
commit
e069ae4991
6 changed files with 230 additions and 2 deletions
21
src/core/config/modules/CSVParser.js
Normal file
21
src/core/config/modules/CSVParser.js
Normal 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;
|
Loading…
Add table
Add a link
Reference in a new issue