Skip to content

Commit ffaa054

Browse files
committed
feat(parse): clarify from usage count (fix #151)
1 parent 79bd341 commit ffaa054

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/md/parse/options.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ All options are optional. The options from the [Node.js Stream Writable](https:/
4646
Set the escape character as one character/byte only. It only applies to quote and escape characters inside quoted fields and it defaults to `"` (double quote).
4747
- [`from`](/parse/options/from/) (number)
4848
_Since version 1.2.0_
49-
Start handling records from a requested number of records. Count is 1-based, for example, provides `1` (and not `0`) to emit first record.
49+
The `from` option handles records starting from a requested number of records. Count is 1-based, for example, provides `2` (and not `1`) to omit first record and emit the second record.
5050
- [`from_line`](/parse/options/from_line/) (number)
5151
_Since version 4.0.0_
5252
Start handling records from a requested line number.

src/md/parse/options/from.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ keywords: ['csv', 'parse', 'options', 'from', 'count', 'records', 'info']
77

88
# Option `from`
99

10-
The `from` option handles records starting from a requested number of records. Count is 1-based, for example, provides 1 (and not 0) to emit first record.
10+
The `from` option handles records starting from a requested number of records. Count is 1-based, for example, provides `2` (and not `1`) to omit first record and emit the second record.
1111

1212
- Type: `number`
1313
- Coercion: `string` to `number`

0 commit comments

Comments
 (0)