csv
Version:
CSV parser with simple api, full of options and tested against large datasets.
38 lines (31 loc) • 717 B
text/coffeescript
###
Input and output options
========================
The `options` property provide access to the `from` and `to` object used to store options. This
property is for internal usage and could be considered private. It is recommanded to use
the `from.options()` and `to.options()` to access those objects.
###
module.exports = ->
from:
delimiter: ','
quote: '"'
escape: '"'
columns: null
flags: 'r'
encoding: 'utf8'
trim: false
ltrim: false
rtrim: false
to:
delimiter: null
quote: null
quoted: false
escape: null
columns: null
header: false
lineBreaks: null
flags: 'w'
encoding: 'utf8'
newColumns: false
end: true
eof: false