-
Notifications
You must be signed in to change notification settings - Fork 272
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix #128 ; add done event& hooks; removed parserMgr and parser; upda…
…ted readme; use lodash.set now
- Loading branch information
Showing
18 changed files
with
602 additions
and
301 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
var csvline=require("./csvline"); | ||
/** | ||
* Convert data chunk to csv lines with cols | ||
* @param {[type]} data [description] | ||
* @param {[type]} params [description] | ||
* @return {[type]} {lines:[[col1,col2,col3]],partial:String} | ||
*/ | ||
module.exports=function(fileLine,params){ | ||
var lines=fileLine.lines; | ||
var csvLines=csvline(lines,params); | ||
return { | ||
lines:csvLines.lines, | ||
partial:csvLines.partial+fileLine.partial | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.