csvtojson
Version:
A tool concentrating on converting csv data to JSON with customised parser supporting
11 lines (9 loc) • 344 B
text/typescript
import { TransformOptions } from "stream";
import { CSVParseParam } from "./Parameters";
import { Converter } from "./Converter";
const helper = function (param?: Partial<CSVParseParam>, options?: TransformOptions): Converter {
return new Converter(param, options);
}
helper["csv"] = helper;
helper["Converter"] = Converter;
export =helper;