File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " csv-rex" ,
3- "version" : " 0.4.0 " ,
3+ "version" : " 0.4.1 " ,
44 "description" : " A tiny and fast CSV parser for JavaScript." ,
55 "type" : " module" ,
66 "files" : [
Original file line number Diff line number Diff line change 11// chunkSize >> largest expected row
22const defaultOptions = {
33 header : true , // false: return array; true: detect headers and return json; [...]: use defined headers and return json
4- newlineChar : '\r\n' , // undefined : detect newline from file ; '\r\n': Windows; '\n': Linux/Mac
5- delimiterChar : '' ,
4+ newlineChar : '\r\n' , // '' : detect newline from chunk ; '\r\n': Windows; '\n': Linux/Mac
5+ delimiterChar : ',' , // '': detect delimiter from chunk
66 // quoteChar: '"',
77 // escapeChar: '"', // default: `quoteChar`
88
Original file line number Diff line number Diff line change 11// chunkSize >> largest expected row
22const defaultOptions = {
33 header : true , // false: return array; true: detect headers and return json; [...]: use defined headers and return json
4- newlineChar : '\r\n ' , // undefined : detect newline from file ; '\r\n': Windows; '\n': Linux/Mac
5- delimiterChar : '' ,
4+ newlineChar : '' , // '' : detect newline from chunk ; '\r\n': Windows; '\n': Linux/Mac
5+ delimiterChar : '' , // '': detect delimiter from chunk
66 quoteChar : '"' ,
77 // escapeChar: '"', // default: `quoteChar`
88
You can’t perform that action at this time.
0 commit comments