Skip to content

Commit

Permalink
Meta tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Jul 7, 2019
1 parent ea80e37 commit 6a21752
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
language: node_js
node_js:
- '12'
- '10'
- '8'
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Fast CSV parser.
Convenience wrapper around the super-fast streaming [`csv-parser`](https://github.com/mafintosh/csv-parser) module. Use that one if you want streamed parsing.
@param data - CSV data to parse.
@param options - See the `csv-parser` [options](https://github.com/mafintosh/csv-parser#options).
@param options - See the [`csv-parser` options](https://github.com/mafintosh/csv-parser#options).
@example
```
Expand Down
9 changes: 2 additions & 7 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const csv = 'type,part\nunicorn,horn\nrainbow,pink';

## API

### neatCsv(data, [options])
### neatCsv(data, options?)

Returns a `Promise<object[]>` with the parsed CSV.

Expand All @@ -42,9 +42,4 @@ CSV data to parse.

Type: `object`

See the `csv-parser` [options](https://github.com/mafintosh/csv-parser#options).


## License

MIT © [Sindre Sorhus](https://sindresorhus.com)
See the [`csv-parser` options](https://github.com/mafintosh/csv-parser#options).

0 comments on commit 6a21752

Please sign in to comment.