lib/etcsv.js
Function CSV
has 86 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var CSV = (function () {
function CSV(filePath, charset) {
var absPath = path.resolve(path.join(baseDir, filePath));
var text = fs.readFileSync(absPath);
var conv;
Function _parse
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
CSV.prototype._parse = function () {
var text = this.text;
var current;
var next;
var field = '';