Skip to content

Commit

Permalink
Document options
Browse files Browse the repository at this point in the history
  • Loading branch information
JuanIrache authored Jun 10, 2022
1 parent f698c15 commit 0d3d648
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,15 @@ var x = {

For more examples have a look at our [test suite](test.ts).

Options
------------------------------------------------------------------------------

A second options argument can be passed. The **lenient** option allows parsing to proceed even if some errors are found.

```js
let result = IGCParser.parse(fs.readFileSync('1G_77fv6m71.igc', 'utf8'), { lenient: true });
```


Similar work
------------------------------------------------------------------------------
Expand Down

0 comments on commit 0d3d648

Please sign in to comment.