Skip to content

Commit d9cd1ec

Browse files
authored
Merge pull request #280 from perryh/perryh/fix-parse-string
Update reference from fromString to parseString in docs
2 parents 3deb16b + f6eeb06 commit d9cd1ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/parsing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ const CSV_STRING = [
155155
].join(EOL);
156156

157157
csv
158-
.fromString(CSV_STRING, { headers: true })
158+
.parseString(CSV_STRING, { headers: true })
159159
.on('error', error => console.error(error))
160160
.on('data', row => console.log(row))
161161
.on('end', rowCount => console.log(`Parsed ${rowCount} rows`));

0 commit comments

Comments
 (0)