The delimiter character used in the DSV file to be fetched.
A valid URL string.
Optional
init: RequestInitAn optional request initialization object.
Fetches the DSV file with the specified delimiter character at the specified input URL and returns a promise of an array of objects representing the parsed rows.
The specified row conversion function is used to map and filter row objects to a more-specific representation; see dsv.parse for details.
The first generic parameter describes the type of the object representation of a parsed row. The second generic parameter describes the column names as a union of string literal types.
The delimiter character used in the DSV file to be fetched.
A valid URL string.
A row conversion function which is invoked for each row, being passed an object representing the current row (d), the index (i) starting at zero for the first non-header row, and the array of column names. If the returned value is null or undefined, the row is skipped and will be omitted from the array returned by dsv.parse; otherwise, the returned value defines the corresponding row object. In effect, row is similar to applying a map and filter operator to the returned rows.
Fetches the DSV file with the specified delimiter character at the specified input URL and returns a promise of an array of objects representing the parsed rows.
The init object is passed along to the underlying call to fetch.
The specified row conversion function is used to map and filter row objects to a more-specific representation; see dsv.parse for details.
The first generic parameter describes the type of the object representation of a parsed row. The second generic parameter describes the column names as a union of string literal types.
The delimiter character used in the DSV file to be fetched.
A valid URL string.
An request initialization object.
A row conversion function which is invoked for each row, being passed an object representing the current row (d), the index (i) starting at zero for the first non-header row, and the array of column names. If the returned value is null or undefined, the row is skipped and will be omitted from the array returned by dsv.parse; otherwise, the returned value defines the corresponding row object. In effect, row is similar to applying a map and filter operator to the returned rows.
Fetches the DSV file with the specified delimiter character at the specified input URL and returns a promise of an array of objects representing the parsed rows. The values of the properties of the parsed row objects are represented as strings.
If init is specified, it is passed along to the underlying call to fetch.
The generic parameter describes the column names as a union of string literal types.