Skip to content

Commit 41a3325

Browse files
authored
fixed small errors (#1)
1 parent 6e6bd72 commit 41a3325

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

readme.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
`csvtojson` module is a comprehensive nodejs csv parser to convert csv to json or column arrays. It can be used as node.js library / command line tool / or in browser. Below are some features:
99

10-
* Strictly follow CSV definition [RF4180](https://www.loc.gov/preservation/digital/formats/fdd/fdd000323.shtml)
10+
* Strictly follow CSV definition [RFC4180](https://www.loc.gov/preservation/digital/formats/fdd/fdd000323.shtml)
1111
* Work with millions of lines of CSV data
1212
* Provide comprehensive parsing parameters
1313
* Provide out of box CSV parsing tool for Command Line
@@ -342,7 +342,7 @@ the hook -- `preRawData` will be called with csv string passed to parser.
342342

343343
```js
344344
const csv=require('csvtojson')
345-
// synchronouse
345+
// synchronous
346346
csv()
347347
.preRawData((csvRawData)=>{
348348
var newData=csvRawData.replace('some value','another value');
@@ -366,7 +366,7 @@ The function is called each time a file line has been parsed in csv stream. The
366366

367367
```js
368368
const csv=require('csvtojson')
369-
// synchronouse
369+
// synchronous
370370
csv()
371371
.preFileLine((fileLineString, lineIdx)=>{
372372
if (lineIdx === 2){
@@ -529,7 +529,7 @@ There are currently following built-in parser:
529529
* number: Convert value to number
530530
* omit: omit the whole column
531531

532-
This will override types infered from `checkType:true` parameter. More built-in parsers will be added as requested in [issues page](https://github.com/Keyang/node-csvtojson/issues).
532+
This will override types inferred from `checkType:true` parameter. More built-in parsers will be added as requested in [issues page](https://github.com/Keyang/node-csvtojson/issues).
533533

534534
Example:
535535

0 commit comments

Comments
 (0)