Permalink
Browse files

Merge pull request #11 from davidmarkclements/patch-1

escapechar should be escape in Readme.MD, see _setOptions.
  • Loading branch information...
2 parents c5f93d2 + d65d735 commit 4003570bc2c3395c2ed22bbd14d1e8406083dfc9 @koles committed Feb 26, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.md
View
@@ -33,7 +33,7 @@ Echo first column of the `data.csv` file:
var reader = csv.createCsvFileReader('data.csv', {
'separator': ',',
'quote': '"',
- 'escapechar': '"',
+ 'escape': '"',
'comment': '',
});
var writer = new csv.CsvWriter(process.stdout);
@@ -64,7 +64,7 @@ Convert the `/etc/passwd` file to comma separated format, drop commented lines a
var reader = csv.createCsvFileReader('/etc/passwd', {
'separator': ':',
'quote': '"',
- 'escapechar': '"',
+ 'escape': '"',
'comment': '#',
});
var writer = new csv.CsvWriter(process.stdout);

0 comments on commit 4003570

Please sign in to comment.